If it must implement with AIDL? And please kindly provide an example, thanks.
EDIT: There are several solutions, Does anyone know which is better?
checkout this post :Using ResultReceiver in Android , discussing the implementation of resutlreceiver.