This page (revision-58) was last changed on 23-Apr-2022 17:06 by HarryMetske

This page was created on 23-Apr-2022 17:05 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
58 23-Apr-2022 17:06 29 KB HarryMetske to previous
57 23-Apr-2022 17:05 29 KB HarryMetske to previous | to last
56 23-Apr-2022 17:05 28 KB HarryMetske to previous | to last
55 23-Apr-2022 17:05 26 KB Harry Metske to previous | to last
54 23-Apr-2022 17:05 26 KB Harry Metske to previous | to last
53 23-Apr-2022 17:05 24 KB Harry Metske to previous | to last
52 23-Apr-2022 17:05 24 KB 10.0.0.138 to previous | to last
51 23-Apr-2022 17:05 23 KB 10.0.0.138 to previous | to last
50 23-Apr-2022 17:05 23 KB 10.0.0.138 to previous | to last
49 23-Apr-2022 17:05 22 KB 10.0.0.138 to previous | to last
48 23-Apr-2022 17:05 22 KB 10.0.0.138 to previous | to last
47 23-Apr-2022 17:05 22 KB 10.0.0.138 to previous | to last
46 23-Apr-2022 17:05 20 KB 10.0.0.138 to previous | to last
45 23-Apr-2022 17:05 20 KB 10.0.0.138 to previous | to last
44 23-Apr-2022 17:05 20 KB HarryMetske to previous | to last
43 23-Apr-2022 17:05 19 KB HarryMetske to previous | to last
42 23-Apr-2022 17:05 19 KB Harry Metske to previous | to last
41 23-Apr-2022 17:05 19 KB Harry Metske to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 809 removed 29 lines
''Messenger'' class manages a handler. It allows message to be sent from one component to another. So use it for sequential processing.
The receiving component needs a Handler to process the messages, and creates a Messenger that provides a binder to a client that binds to the service??
The client binds to a service and receives a Binder object, this binder object is used to create a Messenger, which knows how to send messages to the Handler that was set up by the service .
The client then uses the Messenger to send messages to the Handler in the service.
If you need services that are accessed in parallel , you need __AIDL__ (Android Interface Definition Language)
* define remote interface
* implement remote service
* implement service methods
* implement client methods
Create a .aidl file. Defines how components can interface with your service. It is similar to Java interfaces.
AIDL types :
* Java primitives
* String
* CharSequence
* other AIDL-generated interfaces
* classes implementing the Parcelable interface
* List with the above
* Map with the above
* > Generic maps not supported
Services must implement a inner class called <class>.Stub.