ClassNotFoundException when transfer data between service and activity
- by androider
Hello again,
I am writing an application which is composed of an underlying service and a GUI controller. The service collects data and sends to the controller, I used Messenger and put an array of parcelable objects into the bundle of the message. But when it is received at the controller side, error occurs:
android.os.BadParcelableException: ClassNotFoundException in unmarshalling MyData ...
I am sure that MyData implements correctly Parcelable interface. It seems I have to do something with ClassLoader? or what else? Please help me. Thank you very much!