Skip to content Skip to sidebar Skip to footer

Automatic Picture Capture On Phonegap

I am trying to build an app with PhoneGap and Android and was wondering if anyone knows how to have an app automatically capture a picture, say 5 seconds after the user opens the

Solution 1:

When you can do a setTimeout in you on "deviceready" event handler to call navigator.camera.getPicture() but there is no way to automate the clicking of the button. The user will need to do that. Other than that you'd need to write a plugin to automatically take the picture if that is what you really need.


Post a Comment for "Automatic Picture Capture On Phonegap"