Two methods:
android.resource://[package]/[res id]
android.resource://[package]/[res type]/[res name]
Example:
Uri.parse("android.resource://com.example.test/“ + R.drawable.ic_launcher)Uri.parse("android.resource://com.example.test/drawable/ic_launcher")
没有评论:
发表评论