Faheem Kalsekar
Faheem Kalsekar

Reputation: 1420

Using Android Camera

I am developing which 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?

Upvotes: 4

Views: 2664

Answers (2)

ninjasense
ninjasense

Reputation: 13856

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

Upvotes: 2

bschandramohan
bschandramohan

Reputation: 2006

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.

Upvotes: 0

Related Questions