On May 4, 10:40 am, TreKing <[email protected]> wrote: > Why are you doing this? What purpose is your utility class serving that it > requires starting and retrieving data from another activity?
Here's the usage. Let me know if there's a much easier way of doing this. In my application, I'm referencing a RESTful web service which requires token authentication. My utility class is simply a utility for sending a REST request. If the request responds with an invalid authentication message, I would like the utility to be able to initiate a LogIn activity to request a new authentication from the user. Once the LogIn activity has completed, I would like the utility class to be able to handle the LogIn activity's result, and attempt the request again. On May 4, 10:42 am, Timo Prill <[email protected]> wrote: > just pass your context over to the utility class via getter/setter or in > constructor... Like I said before, I tried this, but the problem is that the activity result cannot be sent to the utility class, which is what I need. -- 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

