Introducing PhoneGap to SproutCore 2
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Introducing PhoneGap to SproutCore 2

on

  • 1,766 views

The Vancouver SproutCore Meetup

The Vancouver SproutCore Meetup

Hosted by Appnovation

Statistics

Views

Total Views
1,766
Views on SlideShare
1,744
Embed Views
22

Actions

Likes
0
Downloads
19
Comments
0

6 Embeds 22

http://paper.li 17
http://twitter.com 1
https://twitter.com 1
http://a0.twimg.com 1
http://a0.twimg.com 1
http://www.docseek.net 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Introducing PhoneGap to SproutCore 2 Presentation 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