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:
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.