Date post: | 15-Jan-2015 |
Category: |
Travel |
Upload: | ajax-experience-2009 |
View: | 2,607 times |
Download: | 1 times |
Introducing PhoneGap
Native Mobile Web Apps
Mobile app dev is hard.
Device Platform FragmentationPlatform Language Notes
Apple iPhone Objective C Requires an Apple machine. Left arm.
RIM Blackberry OS Java Requires a Windows based machine. WTF.
Google Android Java (Dalvik VM) Runs mostly anywhere.
Windows Mobile .NET or unmanaged C++ Requires a Windows based machine.
Nokia Symbian C++, Java, Python, Flash, WRT
Runs mostly anywhere.
Palm WebOS HTML, CSS and JavaScript Runs mostly anywhere.
App Distribution FragmentationApple App Store Android Market Blackberry App World Nokia Ovi Store GetJar Palm App Catalog Samsung App Store LG Application Store Mobango Sony Ericsson PlayNow Windows Marketplace Vodafone App Store Java App Store Verizon VCast
Dev and distribution nightmare.
This is why the internet works.
cross platformopen standardsopen source
Cross PlatformiPhoneAndroidBlackberryWindows MobileNokia *Palm *
* releasing this fall
HTML5
sorta
Webkit APIs
SQLiteCache ManifestCSS Transitions / Transforms / AnimationsCustom fonts
PhoneGap API
GeolocationAccelerometerMedia playbackCameraDevice infoContactsOnline/OfflineSMS / TelephoneMagnetometer
Future APIs
File IOWebSocket
SQLite Wrapper
Free: as in freedom.
MIT Licensed
PhoneGap Philosophy
The purpose is to cease to exist.Make the web a first class dev tool.Be open, transparent and free.Adhere to standards when possible.
Problems with the PhoneGap project
documentationapp store FUDno fucking testsmany webkit variantsperceived competitiontooling is not consolidatedsource is a bit of a gong showno standard technique for extending the project
docs.phonegap.com http://github.com/phonegap/phonegap-docs
App Store Rejections?
Rename your project.
No fucking tests?!
mobile-spec
http://github.com/phonegap/mobile-spec
The many flavors of Webkit
iPhone OS 3.0 Webkit 528.16 BuildiPhone OS 2.2 Webkit 525.20 BuildiPhone OS 2.02 Webkit 525.20 BuildiPhone OS 1.5 Webkit 419.3 BuildAndroid 1.5 Webkit Nov 2008 ForkAndroid 1.1 Webkit Rev r30692Android 1.0 WebkitPalmPre OS WebkitNokia S60 Webkit ForkNokia WRT Webkit Fork
Not to mention what isn't Webkit
Blackberry Windows Mobile..........yet.
The web still rocks.
(even if the browsers do not)
Other options?Option Supported Platforms Language License
BigFive iPhone HTML, CSS and JS GPL2
LiquidGear iPhone HTML, CSS and JS* MIT
Corona iPhone Lua Proprietary
Appcelerator iPhoneAndroid
HTML, CSS and JS* Apache / Proprietary
Rhodes iPhoneSymbianAndroidBlackBerryWindows Mobile
HTML, CSS and JS. Ruby for native code. Accessed client/server style.
GPL3
NimbleKit iPhone HTML, CSS and JS* Proprietary
* Renders native controls via JavaScript.
Wash, Rinse, Repeat...FAIL
1. First, install all these:iPhone SDKAndroid SDKBlackberry SDKWindows Mobile SDKNokia WRT SDK
2. Download the PhoneGap source. 3. Map to each SDK.4. Copy your app into each.5. Build for each.6. Fix a bug. 7. GOTO 3.
Automation FAIL.
phonegap-dev
sudo gem install phonegap
is demo time nao
Extending PhoneGap
Plugins
Sauce needs some clean up.
The Future
More devices.
OMTP BONDI
Spec.
W3C Device API Group
Now... go write some apps!*http://phonegap.comhttp://groups.google.com/group/phonegap
Brian [email protected]://twitter.com/brianleroux
* After beers. Ideally at least 12 hours after beers.