Hi,

I have the following code in my application:

  Intent i = new Intent();
  i.setAction(Intent.ACTION_VIEW);
  i.setData(android.provider.CallLog.CONTENT_URI);
  startActivity(i);

I want to bring up the CallLog activity, but when I run my application
I get an error, that the application has stopped unexpectedly. Why
does this happen and how can I display the CallLog? Using

  i.setData(android.provider.CallLog.Calls.CONTENT_URI);

does not give me an error, but brings up the dialer - not exactly what
I want. ;-) I tried displaying the Contacts with

  i.setData(android.provider.Contacts.People.CONTENT_URI);

and that works flawlessly. Any help is highly appreciated!


Best wishes,
Matt

--~--~---------~--~----~------------~-------~--~----~
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