Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Creating and Managing a SDCard image file

Creating and Managing a SDCard image file

Quickly share your Android Code Snippets here...

Creating and Managing a SDCard image file

Postby ninor » Mon Oct 06, 2008 4:29 pm

Creating and Managing a SDCard image file

In the Command Prompt type the following:
Code: Select all
mksdcard -l test 10M c:androidtest1.img


Now start the Emulator and load the SDcard from the Command Prompt by typing:
Code: Select all
emulator -sdcard c:test1.img


Once the Emulator is started, open another Command Prompt instance and try copying a file to SDcard by typing:
Code: Select all
adb push e:nicepicture.png sdcard/nicepicture.png


Later you can retrieve the same file from SDcard to your system by typing:
Code: Select all
adb pull sdcard/nicepicture.png d:


Verify if the file has been copied in your filesystem (in d:)

SDK Version compatible: 0.9, 1.0 (maybe prior versions too)

Credit: Rahul (Thanks!)
Image AndDev: Your Android Development Community / Tutorials | Here's my Basic ToolKit
User avatar
ninor
Moderator
Moderator
 
Posts: 180
Joined: Thu Aug 14, 2008 6:30 pm
Location: Barcelona, Spain

Top

Return to Code Snippets for Android

Who is online

Users browsing this forum: No registered users and 5 guests