just pass your context over to the utility class via getter/setter or in
constructor...
Am 04.05.2010 17:40, schrieb TreKing:
On Tue, May 4, 2010 at 2:02 AM, Michael J <[email protected]
<mailto:[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.
Why are you doing this? What purpose is your utility class serving
that it requires starting and retrieving data from another activity?
-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
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
--
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