[android-developers] Re: How can I launch the default Contact Application provided in SDK with my app

2008-11-09 Thread Hans
Thanks for your help. I am not sure... therefore is it possible to just launch contacts app and use its functionality from a personal application? Is this issue solved? and if yes would anyone help please. Thanks On Nov 5, 12:58 pm, Abraham <[EMAIL PROTECTED]> wrote: > To select a particular co

[android-developers] Re: How can I launch the default Contact Application provided in SDK with my app

2008-11-05 Thread Abraham
To select a particular contact from the contacts list you can do the following i= new Intent(Intent.ACTION_PICK,People.CONTENT_URI); startActivityForResult(i,PICK_CONTACT_FROM_LIST); The details abt the selection can be received in the onActivityResult() --~--~-~--~~~---

[android-developers] Re: How can I launch the default Contact Application provided in SDK with my app

2008-10-20 Thread Abraham
I was able to launch contacts by adding the following in my activity class startActivityForResult((new Intent(Contacts.Intents.UI.LIST_ALL_CONTACTS_ACTION)),PICK_CONTACT_REQUEST); Although I didnot get any data in the result / nor could I select a contacts from the list. So I have gone ahead an

[android-developers] Re: How can I launch the default Contact Application provided in SDK with my app

2008-10-11 Thread Satya Komatineni
Perhaps, you can test the theory by invoking the sample Notepad application that you are in control of. Invoke the action view with the known uri for notes. See then if it is a registration problem. Satya On Sat, Oct 11, 2008 at 10:29 AM, Satya Komatineni <[EMAIL PROTECTED]> wrote: > Yes that

[android-developers] Re: How can I launch the default Contact Application provided in SDK with my app

2008-10-11 Thread Satya Komatineni
Yes that seemed to work: I found out the actual classname by looking at the debugger and knowing the classname for that activity so Intent intent = new Intent(); intent.setComponent(new ComponentName( "com.android.contacts" ,"com.android.contacts.DialtactsContactsEntryActivity"); inten

[android-developers] Re: How can I launch the default Contact Application provided in SDK with my app

2008-10-11 Thread Satya Komatineni
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 ta