plugins - Creating an App using a camera for Android -
i aspiring developer trying create app. have seem come brick wall. creating app android market, because don't own mac or create both ios , android. can't seem figure out plug-in use make camera. simple , overlooking something. want able click row/button , camera turn on. once photo taken, directs page options photo. possible or wishful thinking? appreciated. thank you!
yes, possible: http://developer.android.com/reference/android/hardware/camera.html
you have open camera, maybe when user clicks, call
camera.takepicture(null, null, new camera.picturecallback() { public void onpicturetaken(byte[] data, camera camera) { // picture... startactivity(new intent(context, newactivity.class)); } });
Comments
Post a Comment