Phone Gap
Phone Gap
Table of Contents
What is PhoneGap How does it work? PhoneGap + DW Pros
and Cons
Conclusion
What is PhoneGap?
Multiplatform Development Framework
What is PhoneGap?
PhoneGap is an open-source mobile
development framework
Developed by Nitobi Software Bought by Adobe
Enables building
PhoneGap Applications
The PhoneGap applications
are hybrid
is that hybrid applications do not have full access to the device API
Camera, compass, accelerometer, etc.
Supported Platforms
PhoneGap currently supports
web-standards
Based on HTML5
Wrap it up with PhoneGap
Using the free open source framework or PhoneGap build You can access the native APIs
Deploy to multiple platforms
When possible, we roll our client based additions back into the community.
We provide PhoneGap training + support.
Cross-platform Prototyping
Main advantage of Phone Gap is you can reuse your web application
source code across platforms.
A good, quick approach is to write one set of assets and tweak across
platforms.
HTML and CSS can be, more-or-less, written once. Combined with a <meta name=viewport> tag (which tells the browser the size of the screen its being viewed in), results are good.
Means of Development
PhoneGap generates a out-of-the-browser window that executes the HTML and JavaScript
Due to a couple of xml and jar/dll files it enables the usage of native APIs
Eclipse, Xcode, Visual Studio, etc. Abobe launched a new version of Dreamweaver that integrates with PhoneGap
Build the web site Add the mobile SDKs Say it is mobile app
skills vs.
and
integrated payment
Via the App Store or Android Market
If your app is graphically intense, i.e. a game. Caching or leveraging some 3rd party solutions may be implemented with native graphics For the most part a native app is much faster/smoother than mobile web app
For small apps, use a single HTML page. Use JavaScript to show/hide page elements based on user interaction instead of linking to a separate page. Especially important for BlackBerry, since each new page request forces the device to encode requested assets into base64 on-the-fly.
Obfuscate / crunch your JavaScript before release. Devices only reserve a bit of memory for JavaScript interpreters for the browser. If your JavaScript is small enough, it wont be necessary for the browser to constantly page your scripts in/out of the browser memory. iPhone, for example, has 25kb of memory reserved for JavaScript parsing.
Conclusion
PhoneGap is a cross-platform
mobile
development framework
Based on HTML5 and JavaScript Using web standards
PhoneGap is useful
better!
PhoneGap
Questions?