Your SlideShare is downloading. ×
  • Like
Introducing PhoneGap to SproutCore 2
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Introducing PhoneGap to SproutCore 2

  • 1,381 views
Published

The Vancouver SproutCore Meetup …

The Vancouver SproutCore Meetup

Hosted by Appnovation

Published in Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,381
On SlideShare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
21
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
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Transcript

  • 1. IntroducingSproutCore to PhoneGap Michael Brooks @mwbrooks Nitobi Software
  • 2. PhoneGap User
  • 3. PhoneGap Developer
  • 4. PhoneGap Developerdocument.addEventListener(‘deviceready’, function() { // PhoneGap is ready}, false);SC.Event.add(document, ‘deviceready’, function() { // PhoneGap is ready});
  • 5. PhoneGap Contributor
  • 6. PhoneGap JavaScript API
  • 7. PhoneGap JavaScript APInavigator.geolocation.getCurrentPosition( function() { /* success callback */ }, function() { /* failure callback */ });
  • 8. PhoneGap JavaScript APInavigator.accelerometer.getCurrentAcceleration( function() { /* success callback */ }, function() { /* failure callback */ });
  • 9. PhoneGap JavaScript APInavigator.network.connection.type;// No Network// Ethernet// Wifi// Cell 2G// Cell 3G// Cell 4G// Cell 2G// Unknown
  • 10. PhoneGap JavaScript APIdocument.addEventListener(‘backbutton’, function() { // Do something}, false);
  • 11. PhoneGap JavaScript APIdocument.addEventListener(‘menubutton’, function() { // Do something}, false);
  • 12. Web Standards Friendly
  • 13. SproutCore with PhoneGapgithub.com/mwbrooks/phonegap-sproutcore-todos