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 somehow parse this and save the info, and then
add .addActivity, .addCategory, and .setClassName?
That seems like a bit, doesn't it?
would you use split() to parse the sections?
Enough info?
On Sep 14, 9:25 am, Mark Murphy <[email protected]> wrote:
> 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 or a database, or anyway that I can see to convert from a
> > string or such back into the (Intent)!!!!!!
> > Someone please point me in the right direction?!?
>
> Save the relevant pieces the Intent (e.g., action, data). You don't say
> what sort of Intent this is, so it is difficult to give you specific advice.
>
> --
> Mark Murphy (a Commons
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 1.0 In Print!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---