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

Add comments

Document information


More support for:

IBM Worklight
Application Development

Software version:

5.0

Operating system(s):

Windows

Reference #:

1614861

Modified date:

2013-01-04

Translate my page

Machine Translation

Content navigation