When you use MediaPlayer to play a local Mp3 file , you need to be aware of the problem with access paths and access permissions .1. Access path:/storage/emulated/0 This path is the root path of the phone, you can download the es file browser software to view the current playing MP3 specific path, through Environment.getexternalstoragedirectory (). GetPath () gets /storage/emulated/0 This sdcard path This in the organization void Android.media.M
SD card. The process displays the time consumption, file size, and speed.
(4) There are multiple methods to view the copy object in the SD card. The first is to directly click the menu music in the simulator to play the video and you can see the tested song, or devtools->
blockSize * tatalBlocks;}/*** get available body memory * @ return */private long getRomAvailableSize () {File path = Environment. getDataDirectory (); StatFs statFs = new StatFs (path. getPath (); long blockSize = statFs. getBlockSizeLong (); long availableBlocks = statFs. getAvailableBlocksLong (); return blockSize * availableBlocks ;}
The total size of the SD card displayed on the smart phone is 7967
============ Problem Description ============Because learning needs to look at the old Luo's video about the data stored in the SD card to write the part of the file to almost completely comply with the knock code results on the pad test and expected to have a difference originally should be stored in the SD card file
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
When we do Android development, we often have this experience, because the customer's device models are different, resulting in a variety of problems, but for developers, because there is no log log files, it is not easy to locate the exact location of the problem. So we need a tool that can write the program log to the SD card file, like the Web log4j. At this time microlog4android into our vision, althoug
Stc12c5a32s2 25fps smooth playback of audio and video.
The effect is as follows:
The SD card works in SPI mode and is driven by the MCU hardware SPI. The original fat driver supports clustering preprocessing in terms of outstanding performance. The STC microcontroller works under the 22.1184m crystal oscillator to estimate the throughput to 120 + kb/s, of course, this is the actual usage of the dry run esti
1. Android7.0, the MP3 of the memory card is set as a ringtone, after the MP3 is removed, the ringtone in settings does not change, and the call tone does not change.Cause: New features of android7.0Google defaults to this design, in the process of selecting a ringtone, the deleted ringtone will be cached, after the ringtone is deleted, play as a cache file1. Google currently divides the ringtone into actua
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 m
two different ways:First, the window interface operation1. Open DDMS page2. Open the File Explorer page, if not, at window---Show View-->file Explorer3, generally in mnt--sdcard4. In SDcard, click on the destination folder where you want to put the file, such as mp3 folder5, click on the folder, on the right side of the File Explorer page, there are two icons, one is pull, one is Push,pull will be mp3 inside the file pulled out, push is the outside, such as the files on the hard drive into the M
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.