¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

AIDL Implementation

andrew tittle Inglés 5 fichas

Fichas del conjunto (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

Información

Descripción
Simple how to
Creado por
andrew tittle
Visitas
4
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?