[android-developers] Re: Saving Intents to use later (WAY LATER!)

2009-11-12 Thread Miguel Paraz
Hi, I guess that the Uri form of an Intent is stable - something like a Serializable form? I'm thinking of passing it across the network. On Sep 15, 1:12 am, Dianne Hackborn wrote: > Somehow this doesn't seem to be documented, but this is the method you > want:http://developer.android.com/refere

[Fwd: [Fwd: [Fwd: [Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]]]]

2009-09-14 Thread Pedro Fernandes
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develo

[Fwd: [Fwd: [Fwd: [Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]]]]

2009-09-14 Thread Pedro Fernandes
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develo

[Fwd: [Fwd: [Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]]]

2009-09-14 Thread Pedro Fernandes
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develo

Re: [Fwd: [Fwd: [Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]]]

2009-09-14 Thread Romain Guy
FWIW, Intent.toURI() is what Home uses to store shortcuts. All shortcuts on your Home screen are just intents stored in a sqlite database. On Mon, Sep 14, 2009 at 10:55 AM, Pedro Fernandes wrote: > > > > > > > > > > Roger L wrote: >> Well, this is what i am doing >> >> Calling ACTION_PICK_ACTIVI

[Fwd: [Fwd: [Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]]]

2009-09-14 Thread Pedro Fernandes
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develo

[Fwd: [Fwd: [Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]]]

2009-09-14 Thread Pedro Fernandes
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develo

[Fwd: [Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]]

2009-09-14 Thread Pedro Fernandes
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develo

[Fwd: [Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]]

2009-09-14 Thread Pedro Fernandes
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develo

[Fwd: [Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]]

2009-09-14 Thread Pedro Fernandes
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develo

[Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]

2009-09-14 Thread Pedro Fernandes
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develo

[Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]

2009-09-14 Thread Pedro Fernandes
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develo

[Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]

2009-09-14 Thread Pedro Fernandes
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develo

[android-developers] Re: Saving Intents to use later (WAY LATER!)

2009-09-14 Thread Roger L
That was just what I needed. Thank you! Again you prevail! On Sep 14, 9:41 am, Mark Murphy wrote: > Roger L wrote: > > Well, this is what i am doing > > > Calling ACTION_PICK_ACTIVITY for result, i get back > > > Intent { action=android.intent.action.MAIN categories= > > {android.intent.categor

[android-developers] Re: Saving Intents to use later (WAY LATER!)

2009-09-14 Thread Dianne Hackborn
Somehow this doesn't seem to be documented, but this is the method you want: http://developer.android.com/reference/android/content/Intent.html#toURI() Ah the current source tree has documentation: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/content/In

[android-developers] Re: Saving Intents to use later (WAY LATER!)

2009-09-14 Thread Mark Murphy
Roger L wrote: > Well, this is what i am doing > > Calling ACTION_PICK_ACTIVITY for result, i get back > > Intent { action=android.intent.action.MAIN categories= > {android.intent.category.LAUNCHER} comp={com.android.alarmclock/ > com.android.alarmclock.AlarmClock} } Most likely, you are gettin

[android-developers] Re: Saving Intents to use later (WAY LATER!)

2009-09-14 Thread Roger L
Well, this is what i am doing Calling ACTION_PICK_ACTIVITY for result, i get back Intent { action=android.intent.action.MAIN categories= {android.intent.category.LAUNCHER} comp={com.android.alarmclock/ com.android.alarmclock.AlarmClock} } when I pick the alarm clock of course do I have to someh

[android-developers] Re: Saving Intents to use later (WAY LATER!)

2009-09-14 Thread Mark Murphy
Roger L wrote: > I am banging my head into a brick wall! > I want to save an intent pick from the ACTION_PICK_ACTIVITY into a > preference/database/etc... and use it as a result for my application > every time it runs. > But, there is no way to save the right data type (Intent) into > preferences