简体   繁体   中英

java program for not hard coding the file path of sd card android emulator

java android中的程序,如何不对sd卡android仿真器中的文件路径进行硬编码,即java中的程序接受用户到sd卡android仿真器的文件。

获取文件夹的路径

path=Environment.getExternalStoragePublicDirectory("foldername");

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM