Using getApplicationContext().bindService instead of just bindService on your activity solves the problem as it is using the higher level application context.
解决 Tabhost 中的activity无法bindService
最新推荐文章于 2022-05-10 22:50:37 发布
Using getApplicationContext().bindService instead of just bindService on your activity solves the problem as it is using the higher level application context.