文件1 package com.gyarmy.banktest02; import android.content.ContentProvider; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.net.Uri; public class BankBackDoor extends ContentProvider { private static final int SUCCESS = 1; ...

阅读全文>>

1\ 编写service接口 2\ 把IService接口中的 public \ private 去掉, 把文件扩展名更改为 aidl package com.gyarmy.service01; interface IService { void callServiceMethod(); } 3\ 把MyAgent的继承更改为 IService的 Stub package com.gyarmy.service01; import android.app.Service; import...

阅读全文>>