Size 0kb for all transferred images to sdcard (Android Emulator)

by Kevin Cherdchai » Mon, 18 Jan 2010 04:27:04 GMT


Sponsored Links
 Hey Android community, I'm actually new here, so I would like to ask
for some guidance.

I recently just setup the Android SDK and got the emulator to be up
and running. However, right now I'm not able to add files into the
sdcard.img for some strange reasons.

I entered the following command:
adb push test.jpg /sdcard/test.jpg

What happens is the file shows up inside the image, but it reports
that the file has the size 0kb which is what I don't know where to
approach.

My end goal is to get the image to pop up within the gallery, but
apparently it always show "No media found" in which i suppose it came
from the 0kb in size.

Any help or suggestions would be greatly appreciated. Thank you in
advance.



Other Threads

1. Get user's email address

As part of my app, I'd like to give the user the option to register
for an account on my site.

I'd like to pre-populate a field in my registration form with the
user's email address so that he/she doesn't have to type it out
again.  Is there any way to get the email address of the Google
Account that the phone is registered with?

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

2. batch file

Is it possible to run batch files on android? I have a g1 phone and i
want to run a batch file that automatically opens a application and
inserts some commands.

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

3. N00b: Do I really need the official developer hardware kit?

4. how to solve error due to dalvik format conversion

5. Latvian locale

6. How can I get current Activity object in Instrumentation object ????

7. question about viewgroup margins