problem using sdcard in new version 0.9_beta

All your problems with Audio, Video and Images.

problem using sdcard in new version 0.9_beta

Postby hebbalhrk » Mon Aug 25, 2008 8:33 am

I created an sdcard image using
mksdcard -l newsdcard 1024M C:sd.img
and tried to push files onto sdcard, but it throws an error
Failed to push image003.PNG on emulator-5554: Read-only file system

please let me know the solution.

Thanks!
hebbalhrk
Developer
Developer
 
Posts: 37
Joined: Wed Jun 18, 2008 10:35 am

Top

push

Postby tberthel » Mon Aug 25, 2008 9:29 am

Did you use:

adb push filename /sdcard/filename

or

The emulator option to mount the sdcard image.


1G works for me.
tberthel
Experienced Developer
Experienced Developer
 
Posts: 57
Joined: Sun Apr 13, 2008 3:19 am

Postby hebbalhrk » Mon Aug 25, 2008 9:36 am

yes i did push the file, did a
adb push "C:image_003.png" /sdcard/image_003.png

Also tried pushing file onto the sdcard through the file explorer on DDMS view.
just browsed throug the emulator files, there is a folder by name sdcard. It does not have read write permissions
hebbalhrk
Developer
Developer
 
Posts: 37
Joined: Wed Jun 18, 2008 10:35 am

Postby velocity » Mon Aug 25, 2008 9:56 am

try removing the slash before sdcard
adb push "C:image_003.png" "sdcard/image_003.png"
velocity
Junior Developer
Junior Developer
 
Posts: 14
Joined: Tue Aug 19, 2008 12:05 pm

Postby cgreen » Mon Aug 25, 2008 10:13 am

don't forget to start your emulator with the -sdcard option
emulator -sdcard c:sd.img
User avatar
cgreen
Experienced Developer
Experienced Developer
 
Posts: 56
Joined: Wed Jul 16, 2008 10:16 am

Postby hebbalhrk » Mon Aug 25, 2008 10:34 am

Thanks!...
just removed the / before sdcard... it worked fine

one more query,
I am trying to add images to the picture folder on the emulator, where exactly is the emulator pointing to?
I put some images onto sdcard but it isn't reflected in the pictures folder.
hebbalhrk
Developer
Developer
 
Posts: 37
Joined: Wed Jun 18, 2008 10:35 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 12 guests