Coder Social home page Coder Social logo

app_0003_binder_c_app's Introduction

Test app for Binder, wrote by C language.

test_client.c test_server.c service_manager.c

  1. 在非Android系统:

##1.1 编译: 执行 make 即可 它会生成 service_manager,test_server,test_client

##1.2 测试: ./service_manager &
./test_server &
./test_client hello
./test_client hello 100ask.taobao.com
./test_client goodbye
./test_client goodbye 100ask.taobao.com

  1. 在Android系统:

##2.1 编译
把APP_0003_Binder_C_App整个目录放入Android源码目录里:
. setenv
lunch // 选择单板
cd APP_0003_Binder_C_App
mmm . // 它会生成 service_manager_my,test_server,test_client

##2.2 测试:
// Android系统中已经有service_manager, 所以不要再次执行它
./test_server &
./test_client hello
./test_client hello 100ask.taobao.com
./test_client goodbye
./test_client goodbye 100ask.taobao.com

app_0003_binder_c_app's People

Contributors

weidongshan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

app_0003_binder_c_app's Issues

关于make的问题

请教一个关于make的问题
在非android系统的环境下使用makefile进行编译,编译是成功了
不过运行的时候找不到binder驱动,就是dev/binder路径找不到
请问需要做什么配置工作吗

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.