My guess is that it is the non-Samsung phones that are doing something
non-standard, something you cannot rely on. For as I read your code,
you are trying to view not just a contact, but an entire contact
database. I don't think Android guarantees that that Action is
supported on the entire database.

Try appending a specific ID to the Uri.

On Jul 28, 7:09 am, pistol <[email protected]> wrote:
> Some of my users with Samsung phones (GT-I9000, SGH-I897 to name at
> least 2) cannot open the Contacts view on their phones - thew way my
> app has this coded is like this:
>
> Uri uri = ContactsContract.Contacts.CONTENT_URI;
> Intent intent = new Intent(Intent.ACTION_VIEW, uri);
> startActivityForResult(intent, Constants.ACTIVITY_CALL_CONTACTS);
>
> This causes an ActivityNotFoundException.
>
> Is the problem that this is not the way to call the Contacts provider
> or that Samsung have not implementeed it?
>
> If it is down to Samsung can some-one give me the correct Uri?  though
> it will be terrible to have to have phone specific code.
>
> thanks,
>            Pete

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to