I'm having a hard time starting a camera preview after a long delay (several seconds) while my program initializes. I've experimented with various methods of starting the camera preview but no matter how I do it, the screen is black until I stop and resume the program (i.e. go to the main screen on my GPhone and then back to the program). Then the camera preview works normally. I'm following the Camera application in the source tree as a guide to setting up the camera preview. I can start the preview immediately when my program starts and then everything works normally. But I want to show a progress window while my program initializes and only switch to the camera preview when everything is ready. If I try to do this, I can't get the camera preview running.-- or rather, LogCat shows the camera preview starting but nothing is shown on the screen of my GPhone I've verified that the calls to the camera, setting the preview display, etc. are the same when the camera preview works and when it doesn't work. It appears that the only difference between the working and non-working situations are the long delay between the time my program gets control and when it starts to preview. Is there some trick to getting the camera going that I don't know about? The Camera app doesn't quite do the same thing -- it starts right away -- so this doesn't answer my question.
--~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---