PhoneGap Slides from HTML5 Next and Now
Upcoming SlideShare
Loading in...5
×
 

PhoneGap Slides from HTML5 Next and Now

on

  • 3,820 views

 

Statistics

Views

Total Views
3,820
Views on SlideShare
3,695
Embed Views
125

Actions

Likes
5
Downloads
119
Comments
0

10 Embeds 125

http://paper.li 67
http://a0.twimg.com 30
http://nen-e-learning.anewspring.com 14
http://www.nen-e-learning.anewspring.com 7
http://us-w1.rockmelt.com 2
http://www.twylah.com 1
http://twitter.com 1
http://takeoverapp.com 1
http://zootool.com 1
https://twitter.com 1
More...

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
  • Who has heard of PhoneGap?\nWho has used PhoneGap?\n
  • feel free to tweet me anything\nI will tweet out this deck later tonight/tomrrow\nAlso, I just moved to SF last Thursday and i’m taking applications for new friends. Worth a shot\n
  • \n
  • # High Concept Pitch: 3-5 words or a phrase (what your company does)\n\nOpen source Framework that allows you to build cross platform mobile applications using HTML5, CSS3 and JavaScript.\n
  • # Problem you discovered / motivation for creating this company\n* You need expertise in ObjectiveC, Java, .Net, JavaScript, etc...\n* Resources are expensive and hard to find\n* Hire internally or an agency both $$$$!\n* Maintenance \n* Mobile website?\n
  • # Problem you discovered / motivation for creating this company\n* You need expertise in ObjectiveC, Java, .Net, JavaScript, etc...\n* Resources are expensive and hard to find\n* Hire internally or an agency both $$$$!\n* Maintenance \n* Mobile website?\n
  • Some of you might be thinking\n\nLet me show you one big reason\n
  • 90 million people. Google has almost half the share, take that ios only devs\nNever met a single developer who enjoys developing for BB. PhoneGap and webworks making life better\nLets see some trends\n
  • microsoft, nokia + xbox integration will help\nback on topic\n
  • \n
  • Many people using PhoneGap are converting their websites to mobile applications. Lots of reused code.\n
  • Open Source, Based on open standards, Active and growing community\n
  • Competitors: Appcelerator, RhoMobile, Corona: They don’t do it the same way. We don’t do any cross compiling to native code. Just run a web browser instance in a native app and run your web files locally\n
  • Mac, Windows, anything with a good web browser\n
  • We model the PhoneGap Api based on the standards defined by w3c, DAP, Mozzila Web API.\nYou guys being web devs have to love that. Nobody wants to go back to the ie6 days\n
  • Here are some of the API’s included with PhoneGap.\n
  • As a web developer, what do you need to do.\n
  • Wait for the device to be ready. \n
  • \n
  • \n
  • PhoneGap was submitted to Apache when Nitobi got purchased by Adobe.\nCurrently in incubation phase. Name changed to Callback/Cordova due to legal reasons. This name change only matters to people who actually work on the PhoneGap source code. We will still be calling it PhoneGap in the Community. Source code can currently be found on github. \n
  • We are going to be making a big push into making better tools available to you guys this upcoming year\n
  • Any Javascript Framework. Recently jQuery Mobile gaining traction\n
  • Liquid Layouts\nPhones get more powerful, performance less of an issue. As secure as your web app. Anyone can view your source. Possibly do server side authentication for sensitive information. Or use a Plugin.\n
  • \n
  • \n

PhoneGap Slides from HTML5 Next and Now PhoneGap Slides from HTML5 Next and Now Presentation Transcript

  • Who Am I? Steve Gill PhoneGap Community Champ Black Belt in TaeKwonDo Drinks Beer Loves Hockey @SteveSGill steveng@adobe.com
  • What is PhoneGap?
  • Why Cross-platform?
  • Smartphone Platform Market Share Google 48% RIM 18% 90 million people in the US own smartphones Microsoft 6% Apple 29% Source: comScore MobiLens, October 2011
  • The Trend: Smartphone Platform Market Share 50%37.5% 25%12.5% 29% 46% 32% 17% 25% 28% 8% 5% 0% Google RIM Apple Microsoft Dec 2010 Oct 2011 Source: comScore MobiLens, October 2011
  • Convert from Desktop to Mobile
  • Benefits• One code base, multiple platforms• Reuse existing web developer skills• Shorter learning curve• Faster development• Mobile site and app with same code• Reusable web code and infrastructure• Code portable to other environments• Based on open standards• Active and growing community• Open source with multiple large stakeholders
  • Differentiators• Runs on more platforms• Open community & contributors• Web and App with same code• Framework and tool support
  • Supported Platforms• iOS (iPad, iPod Touch, iPhone)• Android (Everything)• BlackBerry (Smartphones, PlayBook)• WebOS• Symbian• Windows Phone• Bada
  • Standards Based + W3C Device APIs and Policies Working Group (DAP)
  • APIs• Accelerometer • Events• Camera • File• Capture • Geolocation• Compass • Media• Connection • Network• Contacts • Notification• Device • Storage
  • Basics Setup the Viewport <meta name="viewport" content="width=dev ice-width, initial-scale=1.0, maximum- scale=1.0, user-scalable=no;" />
  • BasicsListen for the Device Ready Eventdocument.addEventListener("deviceready", onDeviceReady,false);function onDeviceReady(){//Do Stuff}
  • Basics Accelerometer Examplefunction onSuccess(acceleration) {    alert(Acceleration X: + acceleration.x + n +          Acceleration Y: + acceleration.y + n +          Acceleration Z: + acceleration.z + n +          Timestamp:      + acceleration.timestamp + n);};function onError() {    alert(onError!);};navigator.accelerometer.getCurrentAcceleration(onSuccess, onError);
  • Plugins• Push Notifications (Urban Airship)• Child browser• Facebook• Native Controls• Many more, and more coming
  • Free & Open Source
  • Tools• Emulators • Ripple • Any platform emulator (iOS Simulator, Android Virtual Devices, etc)• Debugging • Weinre (web inspector remote)• IDEs • Eclipse • Dreamweaver • Textmate
  • Javascript Libraries xui
  • Perceived Risks & Concerns• Web tech not appropriate for everything• Many webkits• Many screens/pixel densities• There are bugs!• App store rejections• Not "native"• Performance• Security
  • Resources• Source: github.com/callback• Bugs: issues.apache.org/jira/browse/CB• Docs: docs.phonegap.com• Wiki: wiki.phonegap.com• Support: groups.google.com/group/phonegap• IRC: irc.freenode.net #phonegap
  • phonegap.com @phonegap facebook.com/phonegapThanks!