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. Input source code


I'm looking to edit the user input functionality for the browser.
Does anyone know where in the source code user input controls browser



2. android omap3530 rc3 ALSA error

I success to port android on beagle board.but when I run some app I
found it no app have mp3player and finding so
much information,I found I didn't add alsa I
     $ git clone git://
     $ git clone git://
in the right deritory.and modify "beagledroid/build/target/board/
but when I compile the android source code.I met problem. I hope some
one can help me .
     frameworks/base/libs/audioflinger/AudioFlinger.cpp: In member
function 'void*
(uint32_t, uint32_t) const':
     frameworks/base/libs/audioflinger/AudioFlinger.cpp:1717: warning:
suggest parentheses around &&
     within ||
     make: *** No rule to make target `out/target/product/generic/obj/
lib/', needed by `
libaudioflinger_intermediates/LINKED/'.  Stop.

i want to remand you,I use Sean McNeil's alsa_sound.patch.  I spent
too much time fix it.but failed.  hope anyone can help me.     sorry
my poor english.


3. omap3530 rc3 ALSA error

4. Enabling WiFi on android-x86

5. What is the "package name" and the "Create Activity" in wizard of new project (eclipse)

6. Can we make paid apps - additional packs also chargeable?

7. How to access the rest of R.drawable (such as emoticons)?