user983447
user983447

Reputation: 1727

how can I transfer files to SD card of emulated device while developing Android app in Eclipse?

I develop Android app in Eclipse. I test it in emulator. This emulated device has emulated SD card. I want to put some files on this card. How can I do that?

Upvotes: 0

Views: 967

Answers (4)

Sunil Kumar Sahoo
Sunil Kumar Sahoo

Reputation: 53647

  • Select Device -> select the emulator (see step-1 in image)
  • Select File Explorer -> SDCard-> Select Directory (DCIM) (see step-2 in image)

  • select Push a file OntoDevice image -> select the file -> click on Open button (see step-3 in image) see the attached imageenter image description here

Upvotes: 1

Egor
Egor

Reputation: 40193

Go to DDMS Perspective in Eclipse or open the ddms.bat application in the android-sdk/tools folder. Select your emulator in the list, then go to File -> Device -> File Explorer.. Select the sdcard and click the Push file onto device icon in the menu. This should work.

Upvotes: 0

dira
dira

Reputation: 30594

  1. Switch to DDMS perspective
  2. Open File Explorer
  3. Locate SD card(desired folder)
  4. There is one icon - Push a file onto the device

Upvotes: 0

Paresh Mayani
Paresh Mayani

Reputation: 128428

You can push file into the Sd-card of emulators (Just check left/right arrow icon with mobile/floppy sign).

You find out the below view inside the DDMS, select a particular device from devices list, and then select File Explorer. (In short, steps are: DDMS -> device selection -> File Explorer)

enter image description here

Upvotes: 0

Related Questions