Finally after searching a lot i found the solution.
If you want to get any resource URI then there are two ways :
Using Resource Name
Syntax : android.resource://[package]/[res type]/[res name]
Example : Uri.parse(android.resource://com.segf4ult.test/drawable/
icon);
Using
Finally after searching a lot i found the solution.
If you want to get any resource URI then there are two ways :
Using Resource Name
Syntax : android.resource://[package]/[res type]/[res name]
Example : Uri.parse(android.resource://com.segf4ult.test/drawable/
icon);
Using
I don't know why you add in /res/raw, but maybe it could more interesting
to put these files in assets.
Maybe you can set a specific name building your shareintent.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
3 matches
Mail list logo