1

I have multiple activities and a background always running service (see context here).

Which approach is better, use bindService() or app confined notifications using sendBroadcast() and a BroadcastReceiver in each activity?

Thanks

Community
  • 1
  • 1
Gabe
  • 5,279
  • 4
  • 30
  • 78
  • 1
    definitely `bindService` (using `bound local service` pattern) – pskink Apr 22 '16 at 04:00
  • Are your activities and the background always running service in the same process? Does your background always running service `exported` attribute has `false` value? – Eido95 Nov 09 '16 at 12:16
  • Not sure, I ended up doing something completely different – Gabe Nov 09 '16 at 16:08

0 Answers0