Is it possible to write Remote Service in Android without aidl ? If yes - is it better to use then aidl?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With