开发者

Using Android Camera

开发者 https://www.devze.com 2023-01-31 11:13 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消