input type file is not working in phonegap app with accept='image/*;capture=camera'

2,564 views
Skip to first unread message

Vijay Barnwal

unread,
Aug 29, 2014, 3:29:19 AM8/29/14
to phon...@googlegroups.com
Hi,

I want to support upload media from my phonegap app but it doesnt support in android.

my code is :

<input type="file" accept="image/*;capture=camera" />

I am unable to see camera option in android phonegap app while in iphone its working.

in iphone when I select captured file from camera it refresh the app i know its the memory issue but can anybody tell me how to resolve these issue I dont want phonegap camra plugin anymore.


Thanks,
Vijay

jcesarmobile

unread,
Sep 8, 2014, 3:06:36 PM9/8/14
to phon...@googlegroups.com
on android the accept parameter doesn't work

in fact, in android 4.4 input file doesn't work at all (well, it has been fixed now on 4.4.3 and 4.4.4) more info http://stackoverflow.com/questions/19882331/html-file-input-in-android-webview-android-4-4-kitkat

Santhosh san

unread,
Mar 10, 2015, 5:17:36 AM3/10/15
to phon...@googlegroups.com
am new of the android phonegap whenever browse the image in phonegap it will not return the image extension
Reply all
Reply to author
Forward
0 new messages