Android系统最常见也是初学者最难搞明白的就是Binder了,很多很多的Service就是通过Binder机制来和客户端通讯交互的。所以搞明白Binder的话,在很大程度上就能理解程序运行的流程。

这是一个用C++写的binder,一个服务器一恶搞客户端,代码如下:

server.cpp

 #include <binder/IServiceManager.h>
#include <binder/IBinder.h>
#include <binder/Parcel.h>
#include <binder/ProcessState.h>
#include <binder/IPCThreadState.h>
#include <android/log.h>
using namespace android;
#ifdef LOG_TAG
#undef LOG_TAG
#endif
#define LOG_TAG "testService" #define LOGV(...) __android_log_print(ANDROID_LOG_VERBOSE, "ProjectName", __VA_ARGS__)
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG , "ProjectName", __VA_ARGS__)
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO , "ProjectName", __VA_ARGS__)
#define LOGW(...) __android_log_print(ANDROID_LOG_WARN , "ProjectName", __VA_ARGS__)
#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR , "ProjectName", __VA_ARGS__) class MyService : public BBinder
{
public:
MyService()
{
mydescriptor = String16("media.hello");
n=;
}
virtual ~MyService() {}
//This function is used when call Parcel::checkInterface(IBinder*)
virtual const String16& getInterfaceDescriptor() const
{
LOGE("this is enter ==========getInterfaceDescriptor");
return mydescriptor;
}
protected:
void show()
{
LOGE("this is for test show!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
LOGE("this is for test show!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
LOGE("this is for test show!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
LOGE("this is for test show!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
LOGE("this is for test show!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
}
virtual status_t onTransact( uint32_t code,const Parcel& data,Parcel* reply,uint32_t flags = )
{
LOGD("enter MyService onTransact and the code is %d",code);
/*
if (data.checkInterface(this))
LOGD("checkInterface OK");
else
{
LOGW("checkInterface failed");
return BBinder::onTransact(code, data, reply, flags);
}
*/
switch (code)
{
case :
LOGD("MyService interface 1");
break;
case :
LOGD("MyService interface 2");
cb = data.readStrongBinder();
break;
case :
{
LOGD("MyService interface 3, exit");
//No unregister service routine?
//It should return to client first and then call exit in another place.
exit();
break;
}
case :
{//call cb
LOGD("MyService interface 4 before if================");
cb = data.readStrongBinder();
if (cb != NULL)
{
LOGD("MyService interface 4");
Parcel in, out;
in.writeInterfaceToken(String16("android.os.ISetupCallback"));
in.writeInt32(n++); //向客户端发送数据 in.writeCString("This is a string !");
cb->transact(, in, &out, );
show();
}
break;
}
default:
return BBinder::onTransact(code, data, reply, flags);
}
return ;
}
private:
String16 mydescriptor;
sp<IBinder> cb;
int n;
};
int main()
{
sp<IServiceManager> sm = defaultServiceManager(); //获取ServiceManager服务代理
status_t ret;
//register MyService to ServiceManager
MyService* srv = new MyService();
ret = sm->addService(String16("media.hello"), srv); // 注册服务
LOGD("addservice media.hello return %d", ret);
//call binder thread pool to start
ProcessState::self()->startThreadPool();
IPCThreadState::self()->joinThreadPool(true); //参数默认也是true,进入服务的循环监听状态
return ;
}

clinet.cpp

 #include <binder/IServiceManager.h>
#include <binder/IBinder.h>
#include <binder/Parcel.h>
#include <binder/ProcessState.h>
#include <binder/IPCThreadState.h>
#include <private/binder/binder_module.h>
#include <android/log.h> using namespace android;
#ifdef LOG_TAG
#undef LOG_TAG
#endif
#define LOG_TAG "testCallback" #define LOGV(...) __android_log_print(ANDROID_LOG_VERBOSE, "ProjectName", __VA_ARGS__)
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG , "ProjectName", __VA_ARGS__)
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO , "ProjectName", __VA_ARGS__)
#define LOGW(...) __android_log_print(ANDROID_LOG_WARN , "ProjectName", __VA_ARGS__)
#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR , "ProjectName", __VA_ARGS__) class MySetupCallback : public BBinder
{
public:
MySetupCallback()
{
mydescriptor = String16("android.os.ISetupCallback");
}
virtual ~MySetupCallback() {}
virtual const String16& getInterfaceDescriptor() const
{
return mydescriptor;
}
protected:
virtual status_t onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags = )
{
LOGD("enter MySetupCallback onTransact, code=%u", code);
if (data.checkInterface(this)) //检查 mydescriptor 类描述字符串
LOGD("checkInterface OK");
else
{
LOGW("checkInterface failed");
return -;
}
switch (code) //code为服务器发送的code,根据code实现不同的函数
{
case :
LOGD("From Server code = %u", code);
LOGD("From Server code = %u", code);
break;
case :
{
LOGD("From Server code = %u", code);
LOGD("Frome server data = %d", data.readInt32()); //从服务端接收数据
LOGD("Frome server string = %s", data.readCString()); break;
}
default:
break;
}
return ;
}
private:
String16 mydescriptor;
}; int main()
{
sp<IServiceManager> sm = defaultServiceManager(); //获取ServiceManager服务代理
sp<IBinder> b = sm->getService(String16("media.hello")); //查询服务
if (b == NULL)
{
LOGW("Can't find binder service \"media.hello\"");
return -;
}
Parcel in1,out1;
MySetupCallback *cb = new MySetupCallback();
in1.writeStrongBinder(sp<IBinder>(cb));
int ret = b->transact(, in1, &out1, ); //TRANSACTION_registerSetup = 4
LOGD("transact(4) return %d", ret);
ProcessState::self()->startThreadPool();
IPCThreadState::self()->joinThreadPool(); //参数默认也是true,进入服务的循环监听状态
return ;
}

Android.mk

# Copyright 2006 The Android Open Source Project
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SHARED_LIBRARIES := \
libcutils \
libbinder \
libutils \
libhardware
LOCAL_SRC_FILES:= client.cpp
LOCAL_MODULE_TAGS = eng tests
LOCAL_MODULE:= testClient
include $(BUILD_EXECUTABLE) include $(CLEAR_VARS)
LOCAL_SHARED_LIBRARIES := \
libcutils \
libbinder \
libutils \
libhardware
LOCAL_SRC_FILES:=server.cpp
LOCAL_MODULE:= testServer
LOCAL_MODULE_TAGS = eng tests
include $(BUILD_EXECUTABLE)

客户端运行结果如下:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAxwAAAE8CAIAAADF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7PAABQS/NB9YqpMzho44mqJk9VLts+T9WDraF0S6E8nF4lqjyb2qZ/y5/wtNoP3YOFd9Fbs+0mGrp0tYkqr41qFmx5gjqVcq+nSkQPWlB7uHr7L+cwqinRZ0TVo7I/AwBALZWial9KpNqxF54WUcXPX4kzVo6R0QKmFUI/3cITIKJKbgZRO2g20fZfYtFtclV1iSpRD14riCaTYbYgbj9TJWNmRJXaRuGCfVsd36mfckev0wznfzZbUKmY6oPqrrjJyETxCEn4GEezRVVVfwYAgHraPv5p/HSM0yGqjO2F7Hqjmu1v1JCkjY1LKqqEt8LYEUmJqtBmtZwN+ImIUPcoulZgpyM457AaSmVuLqekgNZGGVFlRg1SNmJneh2NHtWT/Vj9FmwwgOMeG7WRX5XjRVXQnwEAoJNqUaU7b+p/sRQH89zDc8fUhuBAFyuZ+xuy/QEmqpT9hCLVhfy6LxZVeZu7dtEqRRW3ylszg4b2zgq1FUlro7hfmW2UWLB5C5l9iqcsn0j3urqqinZFaxREPEKjHmuXqPi7qKuJoopbBEEFABhJ74XKE87KVPNDZ00zWy5n44eaZzI9rY9WAACA+fSJqo/N1Pdt+dGzpleTVVjMR9La+mgFAAB4B72eqg8hdx1+aL3wvgd1MvARoOE0tD5aAQAA3sNFRdWvH4xgP0M7L5cx9EpUVypaAQAA3sJlRRUAAAAAwJmAqAIAAAAAGABEFQAAAADAACCqAAAAAAAGAFEFhnFbr/CLxAf9IgcAAAAwiOGiqv5roJUfVtfuyHn7Un6y7/4kv2z+FhvOUicO7/nEwLn6yLmsAQCA7+Q/QC5K8tTNYc8AAAAASUVORK5CYII=" alt="" />

以上代码参考别人写的做了点修改,有错误的地方欢迎指出来,谢谢。

C++使用binder实例的更多相关文章

  1. 自顶向下分析Binder【1】—— Binder实例篇

    欢迎转载,转载请注明:http://blog.csdn.net/zhgxhuaa 一个Binder实例 我们Binder的学习将从以下的一个实例開始.依据Android文档中的描写叙述,创建一个Bin ...

  2. 笔记:Binder通信机制

    TODO: 待修正 Binder简介 Binder是android系统中实现的一种高效的IPC机制,平常接触到的各种XxxManager,以及绑定Service时都在使用它进行跨进程操作. 它的实现基 ...

  3. Android aidl Binder框架浅析

      转载请标明出处:http://blog.csdn.net/lmj623565791/article/details/38461079 ,本文出自[张鸿洋的博客] 1.概述 Binder能干什么?B ...

  4. 深入理解Binder(一),从AIDL谈起

    打算写一篇Binder介绍的文章,仔细想想一篇文章貌似很难厘清,于是我打算从AIDL入手,本篇先来简单介绍下AIDL的使用,然后在此基础上我们继续来研究Binder的工作原理.小伙伴们都知道,AIDL ...

  5. 浅谈Service Manager成为Android进程间通信(IPC)机制Binder守护进程之路

    文章转载至CSDN社区罗升阳的安卓之旅,原文地址:http://blog.csdn.net/luoshengyang/article/details/6621566 上一篇文章Android进程间通信 ...

  6. Service组件 总结 + 绑定理Service三种实现方式 Messager + Binder + AIDL

    在Android中进程按优先级可以分为五类,优先级从高到低排列: - 前台进程 该进程包含正在与用户进行交互的界面组件,比如一个Activity - 可视进程 该进程中的组件虽然没有和用户交互,但是仍 ...

  7. Binder机制-简单用法(一)

    Binder算是android里面比较难懂的部分了,但是非常重要,基本上,当我们深入到进程交互的阶段,Binder都是一个绕不开的槛,所以我也希望帮助大家更浅显地了解到这个知识点.笔者想通过3篇博文简 ...

  8. android Binder机制(一)架构设计

    Binder 架构设计 Binder 被设计出来是解决 Android IPC(进程间通信) 问题的.Binder 将两个进程间交互的理解为 Client 向 Server 进行通信. 如下:bind ...

  9. Android AIDL实例解析

    AIDL这项技术在我们的开发中一般来说并不是很常用,虽然自己也使用新浪微博的SSO登录,其原理就是使用AIDL,但是自己一直没有动手完整的写过AIDL的例子,所以就有了这篇简单的文章. AIDL(An ...

随机推荐

  1. linux源码分析(三)-start_kernel

    前置:这里使用的linux版本是4.8,x86体系. start_kernel是过了引导阶段,进入到了内核启动阶段的入口.函数在init/main.c中. set_task_stack_end_mag ...

  2. jQuery获取Select选中的Text和Value

    获取Select选中的Text和Value语法解释:$("#select_id").change(function(){//code...});   // 为Select添加事件, ...

  3. 动态加载js和css

    开发过程中经常需要动态加载js和css,今天特意总结了一下常用的方法. 1.动态加载js 方法一:动态加载js文件 // 动态加载js脚本文件 function loadScript(url) { v ...

  4. line-height行高与图片的隐匿文本间隙消除方法

    (标注 文章来源 http://www.zhangxinxu.com/wordpress/2015/08/css-deep-understand-vertical-align-and-line-hei ...

  5. js中this的绑定

    人们对于this的绑定常常有两个误解,一:指向函数本身,二:指向函数作用域.这两种想法都是错的,this并不指向函数本身,也不指向函数作用域. function foo(){ this.count++ ...

  6. 兼容 IE input button 左右内边距的增加

    IE 下的按钮标签(input.button)会随着文字的增加导致文本左右两侧的间距越来越大.该问题存在于 IE6/IE7,IE8~IE10 没发现类似问题.一般情况下,只要给按钮标签设置 overf ...

  7. 关于腾讯云ubuntu服务器tomcat访问慢问题

    在腾讯云上配了个一元的学生云,开始一切正常,直到配置tomcat开始出现各种莫名其妙的问题.最莫名其妙的是tomcat启动了,端口也 正常监听,安全组也放行端口了,然后问题来了. 用浏览器访问tomc ...

  8. 原生JS:严格模式详解

    严格模式 本文参考MDN做的详细整理,方便大家参考[MDN](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript) 设计目的 设立”严格模式 ...

  9. jsonp 演示实例 —— 基于node

    序 同源策略是浏览器处于安全考虑,为通信设置了"相同的域.相同的端口.相同的协议"这一限制.这让我们的ajax请求存在跨域无权限访问的问题. 同时我们发现script标签引入脚本的 ...

  10. Atitit. 查找linux 项目源码位置

    Atitit. 查找linux 项目源码位置 1. netstat   -anp |grep 801 1.1. 1.3 启动关闭nginx3 1.2. 找到nginx配置文件4 1.3. ./etc/ ...