Dear all

Here in my activity I set a call_log Uri as:
                        uri = Uri.parse("content://call_log/calls/4");

I wrote code as:
                Intent intent = new Intent(Intent.ACTION_VIEW);
                intent.setDataAndType(uri, getContentResolver().getType
(uri));
                intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
                startActivity(intent);

I hope I could read this call_log by auto starting activity "Dialer",
but got "stopped unexpectedly!"

BUT, uri string "content://call_log/calls" could work!
So, my question is: Is call log content provider/Resolver cannnot
support content://call_log/calls/XXX?

Thanks!
He

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