Trying to send a external file to Android Emulator


Last Updated:

  1. k.sumita

    k.sumita New Member This Topic's Starter

    Joined:
    Jan 6, 2010
    Messages:
    3
    Likes Received:
    0
    Hi,

    I tried to send an external file to android emulator using push and pull commands of adb tool.But these files are sending to SDCard.
    Even i tried to cofigure SDCard in emulator, but it doesnt give me any luck to find transfered files in emulator.:(

    Gallery is only showing 'No Media Found'.

    Could anyone please give me correct pointer how can i transfer files to android emualtor and where can i find those files.

    Also i have one doubt that is android doesnt have its own primary memory.:confused:
    I searched a lot from net,got only posts explaining commands to create SDCard and to transfer files to it.But i want to transfer files to its own memory.
    I would be very much gald if anyone helps on this problem.
    I have been trying this for last 4 months.:mad:


    Thanks
    Sumita
     

    Advertisement
  2. vikasnshah

    vikasnshah Member

    Joined:
    Jan 7, 2010
    Messages:
    21
    Likes Received:
    0
    If you are using Eclipse and running the emulator while debugging an application, you should be able to use DDMS in the GUI (Window -> Open Perspective -> Other... -> DDMS) to access the internal memory of the emulated device.
     
  3. k.sumita

    k.sumita New Member This Topic's Starter

    Joined:
    Jan 6, 2010
    Messages:
    3
    Likes Received:
    0
    Hi Vikash,

    Thanks for your reply.
    I tried that too.
    If i transfer the file,
    1- android stores in SD memory card.But i want to save in memory of mobile itslef.Is it possible to save external file in mobile's memory so that we can get this file in a gallery ?

    2- When i transferred the file, it found file in DDMS but permissions are denied to write

    Please anyone help me to come out of this problem.

    Thanks,
    Sumita
     
  4. k.sumita

    k.sumita New Member This Topic's Starter

    Joined:
    Jan 6, 2010
    Messages:
    3
    Likes Received:
    0
    Hi,

    sdcard folder which i created, it has permission like 'd---------', so not able to copy any files in it .
    Could anyone help me how to change permission of it ?:(
    I will be very glad to have a reply for this.:rolleyes:

    Thanks,
    Sumita
     
  5. mhsevan

    mhsevan New Member

    Joined:
    Mar 23, 2011
    Messages:
    1
    Likes Received:
    0
    try

    dev tools >> media scanner

    it will find all media file of ur emulator.... :)
     
  6. AndroPia

    AndroPia New Member

    Joined:
    Mar 3, 2012
    Messages:
    1
    Likes Received:
    0
    1. Install File Explorer application in your emulator by adb as explained above.
    2. Close your running emulator
    3. Go to installation folder for SDK \android\.android\avd
    4. You will see a folders named your emulator you just created
    5. Open the folder then you will see sdcard.img file
    6. Open the file by UltraISO.
    7. Drag and drop any file you want to copy, save and close UltraISO
    8. Run your emulator again then open File Explorer you just installed it from your emulator.
    9. KISS ME!
     

Share This Page

Loading...