Android SD card path to get the real machine is / storage/emulated/0 /! ! ! ! ! ! ! ! ! !
As stated, one hour before the test to get the correct path or, now get is / storage/emulated/0 /, NEXUS4 and GALAXY S2 are not correct, there is a resurgence to get right. What permissions are added as well. Before also, how suddenly fall ill of it? We have encountered this situation?<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) -> Reply: Different mobile phone manufacturers is indeed possible you can get different paths through the Environment Methods Reply: This is a reference path, do not worry. Open your ddms File Explorer You can see a list of info out in your mnt / sdcard backWhich is similar to the write / storage/emulated/0 / this thing Then you can find the storage folder in your File Explorer, there will be emulated below, and then there will be 0 belowIn fact, all the same Reply:
Indeed there is a storage folder, but I want mmt / sdcard ah, now get is this, how can I get it? Reply:
If it is to get the sd card file with this path can be If it is in order to show it, really do not know. Because this thing is to hide the sd card path. Reply:
So before you have no problem in the end did not pay attention to what path today is to take the time out to ask the document, a look at this path to the next hop. Eclipse of the original Bug caused the error, have nothing to do with the path. But why LG and Samsung phones use reference path instead of the usual trails? Reply:
Should not be a bug, why should this particular handset manufacturers path I was not sure. Not carefully studied. Reply:
I said before I write the project from the SD card that thing no problem, yesterday suddenly die, and then output a bit SD card path, began to think that this path has a problem, but after some reboot + CLEAN problem was not any. Reply:
That might really bug. . Reply:
in your mnt / sdcard backSometimes I reported abnormal when calling WebService methodjava.io.IOException: BufferedInputStream is closed, Have you ever encountered such a situation Reply:
in your mnt ...... Really do not. What we do is local application, did not use webservice Reply:
No comments:
Post a Comment