Good day, friends.
I'm wanting to work with binded service: in my (attached) sample DigitService generates 3 numbers, sends them by DigitBinder and DigitActivity should redraw itself - show these 3 digits.
Unusually, there is no such example in ApiDemos - where service transacts data through Binder and Activity catches it. (Solution with IInterface and .aidl would be left for later, not today).
So - how can I transact data in my example? What classes and methods should I add?
View attachment SampleApplicationA.zip
I'm wanting to work with binded service: in my (attached) sample DigitService generates 3 numbers, sends them by DigitBinder and DigitActivity should redraw itself - show these 3 digits.
Unusually, there is no such example in ApiDemos - where service transacts data through Binder and Activity catches it. (Solution with IInterface and .aidl would be left for later, not today).
So - how can I transact data in my example? What classes and methods should I add?
View attachment SampleApplicationA.zip
