Are you asking why when you are using Eclipse and trying to access the camera when using the emulator you are getting a black screen?
If so then the reason is that there is no actual camera in the emulator...
I read somewhere that you can hook up a web cam somehow such that the emulator uses it as it's camera...
I will try to find it and post a link.