android - passing data from service to an activity -


if put service , activity in same package, can exchange data between them using global variables? want optimized performance, so, global variables idea seems possible? if not, best option. if intents way go, performance enough? btw, service has big hashmap (may multiple). map needs accessed activity?

thanks, rahul.

i know if have multiple activities in project, it's possible start 1 activity args.

http://getablogger.blogspot.com/2008/01/android-pass-data-to-activity.html

this might not you're looking though.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -