Why does my android emulator fail when using a function to call the gallery?

view full story

http://stackoverflow.com – I have an android application that would call the gallery so the user could pick pictures. But it returns to the precious activity with this error. The application Camera(process.com.android.gallery) has stopped unexpectedly. Please try again. I have enaled a camera for the emulator, added 64 mb to the sd card. and it still doesn't work? Though I haven't added any image files as I don't know how but shouldn't it work normally? It shows a black background with a title on top "Gallery" then it crashes. The function works properly for my tablet when I made an apk for it. But the problem is, I (HowTos)