This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What extensions to HTML5 and/or Javascript are available for use by Android web apps?  RSS feed

 
Daniel Trebbien
Ranch Hand
Posts: 90
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know that PhoneGap extends the Javascript runtime to allow the web app to access native functionality. But, are there extensions to HTML5 and/or Javascript that are available to Android web apps by default (i.e. without using PhoneGap or a similar library)?
 
Sebastien Blanc
author
Ranch Hand
Posts: 33
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By default, you can access your geolocation data and detect the orientation of your phone. Accessing the camera orcontacts, as you said, is only possible by using a tool such as Phonegap. But HTML5 provides also some nice features to compete with native apps like : offline caching/local storage
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!