applicable on 1.5! However, most operations are the same! Thank you for choosing the forum."Longjiang youth"And"Ah Xing"TwoHero! I will invite you to have a lollipop if you have the opportunity to call the beast..
Tutorial Segmentation At the beginning, we still need to use Win + R , In the pop-up box Input CMD And then the black box will Automatic Pop up! Enter D: [Because the simulator called the beast is placed on disk D,
/sdcard/
L be case sensitive!Fat: utf8 is not a recommended Io charset for fat filesystems, filesystem will BE case sensitive!Mount: invalid argument
If you mount mmcblk0, this error message is displayed, and mmcblk0p1 is successfully mounted. Of course, you should not manually mount it under Android. Otherwise, the SD card cannot be found in the upper-layer application software,
2
In the android Kernel
With only a single OK6410 board, a 8G SD card, no associated JTAG debugger, and no integrated development environment available, how do bare metal development work? The Manual for query development shows that the 6410 chip supports booting from the SD card, so bare metal development starts with the
directory New directory Linux location is SD card->images->linux To friendlyarm.ini the provisions of the U-boot_nand-ram256.bin zimage_n43 Rootfs_qtopia_qt4-mlc2.ubi rootfs_qtopia_qt4.ext3 These four files (under images/linux/in the disc location) are copied to the images->linux of the SD
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
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
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
directory is the SD card mount directory, the files in this directory will be the SD card file nameSTEP4: Mount the SD card.Execute command: $ mount-t vfat/dev/mmcblk0p1/udiskSTEP5: Enter the
. Read the fat table.In the above example, the position of the fat table should be the first sector of the partition and then offset the number of hidden sectors, that is, 63 + 38, equal to 101. Therefore, from the 101 sector of the SD card, it is the fat table of partition 1, with a total of 7793 sectors.
7. Read the root directory.In fat16, the root directory is independent. It should be possible to cre
We often need access to the contents of the SD card in the development of Android, and because there are so many files, we want to search the SD card. This article gives an example of an Android development that demonstrates how to search for
) {
e2.printstacktrace ();
}
}
return file;
}
Attention matters
For the operation of the SD card, you must request permission:
See here for details http://www.jb51.net/article/34296.htm
Note: Do not read directly is to prevent the file operation on the memory consumption, so use the input stream read to the hard disk.
public string ReadFile (String fil
$WORK _dir/sunxi-tools/fex2bin Cubieboard2.fex Script.bin
So that the production of the necessary things are ready, the next is to put these copies to the TF card
When the A20 chip is on, it will read the 1M content in front of the SD card to get bootloader, so we need to write u-boot to the first 1M interval of the SD
bitlocker settings are also included:
Bitlocker settings
When you re-insert the SD card, go to the resource manager's SD card.
SD card in Resource Manager
And the password is automatically prompted:
The password is autom
storage method:
Storage Method:Sharedpreference
Advantages: simple, convenient, and suitable for quick storage of simple data
Disadvantages: 1. The number of stored files can only be used in the same package, not between different packages!
2. By default, data is stored in the system path/data/COM. himi/. No method for storing the data on the SD card is found.
you.The second is the use of File recovery software. Baidu Search, there are many such software, in order to avoid the data of two damage, we must not use professional recovery software. At present, the best software in the country, such as the top data recovery software, calf file recovery software, are a good choice. The two software, in addition to its own extremely powerful, simple operation, but also equipped with Remote Assistance services, can effectively guide users to operate, to avoid
1. First, register the SD card read and write permissions for manifest
I didn't use MainActivity. class as the software entry here.
Copy codeThe Code is as follows: AndroidManifest. xml
Package = "com. tes. textsd"
Android: versionCode = "1"
Android: versionName = "1.0" type = "codeph" text = "/codeph">
Android: minSdkVersion = "8"
Android: targetSdkVersion = "16"/>
Android: allowBackup = "true"
Android: i
Dirfile = new file (Dbdir); if (!dirfile.exists ()) dirfile.mkdirs (); Whether the database file was created successfully boolean isfilecreatesuccess = false; Determines whether the file exists, does not exist, and creates the file DBFile = new files (dbPath); if (!dbfile.exists ()) {try {isfilecreatesuccess = Dbfile.cre Atenewfile ();//Create File} catch (IOExcepti
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:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.