I tried to make an Android app using HTML + phonegap 2.6.0, which supports:
<input type="file" />
By default, if HTML is opened through the Android browser, it will display a “camera”, “gallery”, “dropbox”, etc. when you click the @browse button. But if I run the HTML application on the application website, a file selection will appear that we can select from the gallery, Dropbox, music track, etc., with the exception of the camera.
I tried using: <input type="file" accept="image/*" /> , maybe when I run the application, it will show the camera icon. Unfortunately not.
My goal is when I press the browse button, the camera icon appears along with the gallery, etc. Can this be done with a telephone plug ?: (
android browser file cordova user-input
Safrul
source share