Android‎ > ‎

Resource Uri : Android

posted Feb 14, 2013, 1:47 AM by Akash Khaitan   [ updated Mar 9, 2013, 7:46 AM ]
"android.resource://[package]/[res id]"
Uri path = Uri.parse("android.resource://com.soulastral.uriapp/" + R.drawable.image);


"android.resource://[package]/[res type]/[res name]"
Uri path = Uri.parse("android.resource://com.soulastral.uriapp/drawable/image");


Refer the below link for detailed description
http://androidbook.blogspot.in/2009/08/referring-to-android-resources-using.html


Comments