Misspoke in my original post.  The second paragraph should read:

... use the original activity to start the activity.  The problem
with this is that the RESULT is sent to the original activity,
rather than the utility class.

On May 4, 2:02 am, Michael J <[email protected]> wrote:
> For example, I have an activity that uses a utility class.  I would
> like to be able to start an activity from the utility class and have
> the activity result sent back to the utility class.
>
> The only way I could think of starting the activity was to pass the
> original activity to the utility class, so that the utility class
> could use the original activity to start the activity.  The problem
> with this is that the activity is sent to the original activity,
> rather than the utility class.
>
> I also thought of actually making the utility class an activity
> itself, but that would make using the utility class much more
> complicated.
>
> Thanks for any advice!
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

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