码迷,mamicode.com
首页 >  
搜索关键字:binder    ( 661个结果
android如何使用服务
package com.example.yabushan.hello3;import android.app.Service;import android.content.Intent;import android.os.Binder;import android.os.IBinder;public...
分类:移动开发   时间:2015-11-21 14:25:37    阅读次数:223
service的使用
package com.example.yabushan.hello3;import android.app.Service;import android.content.Intent;import android.os.Binder;import android.os.IBinder;//服务类p...
分类:其他好文   时间:2015-11-21 14:23:55    阅读次数:144
Android Binder
1.http://rts.lab.asu.edu/web_438/project_final/Talk%208%20AndroidArc_Binder.pdf 2.http://www.nds.rub.de/media/attachments/files/2012/03/binder.pdf...
分类:移动开发   时间:2015-11-17 19:33:26    阅读次数:140
Activity与Service数据交互:Binder、bindService的用法
1 package com.lixu.jiaohu; 2 3 import com.lixu.jiaohu.MyAppService.Mybind; 4 5 import android.app.Activity; 6 import android.app.Service; 7 import ...
分类:其他好文   时间:2015-11-09 17:00:16    阅读次数:201
【凯子哥带你学Framework】Activity启动过程全解析
It’s right time to learn Android’s Framework !一个App是怎么启动起来的? App的程序入口到底是哪里? Launcher到底是什么神奇的东西? 听说还有个AMS的东西,它是做什么的? Binder是什么?他是如何进行IPC通信的? Activity生命周期到底是什么时候调用的?被谁调用的? 等等…你是不是还有很多类似的疑问一直没有解决?没关...
分类:其他好文   时间:2015-10-27 11:36:26    阅读次数:298
AIDL简单使用
1.AIDL定义 AIDL是android interface definition language的缩写,它对android IPC组件Binder进行了封装。使用它不需理会底层IPC的实现,只需要简单的定义接口,然后ADT编译生成IPC需要的java文件。极大的方便了开发者和提升了开发的速度....
分类:其他好文   时间:2015-10-25 19:16:37    阅读次数:239
绑定本地service并与之通信
关键点:如果service和访问者之间需要进行方法调用和交换数据,则应该使用bindService()和unbindService()方法启动、关闭Service。所以关键点在于Binder的使用!Context的bindService()方法的完整方法签名为:bindService(Intent ...
分类:其他好文   时间:2015-10-21 14:08:22    阅读次数:229
AIDL远程相互调用以及封装JAR的注意事项
类似一种CS结构,一个Server Service跑在一个app中,其他的client service跑在不同的app中,client service可以bind远端的service,然后将自己binder注册到server service,server service执行完成后会通过该binde...
分类:编程语言   时间:2015-10-19 21:00:16    阅读次数:327
Binder相关
Binder分析 需了解C/S还有管理这些的ServiceManager。 简单来讲你(client)有个包裹(parcel)让快递员(proxy)送到公司(server), 公司(server)接到包裹(parcel)后检查是否是自己的,是的话解开包裹,找相应的部门(corresponding ....
分类:其他好文   时间:2015-10-16 13:15:46    阅读次数:157
Activity的启动流程分析
为了在手机画面上显示Activity的window,android内部会做一下内容: 1) 创建一个Window在Window里构建View Hierachy。 2) 与WindowManager建立联系。 3) 为了与SystemServer通信,打开Binder设备。 4) 把Windo...
分类:其他好文   时间:2015-10-13 16:36:26    阅读次数:250
661条   上一页 1 ... 37 38 39 40 41 ... 67 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!