IPC通信(サービス間通信)に関するデモアプリケーションを1つ作成したい。私はそのために使用AIDL
しています。
チュートリアルのほとんどRemoteService
とクライアントが同じパッケージに含まれていることがわかりました。
私は実際にそれを別々に行います、私がParcelable
メソッドを使用しているオブジェクトを渡している間、エラーに直面しています...
RemoteService Signature
「クラスが見つかりません。 」のように表示されました。
以下にもLogcatを表示しました。解決策がある場合は、ガイドしてください...または相互依存するサーバークライアントサービスのチュートリアルやドキュメント。
LOGCAT:
06-20 14:47:53.973: W/dalvikvm(4465): VFY: unable to find class referenced in signature (Lcom/sam/zserver/IQRemoteService;)
06-20 14:47:54.003: I/dalvikvm(4465): Could not find method com.sam.zserver.IQRemoteService.getCounter, referenced from method com.quip.zclient.ZIPCClientActivity.invokeService
06-20 14:47:54.003: W/dalvikvm(4465): VFY: unable to resolve interface method 53: Lcom/sam/zserver/IQRemoteService;.getCounter ()I
06-20 14:47:54.023: D/dalvikvm(4465): VFY: replacing opcode 0x72 at 0x0011
06-20 14:47:54.023: D/dalvikvm(4465): VFY: dead code 0x0014-0054 in Lcom/quip/zclient/ZIPCClientActivity;.invokeService ()V
06-20 14:47:54.273: I/ActivityManager(61): Displayed com.quip.zclient/.ZIPCClientActivity: +588ms
06-20 14:47:59.363: D/dalvikvm(226): GC_EXPLICIT freed 10K, 55% free 2595K/5703K, external 716K/1038K, paused 53ms
06-20 14:48:05.073: D/dalvikvm(245): GC_EXPLICIT freed 6K, 54% free 2543K/5511K, external 716K/1038K, paused 36ms
06-20 14:48:10.122: D/dalvikvm(306): GC_EXPLICIT freed 4K, 54% free 2537K/5511K, external 716K/1038K, paused 71ms
06-20 14:48:15.113: D/dalvikvm(4129): GC_EXPLICIT freed 14K, 53% free 2579K/5379K, external 716K/1038K, paused 49ms
ありがとう;