i am suffering with a problem that in android 2.2 emulator, camera doesn\'t work. it closes down the camera automatically. But this problem is not happening in android 1.5 emula
This is a known issue and has been asked several times on SO - here are some pointers to possible solutions. However, the camera emulation in 2.2 is known to be buggy:
So you have two options: Either you try to follow the directions, given by the correct answer in the first thread or switch to an emulator running on either 2.1 or 2.3+.