int callingPid Binder.getCallingPid();
int callingUid Binder.getCallingUid();在 Android 跨进程开发中,在 Server 的 Service 的 onBind 方法中调用上述方法,出现如下提示信息
Binder. getCallingPid() should not be used inside onBind()
Binde…
interface IMyAidlInterface {...void sendData(byte[] data);
}在 Android 开发中,编译上述 AIDL 文件时,出现如下错误信息
The direction of data is not specified. array can be an in, out, or inout parameter.问题原因
这个错误信息表示 byte[]…