How to Get sdcard directory path
I tried to use env.EXTERNAL_STORAGE to get, but the value obtained is "/ cache", actually it should be "/ storage/sdcard0 /", how do I get to it through api? thanks
Tutte le risposte (3)
Lets take a step back. What are you try do? How are you trying to do it? What API?
I intend to use add-on to get the path of sdcard, and this path environment variable is present,it is "EXTERNAL_STORAGE", so I use the [[system / environment|https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/system_environment]] to get this, but result and the actual value of my environment variables differ.
HI buzhidao
Sorry it's not clear but this is a user support forum not a developer support forum so I am locking this question.
Please ask in stackoverflow (do a search first and see if your question has already been asked):
http://stackoverflow.com/questions/tagged/firefox+or+firefox-os+or+html5-apps
If you have a user support question, please create a new question.
Cheers!
...Roland