Is it possible to write Remote Service in Android without aidl ?
If yes – is it better to use then aidl?
Is it possible to write Remote Service in Android without aidl ? If yes
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. If you want to write a remote service, you will — at some level — be using code very similar to AIDL. While AIDL is used for generating the stubs and packaging data, you can also use a Messenger and Handler pair: but this is simply implemented on top of AIDL, so you’re using it anyway. For simple exchanges, a Messenger and Handler pair works, but for more complex situations using AIDL is appropriate. If your question is whether there is a lighter communication mechanism (other than just Intents) than AIDL, the answer is no.