[android-developers] Re: Get the URI of audio files(.mp3) stored in raw folder

2011-11-02 Thread Kartik Domadiya
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

[android-developers] Re: Get the URI of audio files(.mp3) stored in raw folder

2011-11-02 Thread Kartik Domadiya
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

[android-developers] Re: Get the URI of audio files(.mp3) stored in raw folder

2011-11-02 Thread arnouf
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,