I suppose if one knows the explicit packagename and classname of the
activity that was launched from the main launcher then you could do it
that way.

I have tried the following but android says it doesn't know any activitiy

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setFlags(..new task..)
intent.setData(Uri.parse("content://contacts/"))
startActivity(intent);

Gives me an exception ActivityNotFoundException.

I am going to try and see if explicitly specifying the component
(classname) works

I will keep you posted

On Fri, Oct 10, 2008 at 5:20 AM, Abraham
<[EMAIL PROTECTED]> wrote:
>
> HI All,
>
> I'm a newbie with Android.
>
> I would like to understand how I could launch the default Listview of
> contacts(similar to the behavior that you would observe on launching
> the contacts app from the main menu).
>
> Is this possible or do I have to create a similar activity in my
> application which resembles the Contacts List view?
>
> >
>

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