Using Android Camera
I am developing which开发者_如何学JAVA uploads a picture taken from Android phone to Picassa. AFter having browsed few sites, I found there are two ways to go about it. 1) Using SurfaceView and Camera Callbacks 2) startActivityforResult(CAMERA)
Which method should I use?
Camera callback will save you alot of work, but if you need something custom you can implement the surface view. Heres a good thread about the camera callback
Camera callbacks is better as you will have full control on the image data taken. You can verify the picture quality and then ask for retake if required. You should also probably do the uploading to picasa site in a Async task.
精彩评论