Monthly Archives: August 2014

Android and iOS version usage statistics

Interested in a hands-on tutorial in Titanium? Building Cross-Platform Apps using Titanium, Alloy, and Appcelerator Cloud Services

Not sure which Android version to use?

86% of Android users now use Ice Cream Sandwich or higher (that’s Android 4.0+) [1]

91% of users are now on iOS7 [2]

Here are the links to the full statistics and a couple of screengrabs.

[1] https://developer.android.com/about/dashboards/index.html?utm_source=ausdroid.net
[2] https://developer.apple.com/support/appstore/

Screen Shot 2014-08-21 at 9.51.32 AM 10599461_10204373170546311_9197676246289506262_n

TiDynamicGrid combined to read data from a blog

Interested in a hands-on tutorial in Titanium? Building Cross-Platform Apps using Titanium, Alloy, and Appcelerator Cloud Services

On the day of our TiAlloy training 2 days ago, a module was released called TiDynamicGrid (Gittio link) which lets you quickly create a dynamic grid of content in your app.

As a quick bonus for the attendees of our training, I did a quick, basic combination of both TiDynamicGrid and concepts from FokkeZB’s tutorial slides.  Works on iOS and Android.

The code should be pretty self explanatory for those who attended, it’s a very simple implementation but a good example of what you can do with Titanium in a very short space of time.

Any post that doesn’t have a Featured Image set in WordPress (which is most of them at time of writing :P) defaults to our company logo:

iOS:

Screen Shot 2014-08-11 at 7.37.06 AM

 

Android:

Screen Shot 2014-08-11 at 7.59.23 AM

 

Github repo: https://github.com/foolprooflabs/dynamicgridblog

Progressing from TiShadow Express

Interested in a hands-on tutorial in Titanium? Building Cross-Platform Apps using Titanium, Alloy, and Appcelerator Cloud Services

Building by adding “–shadow” to your build process is pretty cool if you’re building for one OS only but if you want to build to iOS and Android at the same time, you’ll need to go a little deeper.

This process requires there be a TiShadow App on your device already which will connect to the TiShadow server running on your machine.

Here we go:

1. Install TiShadow: $ npm install -g tishadow

2. Create a TiShadow Titanium app to be installed on your device [NB: this is totally unrelated to the application you’re building] $ mkdir ~/tishadowapp && tishadow app -d ~/tishadowapp

3. Install this app on your devices/simulators, e.g.:

$ cd tishadowapp 

$ ti build –p android 

$ ti build – ios

OK, now your TiShadow app should be installed on your devices/simulators.

4. Run the TiShadow server: $ tishadow server

5. Open your simulator/device and open the TiShadow App then type in the IP of your local machine. For me, on iOS “localhost” was enough but this wouldn’t work on GenyMotion and I had to type my actual IP which was “192.168.43.190”

OK, now your two simulators/devices are connected to your TiShadow server on your machine

6. Now, run either $ tishadow run OR $ tishadow @ run –update The second will watch for updates, the first will only push updates once.

This is the TLDR; version. For a detailed explanation of TiShadow, you can try this: http://olivalabs.com/2013/10/tishadow-for-titanium-development-part-2/

TiShadow Github URL: https://github.com/dbankier/TiShadow

TiShadow project homepage: http://tishadow.yydigital.com/

FREE Titanium Workshop Summary

Interested in a hands-on tutorial in Titanium? Building Cross-Platform Apps using Titanium, Alloy, and Appcelerator Cloud Services

Very educational and fun! Learned a whole new engine!”

It’s a super fantastic seminar where you can actually learn something new in less than a day.”

The workshop is awesome I learned a lot. Great jumpstart to learning Ti.”

Big thanks to all the attendees from today’s free workshop in Makati, Philippines…we had a great time and I think you all learned something quite valuable.

There’s still so much more about Titanium to learn about that we didn’t have time for but I think you all got a great introduction which should be enough to get you started exploring more about Titanium.

We’re planning more workshops in the future both on the same topic and some others that will go more in-depth on particular topics.

Thanks again to @FokkeZB for his work on the slides, they’re the reason for the great testimonials!

Here’s a pic of today’s attendees:10589982_10203753282766283_1987051079_n

Shame about the two who cancelled at the last minute and couldn’t make it today, bawi kayo next time!

Stay tuned for further updates and the schedule for the next workshop!

 

FREE Titanium Training Workshop August 9

Interested in a hands-on tutorial in Titanium? Building Cross-Platform Apps using Titanium, Alloy, and Appcelerator Cloud Services

UPDATE: The Saturday Workshop is now full but we plan to hold another workshop in the near future so watch this space.

Foolproof Labs is happy to announce that we will be holding a free workshop for anyone interested in learning about cross-platform mobile native UI application development with Appcelerator’s Titanium.

It is a very hands-on workshop where you will end the day with a working Android and iOS application that pulls data from a blog, displays it in a list and displays the blog post in full when the list item is clicked.

A very simple app but a great intro to Titanium that will cover:

  • Alloy Framework
  • Intro to views and styling elements with TSS
  • Optimising your development workflow with TiShadow
  • UI elements:
    • ListView
    • NavigationWindow
    • Labels
    • WebViews
    • SearchBar
  • Collections/Models with BackboneJS
  • Data Binding + Sync Adapters

That’s a lot to get through in one day! And we won’t just cover the theory, you will be expected to use all of the above to create your own app by the end of the day.

To register your interest, click here

Key info for those attending:

At this point, please take note of the following:
  • Before the training: please setup Titanium, TiShadow and if you want to develop Android: GenyMotion (the default Android emulator is very slow).  
  • It can take a long time to setup (and download!) and you can encounter a lot of problems so please don’t leave it until Friday night or even worse Saturday morning.  Please try to install it as soon as you can.  It’s very likely that you’ll encounter some problems with the setup so we’re having an “open surgery” for Titanium issues in our office next week.  Just bring your laptop (or desktop if you must :P) to our office before Saturday and either me or Rhys will be happy to help you debug the problem.
Other than that, looking forward to meeting you all next week where we’ll have free coffee, free lunch and lots of free Titanium Training 🙂