Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è chiusa e archiviata. Inserire una nuova richiesta se occorre aiuto.

How to Get sdcard directory path

  • 3 risposte
  • 2 hanno questo problema
  • 1 visualizzazione
  • Ultima risposta di Roland Tanglao

more options

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

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)

more options

Lets take a step back. What are you try do? How are you trying to do it? What API?

more options

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.

more options

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