• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

what are the functions not available if we develop android app using HTMl5

 
Ranch Hand
Posts: 1325
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I heard that if we develop android application HTML5 or Titanimu studio we can't build all native features(GPS,Camera,.....).please explain.

1)if we use html5 what are the functions we can't use?
2)if we use Titanium what are the functions we can't use?
Also what are the advantages of these technologis?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It depends on what you mean by "develop with HTML 5". If it's a standard web app (or mobile web app) then yes, you can't use native functionality as you're limited to what HTML 5 offers. That's more and more these days, though, including geo location: http://www.w3.org/standards/techs/js#w3c_all. If you need the web app to have hooks into native code, check out Apache Cordova.

I'm sure the home page of Titanium does a good job of listing its advantages. It's based on JavaScript, though, not Java, if memory serves.

Also note that cross-platform approaches like Titanium and Cordova tend not to look quite as natural on any platform as apps that have been specifically developed for a platform. That may or may not be a concern for you.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic