> Hi, I've got a problem again. I wrote "startSubActivity(new
> Intent(Intent.VIEW_ACTION, Uri.parse("content//contacts/")),0);" in
> one of my applications. And I got the permission in the
> AndroidManifest.xml. But it throws ActivityNotFoundException every
> time I run it. What's wrong? Was it because there are no contracts in
> the Emulator? (I didn't add any contracts)

The Uri you are using is incorrect -- I think this is a change introduced
in the M5 SDK. You need to use:

content://contacts/people/

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ -- Available Now!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to