Skip navigation
Currently Being Moderated

Using iPad2 Camera in DPS publication

Nov 16, 2011 7:58 AM

Tags: #camera #ipad #ipad2 #html5 #digital_publishing_suite

We are investigating the feasibility of creating an HTML stack that would appear mid-issue, that would allow users to take a picture with their camera and insert in to the layout. Was wondering if this is possible within the DPS environment?

 

Much thanks!

Stephen

 
Replies
  • Currently Being Moderated
    Nov 18, 2011 2:44 AM   in reply to Stephen Barrante

    AFAIK you dont't get access to the Devices Camera with HTML.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 25, 2012 5:33 PM   in reply to Johannes Eckert

    I have been searching teh same topic, and have found this:

     

    http://www.html5rocks.com/en/tutorials/getusermedia/intro/

     

    Appears that using HTML5 it is possible to access camera, audio, accelerometer, GPS, etc by using a new API, navigator.getUserMedia()

     

    Does anyone else know if this works?

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 1, 2013 5:42 AM   in reply to Cotton_Pete

    So no real-world experience in DPS? Would like to try use GPS location in DPS publication on local map...

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 1, 2013 6:45 AM   in reply to Martin Lér

    You can use the camera inside DPS publications on devices running iOS 6 or later. This is a built-in feature of HTML in iOS6. Earlier versions of the OS don't have support for this.

     

    To access the camera use something like this:

     

    <input type=file accept="video/*">  (for video files)

    <input type=file accept="image/*"> (for pictures)

     

    There isn't any way to get at the GPS in a DPS publication currently.

     

    Neil

     
    |
    Mark as:
  • Currently Being Moderated
    May 14, 2013 2:28 AM   in reply to Neil Enns - Adobe

    This is correct for images that has been taken by the device-camera already. Unfortunately this is not written clearly.

     

    So yes, you can access the photo and video library on your device to upload a static / motion image which has been already taken by user.

    But you cannot implement a live image of the device-cam in your DPS publication yet. This has to be implemented in iOS WebKit through getUserMedia which is not likely to be implemented before iOS7 is coming out (and I have no clue if it will be included there).

     
    |
    Mark as:
  • Currently Being Moderated
    May 14, 2013 9:48 AM   in reply to Neil Enns - Adobe

    Depending on your needs, you can use the Google Maps API for geolocation, I don't know if it using the devices actual gps or just wifi for loaction data, but it does work.

     
    |
    Mark as:
  • Currently Being Moderated
    May 14, 2013 9:51 AM   in reply to jkuhns5

    For Geolocation (which is another question) you surely can use the geolocation feature of HTML5.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points