There was a big reworking late in 1.0 of the result stuff that caused a lot
of things that used to be returning things as raw strings to put them in the
action field.  It is generally not something I would recommend.  And what
you do with results is very very different than what you do with activity
intents and such, because an activity intent is something you are publishing
to the system, which it does intent filter matching on, etc.

I would recommend putting things like integers in to the extra data.  I
would certainly not recommend using the data field if you don't actually
have a reasonable scheme prefix that is part of your data.

On Fri, Mar 6, 2009 at 1:15 PM, Edward Falk <[email protected]> wrote:

>
>
> Doesn't particularly need to be in the data field, I just thought that
> it was an obvious place put put, you know, data.
>
> I've actually seen examples of apps that put the result in the Action
> field.  (C.f. app/SendResult.java in the sdk)
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to