GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

AIDL Implementation

andrew tittle Englisch 5 Karten

Karten in diesem Stapel (5)

  1. 1What is AIDL? What does it do?Android Interface Definition Langauge.
    Allows us to define a interface that both client and service agree upon
  2. 2What are the steps for implementation of the AIDL?1.create aidl fail
    2.implement the interface
    3.expose interface to client
  3. 3How do you implement the interface?1. Extend the generated IBinder interface with the instance of the generated stub class
    2.Implement the methods from the aidl file
  4. 4How do you expose the interface to clients?1.Extend service class and implement onBind() - which will return an instance of the class that implements the generated stub
    2.Client calls bindService() to connect
    3.Clients onServiceConnected() receives binder instance
    4.
  5. 5What is RPC?Remote Procedure Calls.
    Allows us to make method calls locally, while executing them remotely in another process

Informationen

Beschreibung
Simple how to
Erstellt von
andrew tittle
Aufrufe
4
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck