[android-developers] Re: Intents and Uris, for Ringtone Picker

2009-03-12 Thread droozen
Ah, thanks. I was only look at what Uri extends (Object) and didn't notice that it implemented Parcelable. Thanks! On Mar 12, 1:58 pm, Dianne Hackborn wrote: > Uri is a Parcelable, so you can just use intent.putExtra(String, > Parcelable). > > > > On Thu, Mar 12, 2009 at 9:02 AM, droozen wrote:

[android-developers] Re: Intents and Uris, for Ringtone Picker

2009-03-12 Thread Jason Parekh
If you're using a preference activity, check out on the RingtonePreference, it does a lot of the boilerplate work for you. jason On Thu, Mar 12, 2009 at 12:02 PM, droozen wrote: > > I'd like to allow the user to choose a Ringtone from my application, > that I will play later for an alarm. Look

[android-developers] Re: Intents and Uris, for Ringtone Picker

2009-03-12 Thread Dianne Hackborn
Uri is a Parcelable, so you can just use intent.putExtra(String, Parcelable). On Thu, Mar 12, 2009 at 9:02 AM, droozen wrote: > > I'd like to allow the user to choose a Ringtone from my application, > that I will play later for an alarm. Looking at the javadocs, I see > EXTRA_RINGTONE_DEFAULT_UR