Hi list
My class implements Parcelable and does have a public static Parceleble.Creator
object called CREATOR.
Somehow I got a crash report in market with the following:
android.os.BadParcelableException: Parcelable protocol requires a
Parcelable.Creator object called CREATOR on class my.class.
First, differentiate the two cases by two different request codes.
Second, use a package qualified extra name for your own activity, e.g.
"com.bartatamas.superapp.SETTINGS". Shouldn't be necessary with item
one, but won't hurt either.
-- Kostya
25.03.2011 17:03, b_t пишет:
Hi,
My activity
Hi,
My activity starts other activities to get a result from them:
- starts an activity of mine which returns a Serializable object with
the intent
or
- starts an activity with ACTION_PICK to pick a contact
In my onActivityResult method I check if it is the first case or not
by calling
Setti
3 matches
Mail list logo