try http://code.google.com/p/android-playground-erdao/wiki/SnapFace This is how I got my project like yours going. Basically there is a callback after the picture is taken. John
On Oct 14, 8:58 pm, wahib <[email protected]> wrote: > Hi!! I am stuck with this issue. When i press a button in my custom > app the built-in camera app executes but after taking snap i want to > run my code on the image taken but the camera preview doesnt > vanishes:S I just want to exit the preview and run my code. Being a > newbie i am really confused how to do it. > > This is the code in onclick() function for button --------- > > Intent intent = new Intent(); > intent.setClassName > ("com.android.camera", "com.android.camera.Camera"); > > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > startActivity(intent); > > myfunction() ; ///what i want to call --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

