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에 대한 해결 방법이 있습니까? 사전에
감사합니다, ContentResolver
잘 작동 사용