C++
penguin1990
android应用、系统 linux c java
展开
-
android native Service(C++实现service)
上篇博客介绍了如何用java实现android Binder服务端,并且实现java和c的客户端都通过binder与服务端通信,这篇我们讲如何使用C++实现服务端,然后通过java和c的客户端与之通信。原创 2016-11-28 22:23:29 · 2578 阅读 · 1 评论 -
mmap实现进程通讯
#include <stdio.h>#include <string.h>#include <sys/mman.h>#include <sys/types.h>#include <fcntl.h>#include <unistd.h>#include <string.h>typedef struct{ unsigned int size; char* content;原创 2017-06-28 22:52:00 · 305 阅读 · 0 评论