GoConqr has a new look! Let us know what you think.

Flashcards

AIDL Implementation

andrew tittle English 5 cards

Cards in this deck (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

Information

Description
Simple how to
Created by
andrew tittle
Views
4
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?