Click here to Skip to main content
Rate this: bad
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
Please Sign up or sign in to vote.

Solution 1

You can find a full working example at PhoneGap Camera API Guide[^] Or Capturing camera/picture data without PhoneGap[^].
manueferns at 29-Jun-13 5:26am
i done a app in android which supports camera using html and works but i need Show camera view inside html design(div)or a user difined interface...not the native cam design..plz help...
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.
manueferns at 29-Jun-13 6:48am sir thanks.......
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

You could exam this demo...(see second preview image)[^]
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" />

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

  Print Answers RSS
0 OriginalGriff 545
1 Maciej Los 475
2 Sascha Lefévre 289
3 CPallini 285
4 Sergey Alexandrovich Kryukov 274
0 Sergey Alexandrovich Kryukov 9,897
1 OriginalGriff 9,395
2 Peter Leow 5,162
3 Kornfeld Eliyahu Peter 3,373
4 Maciej Los 3,036

Advertise | Privacy | Mobile
Web04 | 2.8.150327.1 | Last Updated 25 Oct 2013
Copyright © CodeProject, 1999-2015
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