Android access activity inside service method

How to call a non-static Activity method from within the onStart () service?

+5
source share
1 answer

How to call a non-static Activity method from within the onStart () service?

You can not.

However, there are many ways to exchange services with the current action, and I will outline some of them here: How can I update information in Android activity from the background service

+2
source

All Articles