javascript - Cordova/Phonegap Show option to use either camera or gallery -
my basic need upload image server. image can taken using camera or gallery. know changing source type can set source image taken.
camera.picturesourcetype = { photolibrary : 0, camera : 1, savedphotoalbum : 2 };
this working me. want give user option select source type (camera or gallery) upon clicking button. how implemented in many apps. don't want 2 separate buttons camera , gallery.
i running on android device , using cordova sencha-touch.
Comments
Post a Comment