Input Type="file" Accept="image/*" Doesn't Work In Phone Gap?
I tried to make a android app using HTML + phonegap 2.6.0 which is support: By default, if the HTML is open via android browser itself, it will show 'c
Solution 1:
For same need, i've madea custom menu with 2 button ! Take from camera / take from picture. After just use phone gap function camera.getPicture that opens the device's default camera application so that the user can take a picture (if Camera.sourceType = Camera.PictureSourceType.CAMERA, which is the default). Once the photo is taken, the camera application closes and your application is restored.
If Camera.sourceType = Camera.PictureSourceType.PHOTOLIBRARY or Camera.PictureSourceType.SAVEDPHOTOALBUM, then a photo chooser dialog is shown, from which a photo from the album can be selected.
http://docs.phonegap.com/en/2.6.0/cordova_camera_camera.md.html#Camera
Post a Comment for "Input Type="file" Accept="image/*" Doesn't Work In Phone Gap?"