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 com.android.camera) 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)
 http://commonsware.com 

Android Training on the Ranch! -- Mar 16-20, 2009
 http://www.bignerdranch.com/schedule.shtml 

--~--~---------~--~----~------------~-------~--~----~


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 com.android.camera) has stopped unexpectedly.".
Happens even when clicking  menu->settings.

anyone has an idea?

thanks






--~--~---------~--~----~------------~-------~--~----~



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


 Hi,
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("com.android.camera.action.CROP");
i.setClassName("com.android.camera","com.android.camera.CropImage");

it is giving me exception, Camera(process com.android.camera) 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

Thanks





--~--~---------~--~----~------------~-------~--~----~



Cant view images

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


 Hi,
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("com.android.camera.action.CROP");
i.setClassName("com.android.camera","com.android.camera.CropImage");

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

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. Google Maps Key in Handset

Hi All

I have the app that shown google maps and no have problems in the emulator
console, but when made the install the apk in the handset no shown the map,
I've generated the google maps key with the following steps:

I need the special key for the handset ?

keytool -list -alias androiddebugkey -keystore  debug.keystore  -storepass
android -keypass android

if keytool is located from folder java\bin

this file debug.keystore is location from
* Windows Vista: C:\Users\<user>\.android\
debug.keystore
* Windows XP: C:\Documents and Settings\<user>\.android\debug.keystore
* OS X and Linux: ~/.android/debug.keystore this process generated code
similar a

91:03:B9:C3:95:29:94:84:D0:2F:F4:FB:71:CB:8C:CC

this code registred from url:
http://code.google.com/intl/ko/android/maps-api-signup.html

in this My certificate's MD5 fingerprint: copy code generated and click en
generate API key

this code copy in this class GoogleMapKey replace :
public static final String GOOGLE_MAP_KEY =
"0nksx1jILSUHd0i5NJfOKeb9jsZ5bSYz-Y99Ynw";
with code generated

-- 

2. Freezing Occurs When Executing Test Codes

Hi All

I wrote test codes(Instrumentation Test of Activities ) and executed..

it works well..  but sometimes  it's freezing

so, I checked testcodes, i finally made conclusions that android test
framework is not stable.

test is executing  setup() -> myTestCode() -> teardown()

i found after teardown() is finished and freezing is occurred.

Anyone like me same situation?

-- 

3. GingerBread DroidX and Droid2

4. On granting apps permissions

5. Opinions on updating a seasonal app; new app or in-app billing?

6. [Virtualization] Integrating KVM into the Android-froyo

7. How to select a tablerow in a tablelayout