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. Managing multiple notifications

Hi Guys, I am trying to create multiple notifications in my
application. To identify each notification uniquely, i have given them
an unique identificationId.

Problem: When a notification is selected, Tabs activity is called
passing the intent. I want to access the unique notificationId of the
notification that was selected in Tabs. I tried intent.putExtra() to
save the notificationId in the intent. But, for multiple notifications
its overwriting the notificationId and returns the latest one. I dont
understand as to why this is happening and how can i avoid this
overwriting of notificationId.



2. Question about Speed up XML Parsing

I'm developing a RSS Reader, the as the XML file is quite large for
mobile phone(500KB), it takes time  to load! How can I use SAXParser
to download the latest headline only(for example 10 record) without
downloading all the record? Thx!


3. Stopping GPS inside an activity

4. adding menu item to calendar app

5. Organizing the res/drawable folder

6. regarding getting stuff from backend and displaying them as ListView in a Tab

7. Get all icons positions in wallpaper