Cant view images

by myIP » Fri, 23 Jan 2009 09:31:02 GMT

Sponsored Links
 When I try to view an image (any image) in the emulator, I get a pop-
up with the following message:

"Sorry!  The application Camera (process has
stopped unexpectedly.  Please try again."

Again, all I am trying to do is view an image.  Any suggestions?

Cant view images

by Mark Murphy » Fri, 23 Jan 2009 09:39:06 GMT


Could you define "view an image"? What exactly are you doing?

Mark Murphy (a Commons Guy) 

Android Training on the Ranch! -- Mar 16-20, 2009 


Sponsored Links

Cant view images

by myIP » Sat, 24 Jan 2009 04:15:44 GMT

 I mounted a SD card in the emulator; using the following command:
emulator -sdcard <file>

And then pushed JPEG images to it; using the following command:
adb push <local> <remote>

I am able to view these image's *thumbnails* fine in the Picture
application.  However, when I click on the thumbnail to view the
image, the emulator fails and attaches the pop-up I mentioned in my
original post.

Cant view images

by myIP » Sat, 24 Jan 2009 04:40:56 GMT

 Errr.  Now I get this error message in Eclipse's Console when I try to
run my application.

"... Failed to upload Zeal Project.apk on 'emulator-5554': No space
left on device"

I only have one third party application installed on the emulator and
23MB of pictures on a 1gig SD card.

Cant view images

by OCS » Sun, 01 Feb 2009 08:10:54 GMT

 have the same problem. push the images into the sdcard . Can see the
thumbviews but when click to view the image the emulator crash saying
"Camera(process has stopped unexpectedly.".
Happens even when clicking  menu->settings.

anyone has an idea?



Cant view images

by myIP » Tue, 03 Feb 2009 01:39:02 GMT

 The culprit, 'Android SDK: android-sdk-windows-1.0_r2'.
The solution, use 'Android SDK: android-sdk-windows-1.0_r1'.

I just downloaded 'release 1', and placed it in the same directory as
'release 2'.  Then changed my setting in Eclipse and now I am able to
view the images.

Unless I didn't configure r2 or I am unaware of its limitations; then
in my opinion, it is the culprit until proven otherwise.

Cant view images

by zeeshan » Fri, 06 Mar 2009 05:23:41 GMT

i am having the same problem as well.

actually i need to use crop funtion for my images,

here is some of my code:

Intent i = new Intent("");

it is giving me exception, Camera(process has
stopped unexpectedly, later i realised when i try to view any image in
the Pictures directory, it gives me the same error.

is this problem in sdk release 2?

plz advise



Cant view images

by zeeshan » Fri, 06 Mar 2009 05:23:42 GMT

i am having the same error when i try to open any image in the
Pictures directory.

i actually want crop funtion like

Intent i = new Intent("");

which is giving me the same error as it is related to the above

is this bug in sdk-r2 or do we have any other solution?


Cant view images

by mcmc » Sat, 07 Mar 2009 02:05:33 GMT

 Try running "adb logcat" when the emulator is running. It should tell
you the problem, or at least where the problem lies...


Other Threads

1. Question about following the activitycreator script


I am trying to follow the documentation here for using the
activitycreator script.
It said 'When that command successfully completes, you'll be left with
a file named HelloAndroid.apk under the 'bin' directory. That .apk
file is an Android Package, and can be installed and run in your
emulator using the 'adb' tool.'

But after I am done, I only get these:
$ ls
HelloAndroid-debug.apk  classes
HelloAndroid.ap_        classes.dex

Can you please tell me if I need to change the script for it to work
on Mac?

Thank you.


2. Differing HTTP packages?

Someone recently posted an HTTP connection example which used:

import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.methods.PostMethod;

However my Android SDK (installed under Eclipse) does not have these
packages;  instead it has org.apache.http.*

What is the difference?  Why are two, apparently similar APIs for REST



3. Background Repeat in relativeLayout

4. Using a layout defined in xml with a custom class

5. How do I custom highlight selected ImageView like Grid demo

6. button onclick response in dialog

7. Want to have amr file still getting 3gp