Wednesday, November 07, 2012

Mobile Development with HTML5

Android and HTML5 have in common the fact that they are a free and open platform. And while Android is quickly gaining more market share, I believe HTML5 applications are the way to go in the long run.
Here I will list some resources that can assist in mobile development with HTML5 and related technologies.
  • PhoneGap (link) - open source framework that supports 7 mobile platforms
  • Building Android Apps with HTML, CSS, and JavaScript, book (link)
For getting started with Android and PhoneGap, see this article. To get started using command-line tools, see this page.

To set up PhoneGap, you need to set up the following dependencies first:
  • Java SDK
  • Ant
  • Android SDK
After installing Java SDK and Ant, set JAVA_HOME to paint to JDK installation directory, and ANT_HOME to Ant installation directory. Then add %JAVA_HOME%\bin  and %ANT_HOME%\bin to PATH.
To see more about setting JAVA_HOME, check this article by Oracle (link).

Data Access

As Web SQL standard has become obsolete, the data storage method to use with HTML5 applications is IndexedDb (link).

No comments: