`
ruilin521314
  • 浏览: 881504 次
文章分类
社区版块
存档分类
最新评论

解决 Tabhost 中的activity无法bindService

 
阅读更多

http://stackoverflow.com/questions/2914921/android-context-bindservice-always-returns-false-and-serviceconnection-object-is

Using getApplicationContext().bindService instead of just bindService on your activity solves the problem as it is using the higher level application context.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics