@Anurag
I didn't need any permission, as my requirement is to launch the
Contact App.


Thanks,
AJ

On Apr 26, 4:53 pm, Anurag Singh <[email protected]> wrote:
> Thanks Ajeet, have you set permission to write contact in your manifest.xml?
>
> - Auurag Singh
>
>
>
> On Mon, Apr 26, 2010 at 12:07 AM, AJ <[email protected]> wrote:
> > 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/threa...
>
> > Thanks,
> > AJ
>
> > On Apr 25, 9:28 pm, Anurag Singh <[email protected]> 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
> > [email protected]
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<android-developers%[email protected]>
> > <android-developers%[email protected]<android-developers%[email protected]>
>
> > > > 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 [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]<android-developers%[email protected]>
> > > 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 [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<android-developers%[email protected]>
> > 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [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