I've had some opportunity to test.  Mark, I tested your code but it seems 
this issue is tied to using autofocus and preview callbacks.

I've created a minimalistic sample that reproduces the problem.  The 
following code will run on all of my Android devices that are < 2.3.3 but 
not on 2.3.3.  
source - http://pastebin.com/TQsfiyTr
main.xml - http://pastebin.com/DQHW2jVS

There are 2 issues I can illustrate with this source running on a 2.3.3 
device:

   1. Uncomment the 2 lines in Camera.PreviewCallback.  The app will crash 
   because the camera parameters are null.  Note, you will need to add the 
   import android.hardware.Camera.Size; (I got over-zealous when cleaning up 
   this example).
   2. Leave the 2 lines commented out, the preview will not initialize and 
   screen will remain black.  Logcat will show that media/camera server have 
   crashed.

Again, we've been running this base-code for over a year on non 2.3.3 
devices.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to