Use an AsyncTask to start Camera as suggested

http://developer.android.com/reference/android/hardware/Camera.html#open%28int%29