Tuesday, April 20, 2010

Free Streaming Tiffy Towers

simulation of an SD-Card

Folgende Schritte ermöglichen die Simulation einer SD-Speicherkarte im Emulator:
Per Change Directory-Befehl ("cd pfad") in den SDK-Unterordner "tools" wechseln und dort folgenden Befehl ausführen:
    mksdcard "size"M "file" wobei "size" der Platzhalter für die gewünschte SD-Card-Größe und "file" der Platzhalter für den gewünschten Pfad sind. Ein konkretes Beispiel könnte also so aussehen:
  1. mksdcard 56M c: \\ temp \\ sd_card.img

  2. Now, the only just created image file to the emulator will be made available (mount):


  3. open the menu "Run Configurations" on in the Eclipse menu (Run> Run Configurations)


    • W echseln the tab "Target"
    • In the "Additional Emulator Command Line Options, add the following statement:
    • -sdcard c: \\ temp \\ sd_card.img
    • NOTE: Depending on the version must be manually at this point even-useaudio be added, which allows the audio processing.
      the moment, the simulated memory card is still no content. To copy files to it will be again in the SDK \\ tools folder on the command line following command (in active Emulator):
      adb push "file" "destination"
    example, so

  4. adb push " c: \\ meine_musik \\ test.mp3 "/ sdcard
    This will copy the specified file to the SD card image. can
    now now in the IDE and the emulator through the path / sdcard/test.mp3
    auf die Datei zugegriffen werden.

  5. --us

0 comments:

Post a Comment