Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Titanium Mobile - Build iPhone apps w/ JavaScript

Mot
December 04, 2011

Titanium Mobile - Build iPhone apps w/ JavaScript

A presentation made to SDRuby on building iphone apps with javascript using Titanium Mobile.

Link to video of presentation: http://sdruby.org/podcast/68

Mot

December 04, 2011
Tweet

More Decks by Mot

Other Decks in Technology

Transcript

  1. Who am I? • Scott Motte / 25 / Perris,

    CA • mid-level rubyist that prefers Merb • spitfiresky.com • twitter.com/spitfiresky • github.com/scottmotte • scott@spitfiresky.com
  2. Install • Download iPhone SDK • Download Titanium Developer •

    Request Mobile access • send a nice email (friend http://Jeromegn.com received his invite within the hour) *http://www.appcelerator.com/products/download-titanium/download/ *http://www.appcelerator.com/products/request-titanium-mobile/
  3. Setup • Create new app • configure tiapp.xml • create

    html/js/css • launch emulator to check your work
  4. tiapp.xml • One or more <window> elements are added to

    create a tab bar view. • If only one <window> tag is a child of <windows>, then by nature the view is a single view application (no tab bar).
  5. Layout • Organize your files any way you’d like under

    Resources • /android and /iphone are for code you write specific to those platforms • When you start off you’ll mostly be writing javascript code to open up new html windows
  6. Where to go next • Visual API - http://github.com/ kwhinnery/KitchenSink

    • Written API - http:// www.codestrong.com/timobile/ api/ • Inspiration - http:// www.appcelerator.com/ appcelerator-platform/ applications-showcase/