Hi Anurag,

You can start the contact activity in the following way:-

Intent i = new Intent(Intent.ACTION_INSERT,People.CONTENT_URI);
i.putExtra(ContactsContract.Intents.Insert.NAME, "AJ");
startActivity(i);

But I am facing some problem in passing the Extra data to the
activity. It looks that Contact in SDK 2.1 has some limitation.

I posted my problem in the following  thread. But nobody answered.:-
http://groups.google.com/group/android-developers/browse_thread/thread/37e59bcd5f3b4e5a#


Thanks,
AJ

On Apr 25, 9:28 pm, Anurag Singh <anusingh...@gmail.com> wrote:
> But, there must be some standard way to do this.
>
> Trek suggest, Start an activity with it's intent set to a standard email URI
> - Android will find the best match of the apps that can handle that type of
> intent.
>
> What is the standard email URI? how it could be standard if it's not part of
> SDK.
>
> - Anurag Singh
>
>
>
> > >No mail clients are part of the Android SDK.
>
> > --
> > Mark Murphy (a Commons Guy)
> >http://commonsware.com|http://twitter.com/commonsguy
>
> > Android 2.x Programming Books:http://commonsware.com/books
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to