• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Introducing PhoneGap to SproutCore 2
 

Introducing PhoneGap to SproutCore 2

on

  • 1,685 views

The Vancouver SproutCore Meetup

The Vancouver SproutCore Meetup

Hosted by Appnovation

Statistics

Views

Total Views
1,685
Views on SlideShare
1,663
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 Introducing PhoneGap to SproutCore 2 Presentation Transcript

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