Hi, I have to implement the android application and I need a sample example source code for below situation: When I start the application, in background a operation (example increment a counter) need to run such that even if I in any activity or in any fragment for every +10 increment the UI (lets say text view in any activity/fragment) in the activity or fragment get display that value and increment operation should keep on run in background.
What method I need to use for achieving this ? Services/broadcast/AsyncTask ? If you have any example source code like sharing background thread/operation values between the different activity please can you share with me ? Thanks in advance. Devendra -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/dab2dfdc-ecf5-4b90-aff2-90bec5783dc3n%40googlegroups.com.

