Thursday, April 2, 2015

Capture images in android hybrid mobile apps

Are you unable to capture images from android hybrid mobile app ?

Or cordova take picture not working.

Here is the solution

If you are unable to capture images from some of the devices from your android application.

Like capture image for nexus tab which uses Android version greater than 4.4.0
Check out following permissions:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />






Also some user features:





We need to give write file permissions as well. Which we didn't have to give in previous versions as before it stores captured images in buffer but in some devices it first need to store images in File System then from there it picks.



1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete