AIDL interface between two applications

前端 未结 2 1734
别跟我提以往
别跟我提以往 2021-01-06 20:25

I\'ve stuck a total wall with the AIDL interfacing. I\'ve an app which has to be controlled via 3rd party application (I\'ve enough control over this so I can ask them to im

2条回答
  •  自闭症患者
    2021-01-06 20:53

    I decided to answer my own question since I found an exact solution.

    My Life With Android

    Everything worked just by copy pasting the source and changing the package names and function names correctly (assuming you're implementing this into your own project)

    Source from client folder goes to the client activity and serviceimpl goes to service. I didn't need the 'Service activity', so I left it out ( and it doesn't really seem to be invoked anyway).

    I don't have enough reputation to post multiple links, so you can get the source from the top of the page.

    "Update: please check out the updated example program for Android SDK 1.5."

提交回复
热议问题