SlideShare a Scribd company logo
Mobile for the rest of us
         Mobile 2.0 Conference
          Mountain View, CA




         Jeff Haynie
          @jhaynie
About Me

• @jhaynie @appcelerator
• http://blog.jeffhaynie.us
• jhaynie@appcelerator.com
• #titanium_app on freenode
Explosion of
       opportunities

20% year over year growth anticipated for
next 5 years in smart phones
Oh no.
• iPhone (Objective-C, 28th!)
• Android (Java, Google Style)
• RIM (Java, Blackberry or Midlet style)
• Symbian (old school C)
• Palm Pre (Web 2.0)
• Windows Mobile (.NET compact)
• Maemo (GTK+)
Oh, yeah...
• Web Browsers
• Desktop Apps
• Net books
• E-Book readers
• Tablets
• etc etc.
We                Web
• HTML, CSS, JavaScript
• Presentation / UI can easily be built with
  HTML/ CSS
• JavaScript API for mobile features, platform,
  UI
• Run locally, integrate cloud services
It’s the UX

Build applications that fit the
use cases that are tailored for
the modality
Mobile for the rest of us
Mobile for the rest of us
Mobile for the rest of us
What we want
• Skills
• Tools
• Reusability
• Platforms
• Portability
• Speed / Cost
• Open source / Standards
Appcelerator

Empower developers to quickly create and
commercialize web, desktop and mobile
applications
Mobile for the rest of us
Titanium

• Desktop: Win32, OSX, Linux
• Mobile: iPhone and Android (Palm WebOS)
• 100% code on github.com/appcelerator
• Apache Public License
• Active Open Source Community
Appcelerator Products
        Create, test, and commercialize native mobile and desktop
        applications with the web technologies you use today.




Develop Native iPhone   Build Desktop apps      Cloud services used for   Web development tools
and Android apps with   that can be deployed    testing, packaging,       that enable rapid RIA
full access to each     with one code base on   distribution, and         development.
device’s APIs.          the PC, Mac, or Linux   analytics.
                        platforms.
Product Architecture
  Mobile      Desktop
Programming Model

Titanium supports JavaScript, HTML, CSS for
building mobile applications
UI

• Clean separation of Design from Code
• UI is constructed via HTML, CSS
• JavaScript access to create native controls,
  native views, windows, etc.
JavaScript
• JavaScript is used to program Mobile
  Features, Access local Resources,
  Database, Remote Web Services, etc.
• Use your favorite JS Toolkit - jQuery,YUI,
  Dojo, Mootools, etc etc.
App Assembly

Titanium SDK compiles (using Titanium
Developer) the application using the Mobile
SDK into a native application
Mobile APIs
                Geolocation
Accelerometer
                 Gesture
   Analytics
                  Media
      App
                 Network
  Database
                 Platform
  Facebook
                    UI
  Filesystem
                  Yahoo
Building the UI
• <html> accepted here (including HTML5)
• optimized native UI controls
• hybrid UI composition
• custom native UI controls
Typical iPhone UI
Typical Android UI
<html>
Native UI views
Grouped View   Table View
Composite UI
Composite Views
Custom OpenGL UI
Simple APIs
Titanium.UI.setTabBadge(10)




 Titanium.UI.createMenu()
Native UI Controls
• Toolbars
• Tab Bars
• Status Bars
• Dialogs
• Controls
Native UI (Android)
Databases

var db = Titanium.Database.open('mydb');
db.execute('INSERT INTO DATABASETEST (ID,   NAME ) VALUES(?,?)',
1,'Name 1');
db.execute('INSERT INTO DATABASETEST (ID,   NAME ) VALUES(?,?)',
2,'Name 2');
db.execute('INSERT INTO DATABASETEST (ID,   NAME ) VALUES(?,?)',
3,'Name 3');
db.execute('INSERT INTO DATABASETEST (ID,   NAME ) VALUES(?,?)',
4,'Name 4');
Camera

Titanium.Media.showCamera(
{
    success:function(image,details)
    {
        $("status").innerHTML="Uploading...."+image.url;
    }
});
Video
var video = Titanium.Media.
createVideoPlayer({ contentURL : "movie.mp4"});

var listenerId = video.addEventListener("complete", function()
{
   video.removeEventListener('complete', listenerId);
   var dlg = Titanium.UI.createAlertDialog({
    'title' : 'Video Complete',
    'message' : 'video completed',
    'buttonNames' : [ 'OK' ]
   });
   dlg.show();
});
video.play();
Gestures
function onShake()
{
   document.getElementById("status").innerHTML = 'Stop
Shaking me';  

}

var listenerId = Titanium.Gesture.addEventListener("shake",
onShake);
Accelerometer

Titanium.Accelerometer.addEventListener('update',function(e){

   document.getElementById('x').innerHTML = e.x;
   document.getElementById('y').innerHTML = e.y;
   document.getElementById('z').innerHTML = e.z
});
Titanium Info
• http://www.appcelerator.com
• http://github.com/appcelerator
• @appcelerator
• #titanium_app on irc.freenode.net
• http://slideshare.net/jhaynie

More Related Content

PDF
What's great in Appcelerator Titanium 0.8
PPT
Titanium Overview (Mobile March 2011)
PPTX
Mobile applications development
KEY
The Mobile Opportunity
PPTX
Case study: integrating azure with google app engine
PDF
Introduction to Phonegap
PDF
Architecture app
PPTX
Introduction to the Ionic Framework
What's great in Appcelerator Titanium 0.8
Titanium Overview (Mobile March 2011)
Mobile applications development
The Mobile Opportunity
Case study: integrating azure with google app engine
Introduction to Phonegap
Architecture app
Introduction to the Ionic Framework

What's hot (19)

PDF
Building Mobile Apps with Cordova , AngularJS and Ionic
PDF
Developing Applications on iOS
PDF
Doag wysiwyg
PPTX
Ionic Framework - get up and running to build hybrid mobile apps
PPTX
PPT from Webinar Create Hybrid Mobile Application in 1 hour
PPTX
Hybrid app in ionic framework overview
PDF
Mobile App Development
PPTX
Flutter at FundsCorner.pptx
PDF
Build Consumer Apps Using Mobile SDK and Ionic Framework
PPTX
AppNotch
PPTX
Ionic and Azure
PDF
Adobe AIR Mobile development for Android and PlayBook
KEY
Appcelerator Titanium at Mobile 2.0
PDF
Creating Mobile Content Using Flash
ODP
Developing Exceptional Mobile Application
PPTX
PaaS + Appcelerator = WIN
PPTX
Mobile architecture options
PPT
ios basics
PPTX
Xamarin.Forms
Building Mobile Apps with Cordova , AngularJS and Ionic
Developing Applications on iOS
Doag wysiwyg
Ionic Framework - get up and running to build hybrid mobile apps
PPT from Webinar Create Hybrid Mobile Application in 1 hour
Hybrid app in ionic framework overview
Mobile App Development
Flutter at FundsCorner.pptx
Build Consumer Apps Using Mobile SDK and Ionic Framework
AppNotch
Ionic and Azure
Adobe AIR Mobile development for Android and PlayBook
Appcelerator Titanium at Mobile 2.0
Creating Mobile Content Using Flash
Developing Exceptional Mobile Application
PaaS + Appcelerator = WIN
Mobile architecture options
ios basics
Xamarin.Forms
Ad

Similar to Mobile for the rest of us (20)

