Published on December 20th, 2012 | by Successblogger0
Writing Cross-platform Apps with Appcelerator Titanium
Among the platforms supported are iOS and Android. There are specific APIs for Android tablets – we’ll look closer at this below.
The first thing you will need to get Appcelerator up and running is the Titanium Studio itself, available from the Appcelerator website. While you’re there, make sure to bookmark the documentation, as it’s invaluable in learning how to make the best of the program later. Finally, before we moving on to installation head over to stackflow.com and bookmark their forums. You’ll constantly find yourself dipping into these for guidance, advice and code snippets to save you time.
Since Appcelerator is designed to help you code cross-platform apps, you’ll need the various SDK (Source Development Kits) for each of the platforms you intend to target. Without further ado, here’s the rundown on how to do that:
iOS. For iOS, you’ll need a developer license and the latest version of Xcode. A developer license costs around a hundred dollars for the year, and allows you to publish unlimited apps to the app store. Xcode will include all the previous iterations of the iOS SDK. Once you’ve got hold of these tools, check the ‘getting started’ section in Titanium Studio documentation to learn how to extract a Developer Provisioning Profile and Development Certificate for use within the program.
Android. For Android, there’s no pricey developer license. You do, however, need a copy of the Oracle JDK – which is free (you can Google for it), and the Android SDK Manager, which is available from the Android website. Again, once you have these things, check the ‘getting started’ section in the Appcelerator documentation to learn which bits you will need to extract, or alter and how.
BlackBerry. To support RIM’s ecosystem, you need to be an Appcelerator Pro or Enterprise subscriber. If you are, head over to the Titanium Studio documentation to find out how to get started coding for BlackBerry.