×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2013
    Posts
    2

    Take a picture with Lumia 800 using HTML

    (Hopefully this is the right place to ask, if not, please move the thread)

    Simple question: I want to use my Lumia 800 to take a picture and upload it when I press a button in a HTML-page. I think this is like 4-5 lines of code all-in-all. So I'm looking as an answer either HTML-code or some clarification about why Lumia doesn't like HTML5 and what can I do about it.

    Here's the code:
    <form action="server.cgi" method="post" enctype="multipart/form-data">
    <input type="file" name="image" accept="image/*" capture>
    <input type="submit" value="Upload">
    </form>

    This works with iPhone with no problems, but does absolutely nothing with Lumia 800 or Lumia 920.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2012
    Location
    Bilbao
    Posts
    53

    Re: Take a picture with Lumia 800 using HTML

    Hi!

    As you can see here: http://mobilehtml5.org/ , IE10 not support HTML5 Media capture. This is the reason your code don't work... no way to use media capture in Windows Phone until browser full support it.

    If you are doing an app with PhoneGap, you still can use the phonegap native interfaces to Access camera of the device.

  3. #3
    Registered User
    Join Date
    Mar 2013
    Posts
    2

    Re: Take a picture with Lumia 800 using HTML

    Ok, good to know. This basically decides that we are going to invest on iPhones when buying new hardware.

    Thanks for the answer!

    Quote Originally Posted by josueyeray View Post
    Hi!

    As you can see here: http://mobilehtml5.org/ , IE10 not support HTML5 Media capture. This is the reason your code don't work... no way to use media capture in Windows Phone until browser full support it.

    If you are doing an app with PhoneGap, you still can use the phonegap native interfaces to Access camera of the device.

Similar Threads

  1. HTML string Displaying in HTML
    By rana.anees in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2012-03-13, 21:41
  2. CameraMMS - Captured picture doesn't correspond to picture in view finder on E52
    By nikolajkolbe in forum [Archived] Qt Mobility Project
    Replies: 8
    Last Post: 2010-11-24, 20:33
  3. Need to select picture from picture gallery and display it
    By decs75 in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2005-07-05, 04:46
  4. copying Picture from Picture message to PC
    By dripster82 in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2003-11-18, 01:18
  5. Picture Message text/picture ratio Help
    By desmondchang in forum Smart Messaging
    Replies: 1
    Last Post: 2002-10-14, 10:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×