these are the permissions for contact.

READ_CONTACTS, WRITE_CONTACTS

- Anurag Singh

On Mon, Apr 26, 2010 at 7:43 PM, AJ <ajeet.invinci...@gmail.com> wrote:

> @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 <anusingh...@gmail.com> 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 <ajeet.invinci...@gmail.com> 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 <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>
> <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com>
> >
> > > <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com>
> <android-developers%252bunsubscr...@googlegroups.com<android-developers%25252bunsubscr...@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<android-developers%2bunsubscr...@googlegroups.com>
> <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@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<android-developers%2bunsubscr...@googlegroups.com>
> <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@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<android-developers%2bunsubscr...@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<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 at
http://groups.google.com/group/android-developers?hl=en

Reply via email to