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

Like this? Share it with your network

Share

Introducing PhoneGap to SproutCore 2

  • 1,805 views
Uploaded on

The Vancouver SproutCore Meetup...

The Vancouver SproutCore Meetup

Hosted by Appnovation

More 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,805
On Slideshare
1,783
From Embeds
22
Number of Embeds
6

Actions

Shares
Downloads
21
Comments
0
Likes
0

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

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