2017年9月28日

android学习笔记(四)

摘要: AIDL的理解与使用跨应用启动服务前提:已经准备好了一个应用的服务。新建另一个应用程序。MainActivity.javapackage com.example.anotherapplication;import android.content.ComponentName;impor... 阅读全文

posted @ 2017-09-28 11:03 码的艺术家 阅读(126) 评论(0) 推荐(0)

android学习笔记(三)

摘要: 认识Service启动服务:`startService(new Intent(MainActivity.this,MyService.class));`结束服务:stopService(new Intent(MainActivity.this,MyService.class));绑定... 阅读全文

posted @ 2017-09-28 09:19 码的艺术家 阅读(192) 评论(0) 推荐(0)

导航