Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android service connection... Messenger or Binder or AIDL?

Tags:

android

I am getting quite confused with different opinion from diff people and the developer sitee...

I am building an app in which i am having a service(local service) runnning... which keeps getting data updated (sockets).. i want this to get reflected in the activity each time...

which one is the most ideal way to follow ??

like image 273
Arun Abraham Avatar asked Nov 14 '22 01:11

Arun Abraham


1 Answers

i think binder would be better, because messenger or aidl aims at cross-process communication.

like image 84
West_Link Avatar answered Dec 24 '22 17:12

West_Link