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 navigator.camera 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...

 http://stackoverflow.com/questions/2953865/javascript-camera-api-android-froyo 

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

_Android Programming Tutorials_ Version 2.0 Available!

--


Sponsored Links


Other Threads

1. Input source code

Hi,

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

Thanks!

Dave
--~--~---------~--~----~------------~-------~--~----~

2. android omap3530 rc3 ALSA error

I success to port android on beagle board.but when I run some app I
found it no sound.my app have mp3player and mp4player.by finding so
much information,I found I didn't add alsa support.so I
     $ git clone git://android.git.kernel.org/platform/external/alsa-lib.git
     $ git clone git://android.git.kernel.org/platform/hardware/alsa_sound.git
in the right deritory.and modify "beagledroid/build/target/board/
generic/BoardConfig.mk"change
    BOARD_USER_ALSA_AUDIO := true
   #BOARD_USES_GENERIC_AUDIO := true
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*
     android::AudioFlinger::MixerThread::TrackBase::getBuffer
(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/libaudio.so', needed by `
     out/target
     /product/generic/obj/SHARED_LIBRARIES/
libaudioflinger_intermediates/LINKED/libaudioflinger.so'.  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.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

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)?