I'm new to developing apps in Android.
We are currently creating a robot using Android that accesses the camera for image processing.
My question is: How long will the takePicture() method in Camera class will finish executing from the time it take a picture to the time it stores the image data? Is it constant or you need to specify it?
I would appreciate it if you provide links with your answers. Thank you.
It depends on the phone itself. What you should do is to save the image in an
AsyncTask
so you don't have to rely on the UI thread.