Debugging related to SD card is often encountered in andorid development, such as MP3 files and image files. When developing a simulator, you can simulate an SD card through a hard disk. The specific method is:
(1) Create an SD card image file: Open CMD and go to the tools directory of the SDK directory. Enter the foll
This article is transferred from "Android Network"
"Called animal School" hand in hand to teach you how to "Insert" the SD card to the android SDK 1.5 Simulator
Last week, I wrote an article titled"How to startAndroidSdks 1.5 Simulator"Tutorial! SeeForumEnthusiastic replies from netizens and Forum Moderators set my post to "excellent! I was very touched by th
Hippocampus simulator is an Android simulator, we can simulate the setup of the phone's SD card, then if the SD card mirrored file capacity directly to expand, you need to find a way, SD card expansion needs to occupy the computer above the hard disk space, it is also mainly
Summary: This article aims to introduce some basic commands for managing the SD card content in the android simulator, and also recommends a more practical tool. Environment used by the author: Windows 7 + Android SDK 2.2 1. Create an SD card and mount it to the simulator to run CMD and CD it...
This article a
Debugging related to SD card is often encountered in andorid development, such as MP3 files and image files.
When developing a simulator, you can simulate an SD card through a hard disk. The specific method is:
1. Create an SD card image file
Open CMD and enter the C root directory. Run the following command:
1. mksdcard command
Run cmd to enter the SDK tools directory and run the mksdcard command. The following help information is displayed:
We can see that sdcard image supports the FAT32 format. Usage: mksdcard [-l label]
-L the disk is followed by the volume label. For example, G indicates g disk;Size indicates the size, measured in KB and MB;File indicates the generated SD image file name, such as android_sdcard_image.
2. Simulate SD steps for S
This article aims to introduce some basic commands on how to manage the SD card content in the android simulator, and also recommends a more practical tool.
My environment: Windows 7 + Android SDK 2.21. Create an SD card and mount it to the simulator run cmd, and CD it to the Android-SDK \ tools \ directory. Enter the
1, if the user is only the general degree of use of the simulator, and will not download a large number of games and application tools, then expand the SD card capacity is also unnecessary, 2G space equivalent to the current market of most Android phone's SD card configuration. But the actual situation is usually the most to force assistant users for their conven
Add a file directly to the SD card of the simulator in ddms. If an error occurs, the following error occurs:Failed to push xxxxx.txt on emulator-: Read-Only file system error, because your sdcard permission is insufficient and you need to create an sdcard directly.
I. First create an sdcard. The name of the sdcard I created is sdcard. IMG (the name is random and ends with the name of the IMG extension)
This article describes the Android simulator to achieve the mobile phone to add files to the SD card method. Share to everyone for your reference, specific as follows:
Add files directly to the emulator SD card in DDMS if there is an error like this: Failed to push XXXXX.txt on emulator-: Read-only file system error because your SDcard permissions are not suffic
Mounted SD card for Android simulator in Linux
1. Create an SD card:
~ /Gingerbread $ mksdcard-l mysdcard 256 m mysdcard. img
Create an SD card image file in the current directory named mysdcard. IMG. 256 MB indicates that the size of the SD card is MB.
2. Start the
The android simulator allows us to use the disk image in FAT32 format as the SD card simulation:All of the following operations are performed in Windows
First, run cmd to go to the command line interface (you need to set the tools in the directory where your android SDK is located to the environment variable path in advance)
In addition to the eclipse method, the following commands are run on the comman
The sdcardfile is generated using the mksdcard.exe command in the toolsdirectory. to generate an sdcard file of MB, run the following command:
Note the following six points when using the mksdcard command in the OPhone simulator:
1. The mycard command can use three sizes: byte, K, and M. If only a number is used, bytes are used. It can be followed by K, for example, 262144 K, or 256 M.
2. The Virtual File
1, because the simulator must be installed under the system disk, so the default SD card file is also stored in the C disk, then the expansion of capacity will inevitably lead to the reduction of C disk space, which is usually intolerable to users, so you also need to transfer it to the hard disk of other more free partitions, The following functions can be used to facilitate the implementation of the Force
Use SD card in Google Android SimulatorFrom the perspective of this document, the android simulator allows us to use a disk image in the FAT32 format as a simulation of the SD card. Today, I tried to record the process and share it with you:1. Go to the tools subdirectory under the android SDK directory and runMksdcard-l sdcard 512 M/your_path_for_img/sdcard. img
Android SDK + eclipse provides the SD card simulation method. The usage is as follows:
1. Create an SD card image file.
Mksdcard 1024 M sdcard. img
This command will generate an sdcard. imgfile in the current directory, which is the SD card image file of the android simulator.
1024 MB indicates 1024 MB
Open the Eclipse.exe main program of the desktop and come directly to his homepage.
Locate the window----Show view----Other button on the top of the tool
After opening, we click on Android to expand him.
After you expand, double-click the File Explorer tab below
The File Explorer tab will appear below
In the bottom we double click on the mnt---sdcard tab
With the SDcard tab selected, we click the button in the top right corner
Select Local songs, here we hint, we can only choose En
I use liunx (UBUNTU) as an example:
1. Create an SD card image file
1) Open the terminal to enter the android SDK directory tools directory (such as my path is/home/XXX/android_install/android-sdk-linux_x86/tools );
2) Run mksdcard creation: root @ xxx:/home/XXX/android_install/android-sdk-linux_x86/tools # mksdcard 256 m sdcard. img
The first parameter is the size of the sdcard to be created (determined by the size), and the second parameter is the n
Starting point:Traditional game simulators (FC, Neo, FBA, GBA, Mame, n64, NDS, and PSP) are all moved to Android phones, the game Rom is then saved to the SD card and run through the simulator. However, considering that mobile games must follow the fast forward and fast forward principles, I have implemented the following micro-innovations on this basis:
1. directly put the game Rom in the android APK, clic
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.