舒心、快乐,比什么都重要

02 2018 档案

摘要:java.lang.IllegalArgumentException: Service Intent must be explicit 意思是服务必须得显式的调用 我之前是这样使用绑定Service的 他报错了 因为在5.0之后google升级了SDK 他要求所有的Service服务必须得显式的调用 阅读全文
posted @ 2018-02-05 18:55 Arcturis 阅读(1357) 评论(0) 推荐(0) 编辑
摘要:跨进程通信可以用AIDL语言 这里讲述下如何使用AIDL语言进行跨进程通信 文章参考 《设计模式》一书 demo结构参考 主要的文件类有:IBankAidl.aidl java文件:AidlBankBinder,BackActivity(应该是BankActivity写错了),BankService 阅读全文
posted @ 2018-02-05 18:50 Arcturis 阅读(421) 评论(0) 推荐(0) 编辑
摘要:官方说法Declaring a broadcastreceiver for android.net.conn.CONNECTIVITY_CHANGE is deprecated for apps targeting N and higher. In general, apps should not rely on this broadcast and instead use JobSchedule... 阅读全文
posted @ 2018-02-02 13:32 Arcturis 阅读(9660) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示