PPT
Titanium Meetup Deck
PPT
OSCON Titanium Tutorial
PPT
Native Mobile Application Using Open Source
KEY
Open Source World : Using Web Technologies to build native iPhone and Android...
ZIP
Using Web Technologies to Build Native iPhone & Android Applications
PDF
An introduction to Titanium
PPTX
Appcelerator Titanium Intro
PDF
Appcelerator Titanium Intro (2014)
KEY
Mountain View July JavaScript Meetup at Google
KEY
Appcelerator iPhone/iPad Dev Con 2010 San Diego, CA
ZIP
iPhone/iPad Development with Titanium
PPTX
Modeveast Appcelerator Presentation
PPTX
Presentation
KEY
CommNexus San Diego Presentation
ZIP
Introducing Titanium
PPT
Getting Started with Titanium
PPT
Getting Started with Titanium
PDF
Building Native Apps With Titanium Mobile
PDF
Android development made easy with appcelerator titanium
ZIP
Building iPhone/Andriod Apps with Titanium Appcelerator for a Rails Backend
Titanium Meetup Deck
OSCON Titanium Tutorial
Native Mobile Application Using Open Source
Open Source World : Using Web Technologies to build native iPhone and Android...
Using Web Technologies to Build Native iPhone & Android Applications
An introduction to Titanium
Appcelerator Titanium Intro
Appcelerator Titanium Intro (2014)
Mountain View July JavaScript Meetup at Google
Appcelerator iPhone/iPad Dev Con 2010 San Diego, CA
iPhone/iPad Development with Titanium
Modeveast Appcelerator Presentation
Presentation
CommNexus San Diego Presentation
Introducing Titanium
Getting Started with Titanium
Getting Started with Titanium
Building Native Apps With Titanium Mobile
Android development made easy with appcelerator titanium
Building iPhone/Andriod Apps with Titanium Appcelerator for a Rails Backend
Ad

More from Axway Appcelerator (20)

PDF
Axway Appcelerator - Titanium SDK 6.1.0 - Status, Releases & Roadmap
PPTX
2014 Dublin Web Summit by Jeff Haynie
PPTX
Making the Mobile Mind Shift
PPTX
Stop Debating, Start Measuring
PPTX
Mobile & The New Experience Economy (And What it Means for IT)
PPTX
Apps, APIs & Analytics: What "Mobile First" Really Means
PPTX
Appcelerator Presentation Template
PPTX
Codestrong 2012 keynote jonathan rende, appcelerator's vp of products
PPTX
Codestrong 2012 keynote jeff haynie, appcelerator's ceo
PPTX
Codestrong 2012 keynote how to build a top ten app
PPTX
Codestrong 2012 breakout session at&t api platform and trends
PPTX
Codestrong 2012 breakout session what's new in titanium studio
PPTX
Codestrong 2012 breakout session using appcelerator cloud services in your ...
PPTX
Codestrong 2012 breakout session the role of cloud services in your next ge...
PPTX
Codestrong 2012 breakout session new device platform support for titanium
PPTX
Codestrong 2012 breakout session mobile platform and infrastructure
PPTX
Codestrong 2012 breakout session making money on appcelerator's marketplace
PDF
Codestrong 2012 breakout session live multi-platform testing
PPTX
Codestrong 2012 breakout session leveraging titanium as part of your mobile...
PPTX
Codestrong 2012 breakout session i os internals and best practices
Axway Appcelerator - Titanium SDK 6.1.0 - Status, Releases & Roadmap
2014 Dublin Web Summit by Jeff Haynie
Making the Mobile Mind Shift
Stop Debating, Start Measuring
Mobile & The New Experience Economy (And What it Means for IT)
Apps, APIs & Analytics: What "Mobile First" Really Means
Appcelerator Presentation Template
Codestrong 2012 keynote jonathan rende, appcelerator's vp of products
Codestrong 2012 keynote jeff haynie, appcelerator's ceo
Codestrong 2012 keynote how to build a top ten app
Codestrong 2012 breakout session at&t api platform and trends
Codestrong 2012 breakout session what's new in titanium studio
Codestrong 2012 breakout session using appcelerator cloud services in your ...
Codestrong 2012 breakout session the role of cloud services in your next ge...
Codestrong 2012 breakout session new device platform support for titanium
Codestrong 2012 breakout session mobile platform and infrastructure
Codestrong 2012 breakout session making money on appcelerator's marketplace
Codestrong 2012 breakout session live multi-platform testing
Codestrong 2012 breakout session leveraging titanium as part of your mobile...
Codestrong 2012 breakout session i os internals and best practices

Mobile for the rest of us

Editor's Notes