Skip to content

wpstan/AIDLDemo

Repository files navigation

AIDLDemo

.AIDLService

1.write a library project "Common"
2.write a "aidl" file, and two parcelable aidl file, which are "Request" and "Response"
3.These two class must implements parcelable interface
4.write a project called "Service", this project depends on the previous library project "Common". and implements the aidl interface
5.write a project called "Client", this project also depends on the previous library project "Common". and call the service writen in project "Service"
6.These two project all depend on the library project, the goal is that makes the code simple, or there will be two similar aidl file in both of them
7.Write c file and Android.mk file
8.use the NDK tool to compile them
9.run service, and run client
10.done!

About

实现Android进程间通信

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors