2
我使用聯繫人選取器來獲取特定聯繫人的姓名。對於埃克萊爾後來我用:BadParcelableException:獲取所選聯繫人姓名時的ClassNotFoundException
startActivityForResult(new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI), CONTACT_PICKER_RESULT);
和onActivityResult()
我只是做:
final String contactName = data.getStringExtra(Intent.EXTRA_SHORTCUT_NAME);
在那裏我得到這個例外,這個工程除了上的Motoblur,罰款:
android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.motorola.blur.provider.contacts.IdentityModel
at android.os.Parcel.readParcelable(Parcel.java:1883)
at android.os.Parcel.readParcelableArray(Parcel.java:1922)
at android.os.Parcel.readValue(Parcel.java:1825)
at android.os.Parcel.readMapInternal(Parcel.java:2008)
at android.os.Bundle.unparcel(Bundle.java:208)
at android.os.Bundle.getString(Bundle.java:1034)
at android.content.Intent.getStringExtra(Intent.java:3399)
有另一種獲得在Motoblur上的名字的方式? Motoblur有沒有解決方法?
由於提前,
喬納斯