getpicture

Phonegap - give user option of PictureSourceType

自古美人都是妖i 提交于 2019-12-18 09:17:54
问题 just starting out with this: My PhoneGap app at some point uploads images to a server through a form. I can get the image from the CAMERA and I can get the image from the PHOTOLIBRARY. Is there a way of specifying multiple sources for the sourceType: Camera.PictureSourceType or does it only take one at a time. In other words... Is there a way to give the user the option of selecting their photo source that is native to PhoneGap or do I need to create my own 2 buttons in which the user can

Phonegap - give user option of PictureSourceType

六月ゝ 毕业季﹏ 提交于 2019-11-29 16:03:58
just starting out with this: My PhoneGap app at some point uploads images to a server through a form. I can get the image from the CAMERA and I can get the image from the PHOTOLIBRARY. Is there a way of specifying multiple sources for the sourceType: Camera.PictureSourceType or does it only take one at a time. In other words... Is there a way to give the user the option of selecting their photo source that is native to PhoneGap or do I need to create my own 2 buttons in which the user can select "Take Photo" or "Select Photo from Library" I have no problems building the 2 button solution but i