最新回答 / 藍(lán)貝
1、盡量貼出沒有實現(xiàn)功能的錯誤提示,錯誤提示描述請盡量清晰。2、android系統(tǒng)版本提高了,綁定service要使用顯式intent。
2017-01-07
照著老師寫的源碼:http://blog.csdn.net/chenzheng8975/article/details/54140098
2017-01-06
要是有源碼上傳上來就好了,貌似有些東西視頻里面沒有講出來,下面的學(xué)員講出來了。謝謝。不過基本明白了aidl是個什么玩意了。也是謝謝老師了。
2016-12-03
哪位同學(xué)可以解釋下那些空指針是怎么造成的。。。
我也是在遠(yuǎn)程調(diào)用add方法的時候報
int res = djgAidl.add(num1,num2);
我也是在遠(yuǎn)程調(diào)用add方法的時候報
int res = djgAidl.add(num1,num2);
2016-11-25
老師漏了一點(diǎn),就是同進(jìn)程間也用aidl傳的話, android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);
if (((iin != null) && (iin instanceof com.mega.ipctext.IMyAidlInterface))) {
return ((com.mega.ipctext.IMyAidlInterface) iin);
}
這里就是同進(jìn)程中返回的是自己AIDL而不是Proxy
if (((iin != null) && (iin instanceof com.mega.ipctext.IMyAidlInterface))) {
return ((com.mega.ipctext.IMyAidlInterface) iin);
}
這里就是同進(jìn)程中返回的是自己AIDL而不是Proxy
2016-11-23
interface Person should be declared in a file called com\examlpe\aidl\Person\Person.aidl.
2016-11-09
Error:Execution failed for task ':aidlclient:compileDebugAidl'.
> java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Error while executing 'D:\Android\sdk\build-tools\24.0.3\aidl.exe' with arguments {-pD:\Android\sdk\platforms\android-
> java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Error while executing 'D:\Android\sdk\build-tools\24.0.3\aidl.exe' with arguments {-pD:\Android\sdk\platforms\android-
2016-10-30