Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Android PhoneGap
Showing camera view inside html in androiShowing camera view inside html in android and then snap a pictured and then snap a picture
Posted 28-Jun-13 22:16pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hello,
 
You can find a full working example at PhoneGap Camera API Guide[^] Or Capturing camera/picture data without PhoneGap[^].
 
Regards,
  Permalink  
v2
Comments
manueferns at 29-Jun-13 5:26am
   
sir,
i done a app in android which supports camera using html and phonegap...it works but i need Show camera view inside html design(div)or a user difined interface...not the native cam design..plz help...
thanks
Prasad Khandekar at 29-Jun-13 5:35am
   
Unfortunately that's not supported by Phonegap. However, PhoneGap allows you to write custom plugin that works on the native code, so, as long that's possible on native app, you should be able to write a PhoneGap module that allows to achieve that.
 
Regards,
manueferns at 29-Jun-13 6:48am
   
oh..no...k sir thanks.......
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You could exam this demo...(see second preview image)
https://play.google.com/store/apps/details?id=org.mospi.ageteApiDemo[^]
 
This is a kind of hybrid framework like Phonegap.
 
<div id="camera_output" class="moml_camera" style="margin: auto; width: 96%; height: 250px; background: white">
  <script type="xml/momloverlay">
    <moml:CAMERA id="cam" />
  </script>
</div>
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 7,800
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,790


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 25 Oct 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100