On Tue, Jan 10, 2012 at 11:52 AM, Goutom <[email protected]> wrote:
> I want to send the current activity class instance via intent > No you don't. You want to send data that a new instance or an existing instance will receive and act on. > The red line stopping the application. > That doesn't tell us much, though it's obvious in this case - you can't pass an Activity instance. > How to send this class object ? > Don't. Send data that it should act on. > And from service how to get this object to call the overridden method in > my activity when task is finished in service? > Launch the activity from the service with proper intent (correction action, data, and extras) and then act on that. I think you need to review the documentation. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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

