This present talks about using Titanium to develop cross platform mobile applications. Compare native development, phonegap, html5,javascript with titanium.
6. Titanium SDK
• Features
• Supports 5,000+ native APIs
• JavaScript-based platform
• Support for iOS, Android, and HTML5
• Benefits
• 70% faster than developing in Objective-C or Java
• Single platform
• Unlimited extensibility
7. Demonstration
• Download/Install Titanium SDK Studio
– http://www.appcelerator.com/platform/titanium-
studio
– Create a project
– File-> New Titanium Project
– Input Project information
– Select template
– Write the Code
8. Demonstration
• tiapp.xml file under root
• Under Resources
– Images here and under
• android
• iphone
• mobileweb
• to be replaced by your app images/icons etc.
– app.js
13. Deployment
• Titanium Studio Workspace/{project}/build
• Open developer account at Android market
and appStore
• Setup profiles, certificate at appStore
• Prepare images for different devices
– Use the sample images as template to create
images for the application for all platforms
14. Deployto Market
• Sign the apk file and upload to Android
Market
• Many other places without sign
• Follow procedures to put to appStore
– Titanium has simplified this process very much
Notes de l'éditeur
Use ccim/appsfromtitanium/prayscripture/PersistStatistic.groovy as example code
Sample Package files:/Users/yiguanghu/Documents/Titanium Studio Workspace/facetoface/build/android/bin/facetoface.apk/Users/yiguanghu/Documents/Titanium Studio Workspace/renewmind/build/iphone/build/Release-iphoneos