王学岗csdn 移动架构————Android Binder机制
看代码目录 服务端代码 // DNAIdl.aidl package com.dn_alan.service; // Declare any non-default types here with import statements import com.dn_alan.service.Person; interface DNAIdl { void addPerson(in Person person); List<Person> getPersonList(); } // DNAIdl.aidl package com.dn_alan.service; // Declare any non-default types here with import statements parcelable Person; package com.dn_alan.service; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.os.RemoteException; import java.util.ArrayList; import java.util.List; public class DNAidlService extends