取途径

取路径1.取/data/data/cn.com.mm.pic.love/files的代码this.getFilesDir().toString()2.取/sdcard的代码En

取路径

1.  取/data/data/cn.com.mm.pic.love/files  的代码

this.getFilesDir().toString()


2.  取/sdcard  的代码

Environment.getExternalStorageDirectory()


3 。取string.xml 中 ID的方法   的代码

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="app_url">http://ssssssssssssssss.com/app.php</string>
</resources>

getResources().getString(R.string.app_url)