Skip to main content

Use of Camera Feature results in unexpected behaviour in Worklight Studio mobile browser simulator


Technote (troubleshooting)


Problem(Abstract)

Attempts to use camera feature in IBM Worklight Studio mobile browser simulator results in unexpected behaviour.

Symptom

When navigator.camera.DestinationType.DATA_URL is specified as a data type, image
should be returned as encoded image; however, actual result is not encoded image meanwhile it works in expected way in actual mobile device.


Cause

The camera feature in mobile browser simulator is not present at the moment.

Resolving the problem

WORKAROUND :

Use navigator.camera.DestinationType.FILE_URI as the specified data type.


Related information

A Japanese translation is available

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

IBM Worklight

Application Development


Software version:
5.0


Operating system(s):
Windows


Reference #:
1614861


Modified date:
2013-01-04

Translate my page

Content navigation