SlideShare a Scribd company logo
Native Mobile Application Using JavaScript
Who am I? Lim Borey Developer @ Yoolk Inc. @limborey [email_address] http://www.limborey.com
Topics Titanium Overview Development Requirements Titanium Mobile API Demo  Get Support Q & A  References
Amazing Mobile Platforms
Which is great and exciting!
...only how do we target all these cool platforms?
Well, you could build native, but... Which platforms do you choose? How many codebases do you want to (or even can you) support? How long will it take to build native on N platforms? How much effort will be duplicated? What if you bet on the wrong platform? Who writes the code?  Hire out?  Retrain/retool yourself or your devs?
The Web Is An Option... ...and should be preferred when feasible Mobile browsers are progressing fast and converging around WebKit But  there are  limitations Native apps are inherently more capable than web apps Native apps run faster and smoother on resource constrained devices
Ideally, we build  cross-platform native apps...
...but we don’t want to “write once, suck everywhere” * * Loren Brichter, creator “Twitter for iPhone”/Tweetie
X-Platform Requirements Target multiple platforms from a single codebase Apps must feel like they belong on the platform Apps need to perform like native Bonus: Open source and extensible Bonus: Use skills we already have Hmmm, I wonder if he has a specific technology in mind...
Mobile App Framework Framework to build mobile app: Titanium Mobile (JavaScript, optionally HTML & CSS) PhoneGap (HTML, CSS, JavaScript) WRT – “Web RunTime” (HTML, CSS, JavaScript) Rhodes – (Ruby) Cacao – (Objective-C) J2ME – (Java) … .
Titanium Mobile
Titanium Mobile Open Source (Apache 2.0) A framework for building native mobile applications  Using open web technologies (JavaScript - optionally HTML and CSS) Platform: iOS Android BlackBerry (beta preview) webOS (soon) Current version: sdk  1.4.0
Titanium Mobile Architecture
Development Requirements Titanium Developer  Linux  Mac OS Windows Emulator & phone OS version Iphone: xcode with iOS 3.2 & 4.0 Android: android OS API 4 (v1.6) or above
API
Example
Example
Example
DEMO
Get Support Titanium Mobile API http://developer.appcelerator.com/apidoc/mobile/ Titanium Q&A http://developer.appcelerator.com/questions KitchenSink  - sample API app Report bugs: https://appcelerator.lighthouseapp.com/
References Native Mobile Applications USING Open Source,  Kevin Whinnery, O’Reilley OSCON Appcelerator website Appcelerator API Building Native Apps with Titanium Mobile, Brendan G. Lim
Q & A
Stay Updated with DevCamp Website: http://www.sharevisionteam.org Share Vision TeamGoogle group http://groups.google.com/group/sharevisionteam Facebook http://www.facebook.com/pages/ShareVisionTeam/113681602015387 Twitter http://twitter.com/sharevisionteam

More Related Content

Native Mobile Application Using Java Script

  • 1. Native Mobile Application Using JavaScript
  • 2. Who am I? Lim Borey Developer @ Yoolk Inc. @limborey [email_address] http://www.limborey.com
  • 3. Topics Titanium Overview Development Requirements Titanium Mobile API Demo Get Support Q & A References
  • 5. Which is great and exciting!
  • 6. ...only how do we target all these cool platforms?
  • 7. Well, you could build native, but... Which platforms do you choose? How many codebases do you want to (or even can you) support? How long will it take to build native on N platforms? How much effort will be duplicated? What if you bet on the wrong platform? Who writes the code? Hire out? Retrain/retool yourself or your devs?
  • 8. The Web Is An Option... ...and should be preferred when feasible Mobile browsers are progressing fast and converging around WebKit But there are limitations Native apps are inherently more capable than web apps Native apps run faster and smoother on resource constrained devices
  • 9. Ideally, we build cross-platform native apps...
  • 10. ...but we don’t want to “write once, suck everywhere” * * Loren Brichter, creator “Twitter for iPhone”/Tweetie
  • 11. X-Platform Requirements Target multiple platforms from a single codebase Apps must feel like they belong on the platform Apps need to perform like native Bonus: Open source and extensible Bonus: Use skills we already have Hmmm, I wonder if he has a specific technology in mind...
  • 12. Mobile App Framework Framework to build mobile app: Titanium Mobile (JavaScript, optionally HTML & CSS) PhoneGap (HTML, CSS, JavaScript) WRT – “Web RunTime” (HTML, CSS, JavaScript) Rhodes – (Ruby) Cacao – (Objective-C) J2ME – (Java) … .
  • 14. Titanium Mobile Open Source (Apache 2.0) A framework for building native mobile applications Using open web technologies (JavaScript - optionally HTML and CSS) Platform: iOS Android BlackBerry (beta preview) webOS (soon) Current version: sdk 1.4.0
  • 16. Development Requirements Titanium Developer Linux Mac OS Windows Emulator & phone OS version Iphone: xcode with iOS 3.2 & 4.0 Android: android OS API 4 (v1.6) or above
  • 17. API
  • 21. DEMO
  • 22. Get Support Titanium Mobile API http://developer.appcelerator.com/apidoc/mobile/ Titanium Q&A http://developer.appcelerator.com/questions KitchenSink - sample API app Report bugs: https://appcelerator.lighthouseapp.com/
  • 23. References Native Mobile Applications USING Open Source, Kevin Whinnery, O’Reilley OSCON Appcelerator website Appcelerator API Building Native Apps with Titanium Mobile, Brendan G. Lim
  • 24. Q & A
  • 25. Stay Updated with DevCamp Website: http://www.sharevisionteam.org Share Vision TeamGoogle group http://groups.google.com/group/sharevisionteam Facebook http://www.facebook.com/pages/ShareVisionTeam/113681602015387 Twitter http://twitter.com/sharevisionteam