In a PhoneGap app I tried to use camera using HTML5 input
tag like this.
- create new project using CLI
- Add iOS and Android platform
- Add camera plugin
- build for both devices
- run on both devices (Actual device IPhone 5 with iOS 7.1.2 and Android 4.4.2 (Samsung Note))
Following is the code line that I tried to execute
<input id="imageHolder" type="file" accept="image/*" capture />
It works in iPhone but not in Android. What have I missed? Or is this not supported in Android?
After tapping on the field in Android nothing happens while in iPhone it acts like below