Building my Intent
----------------
intent.setExtrasClassLoader(context.getClassLoader());
Bundle bundle = new Bundle();
bundle.putParcelable(LocationEngineService.EXTRA_TRIP_ID, tripVO);
intent.putExtras(bundle);
tripVO is an object implementing the Parcelable interface. I am registering a broadcast receiver using this intent. I get an exception when the receiver is called.
Stack Trace of my Exception
10-04 12:49:00.575: ERROR/Parcel(52): Class not found when unmarshalling: com.columbusagain.db.vo.TripVO, e: java.lang.ClassNotFoundException: com.columbusagain.db.vo.TripVO
10-04 12:49:00.575: WARN/Intent(52): Failure filling in extras
10-04 12:49:00.575: WARN/Intent(52): android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.columbusagain.db.vo.TripVO
10-04 12:49:00.575: WARN/Intent(52): at android.os.Parcel.readParcelable(Parcel.java:1822)
10-04 12:49:00.575: WARN/Intent(52): at android.os.Parcel.readValue(Parcel.java:1713)
10-04 12:49:00.575: WARN/Intent(52): at android.os.Parcel.readMapInternal(Parcel.java:1947)
10-04 12:49:00.575: WARN/Intent(52): at android.os.Bundle.unparcel(Bundle.java:169)
10-04 12:49:00.575: WARN/Intent(52): at android.os.Bundle.putAll(Bundle.java:242)
10-04 12:49:00.575: WARN/Intent(52): at android.content.Intent.fillIn(Intent.java:4829)
10-04 12:49:00.575: WARN/Intent(52): at com.android.server.am.PendingIntentRecord.sendInner(PendingIntentRecord.java:194)
10-04 12:49:00.575: WARN/Intent(52): at com.android.server.am.PendingIntentRecord.send(PendingIntentRecord.java:176)
10-04 12:49:00.575: WARN/Intent(52): at android.app.PendingIntent.send(PendingIntent.java:400)
10-04 12:49:00.575: WARN/Intent(52): at com.android.server.AlarmManagerService$AlarmThread.run(AlarmManagerService.java:640)