Your SlideShare is downloading. ×

Bridging the gap

827
views

Published on

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
827
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
18
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Bridging the Gap Cross Platform Mobile Application Development
  • 2. Me
  • 3. The Late 90’s
  • 4. Desktop Apps
    • A predominant O/S – Windows
    • Minimal design constraints
    • Few well developed patterns
    • Few established tools
      • Visual Studio
      • Delphi
    • Web was for documents
  • 5. The App Economy – Early Days
    • ‘ Freeware’ and ‘Shareware’
    • Limited channels for delivery
    • Tough on the consumer too
    • Rags to Riches – near to impossible
  • 6. Today
    • 7 Billion People
    • 0.7 Billion Personal Computers
    • 5 Billion Mobile Phones
    • 1 Billion Mobile ‘Smart’ Phones
    • Shift from the PC to the Smart Phone
  • 7. Today
    • Single channel delivery and acquisition for smart phone apps
    • The advent of the App Stores
    • Why?
      • Micropayments
      • Reach
      • Free marketing
      • Easy for consumers
  • 8. A Fragmented Market
  • 9. A Fragmented Market Platform Toolkit Android Java (Dalvik) Symbian C++, Java ME Windows Mobile .NET iPhone Objective C Blackberry OS Proprietary Java Libraries/API
  • 10. Cross Platform Development
    • Java
    • PhoneGap
    • RhoMobile
    • Appcelerator Titanium
    • MoSync
  • 11. PhoneGap
    • HTML / JavaScript / CSS
    • If you know how to develop a webpage, you are in the party.
    • Supports –
      • iPhone, Android, Symbian,
      • Blackberry, Windows
  • 12. PhoneGap
  • 13. Native Methods
    • Accelerometer
    • Camera
    • GPS
    • Contacts
    • Network
    • Messaging
  • 14. Example <html> <head> <title>Device Properties Example</title> <script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot; src=&quot;phonegap.js&quot;></script> <script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;> // Wait for PhoneGap to load function onLoad() { document.addEventListener(&quot;deviceready&quot;, onDeviceReady, false); } // PhoneGap is ready function onDeviceReady() { navigator.geolocation.getCurrentPosition(onSuccess, onError); } // onSuccess Geolocation function onSuccess(position) { var element = document.getElementById('geolocation'); element.innerHTML = 'Latitude: ' + position.coords.latitude + '<br />' + 'Longitude: ' + position.coords.longitude + '<br />' + 'Altitude: ' + position.coords.altitude + '<br />'; } // onError Callback receives a PositionError object function onError(error) { alert('code: ' + error.code + 'n' + 'message: ' + error.message + 'n'); } </script> </head> <body onload=&quot;onLoad()&quot;> <p id=&quot;geolocation&quot;>Finding geolocation...</p> </body> </html> 1 2 3 4 5
  • 15. Deploying
    • PhoneGap compiles using the original SDKs
    • Android ADT on Eclipse
    • Apple OSX, Xcode for iOS
    • Minimal platform dependent code
    • Faster turn around times
    • Code re-use
  • 16. Further reading
    • www.phonegap.com
    • www.appcelerator.com
    • www.rhomobile.com
  • 17. That’s all folks [email_address] Twitter : @anoopsankar