Any clue please.

- AJ

On Apr 3, 10:17 pm, AJ <ajeet.invinci...@gmail.com> wrote:
> Hi Group,
>
> I want to launch Contact application with some fields filled with data
> I have passed from my application.
>
> I am able to pass Name, Phone number and Emails. But the problem is :-
>
> 1- I am not able to pass more that 3 phone number. How Can I do that?
> 2- I am not able to pass Fields in the more section, which is an
> expandabale list. How can I pass to the fields which are present in
> more section
> 3- I am also ot able to pass Postal Address and Organization.
>
> Can anybody please tell me the correct Intent for those?
>
> My code is as follows :-
>
> ------------------------------------
> Intent i = new Intent(Intent.ACTION_INSERT,People.CONTENT_URI);
>
> i.putExtra(ContactsContract.Intents.Insert.NAME, "Android");
> i.putExtra(ContactsContract.Intents.Insert.PHONE,  "111111");
>
> i.putExtra(ContactsContract.Intents.Insert.PHONE_TYPE,ContactsContract.CommonDataKinds.Phone.TYPE_MOBILE);
>
> i.putExtra(ContactsContract.Intents.Insert.SECONDARY_PHONE,
> "222222");
>
> i.putExtra(ContactsContract.Intents.Insert.SECONDARY_PHONE_TYPE,ContactsContract.CommonDataKinds.Phone.TYPE_HOME);
>
> i.putExtra(ContactsContract.Intents.Insert.TERTIARY_PHONE,  "333333");
>
> i.putExtra(ContactsContract.Intents.Insert.TERTIARY_PHONE_TYPE,ContactsContract.CommonDataKinds.Phone.TYPE_WORK);
>
> ------------------------------------
>
> Thanks,
> AJ

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to