Aidl (Android Interface Description Language) is an IDL Language that can generateCodeAllows two processes running on an Android device to interact with each other using internal communication processes. If you need to access the method of an object in another process (for example, in an activity) (for example, a service) in another process, you can use aidl to generate such code to pass various parameters in disguise.
To use aidl, the Service must provide the service interface in the form of an aidl file. The aidl tool will generate a corresponding Java interface, in addition, the generated Service Interface contains a function-called stub service pile class. The service implementation class must inherit the stub service pile class. The onbind method of the service returns the object of the implementation class.
Http://mgssnake.javaeye.com/blog/655866