internal web application able to call Camera API for TC72 to capture image to be saved by web application.

// Expert user has replied.
N NICOLE BAISDEN 6 months ago
46 2 0

I would like to create a web app, that would be accessible on the Zebra TC72, that would be able to interact with the camera.  The user would use the web app on the scanner to take a picture with the scanner camera and save it to out network.  Ideally, we would call a camera api to be able to use the camera and send the picture to our network.  
Is this a possibility, or is it required to use the enterprise browser to be able to achieve this?

 

Please Register or Login to post a reply

2 Replies

I Ian Hatton

Enterprise Browser will provide a camera API to do this : https://techdocs.zebra.com/enterprise-browser/latest/api/camera/

The alternative option using the Chrome browser will be very limited in functionality unless you use a webkit-based development platform such as Cordova

N Nicola De Zolt

Hi NICOLE BAISDEN - I also found this post from you https://developer.zebra.com/content/internal-web-application-able-call-…

Replying to both of them, on top of Ian's suggestions, please look at https://techdocs.zebra.com/enterprise-browser/3-7/api/camera/#transferi…, a sample using EB.Camera and EB.Network to take a picture and upload it to an HTTP server.

This should solve your problem.

CONTACT
Can’t find what you’re looking for?