Reputation: 239
I have created an app using phonegap which require upload image from gallery,camera etc.
I am using
<input type='file' accept='image/*;capture=camera' />
but it doesnt support on android it only shows me gallery not camera option while in iphone it works for camera but after selecting captured camera image it refresh the app.
Please help me if I am doing any mistake.
Thanks, Vijay Barnwal
Upvotes: 3
Views: 1162
Reputation:
Bro I guess the syntax mistake in the code you have given it should have been
<input type='file' accept='image/*' capture='camera' />
instead of
<input type='file' accept='image/*;capture=camera' />
Upvotes: 1