JavaScript Camera API Android (Froyo)

by Bijan » Wed, 02 Jun 2010 07:24:51 GMT

Sponsored Links
 I am trying to access the JavaScript Camera API via the Android
browser as demo'd at Google IO on Froyo (yes, I have Froyo on my
Nexus1). Since there is no documentation, I am going by the W3C specs.
But, I am unable to access the navigator.device object and unable to
access either - both return undefined. Can anyone
point me to documentation or have a solution ?


JavaScript Camera API Android (Froyo)

by Mark Murphy » Wed, 02 Jun 2010 07:28:22 GMT


You got your answer, it appears, on StackOverflow. I'm just
cross-posting it here for future reference, if somebody searches and
finds your question... 

Mark Murphy (a Commons Guy)  |  | 

_Android Programming Tutorials_ Version 2.0 Available!


Sponsored Links

Other Threads

1. A Google Maps App

I want to write an app involving Google Maps API. I want my user to
enter the name of a place where he is in a textbox and then enters the
name of his desired destination in another textbox. Once he clicks the
button after that, the required map gets displayed.

I have 2 questions here:

Is it possible to make such an app on android?

I guess the android can auto-detect where the user i correct?

Thank you,


2. Can鈥檛 skip account setting in GoogleLoginServiceHelper.getCredentials

I use GoogleLoginServiceHelper.getCredentials in my activity. There
are three buttons (Create, Sing in and Skip) in account setting page.
When I click skip button and click next, it will change to some pages
and the back to the account setting page but only have Create and Sing
in buttons. It seems I must register Google account in this page. Is
there any way to skip account setting page by skip button?

My code usage is as below, any suggestion is appreciate.



3. creating a shared jar library

4. Map view info window

5. why I can't use movieview to play the movie came from the internet?

6. Native database

7. How to populate a listview with XML file to Internet