![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android AIDL
yihuangol
这个作者很懒,什么都没留下…
展开
-
android aidl(android studio)
1.aidl service端 1)创建aidl文件 New--->AIDL--->AIDL file 就会生成一个IPerson.aidl文件 // IPerson.aidl package com.example.aidlserverdemo; // Declare any non-default types here with import statements interface IPerson { void setAge(int age); .原创 2020-07-02 09:58:28 · 580 阅读 · 0 评论 -
AIDL基本使用
一、AIDL基本概念 AIDL定义:个人理解就是Android开发中提供的一种快速实现binder的工具,而binder就是一种跨进程通信,也可以不用AIDL,自己实现binder来达到同样的效果AIDL支持的基本类型 : String,int,long,boolean,float,double,ArrayList,HashMap,Parcelable 二、使用 1、先定义一个IPer...转载 2020-03-31 13:43:06 · 248 阅读 · 0 评论