1. Call Contacts app
> If you mean 'show contacts list so user can select a contact', you can't
> get whatever was selected there.
>
But there is "Almost" always a way with Tasker.. I do something similar for my navigation profile.
1. Open contact search..
Here are 2 intents to do this. The first one will open 'contact search' with a query of whatever is in %VOICE, the second will just open 'contact search.
Search 2 (343)
A1: [X] Run Shell [ Command:am start -a android.intent.action.SEARCH -t vnd.android.cursor.dir/contact --es query "%voice" --activity-clear-task Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A2: Run Shell [ Command:am start -a android.intent.action.SEARCH -t vnd.android.cursor.dir/contact --activity-clear-task Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
2. Enable a profile that will trigger on the clipboard being set %CLIP
After the user selects a contact if they long press on the contacts phone number the will have the option to 'copy to clipboard' this will fire your clipboard profile and now you have the contacts phone number in %CLIP so you can use the 'Test Phone' action to get the contact name and other info.
3. At the end - disable your clipboard profile.
Might not be what you want but perhaps it will help someone.... :)
>
> It's a good solution, but not the best.
>
> I have an another idea. There is a part of it what I don't know how I can do it:
> I create a scene with spinner and fill the elements of spinner with the names of contacts, but how can I fill the spinner with names?
>
I think the plug in Autocontacts could help with that.
> Yes, I want to use Autocontact. When I selecet a name from contact list, the AutoContacts can give the phone number of the selected name, but I don't know how I can fill variable array from contacts.
Leave the name blank and. The array %acnames(:) will contain all your contact names. Limited to 20 contacts for the unpaid version.
I think I don't get all names of Contacts from Autocontacts.
>
> --
> You received this message because you are subscribed to the Google Groups "Tasker" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
> Visit this group at http://groups.google.com/group/tasker.
> For more options, visit https://groups.google.com/d/optout.
> Yes, I tried your solution with paid version of Autocontacts some days ago, but Autocontacts give me back only the first 50 names, therefore I wrote :
> "> I think I don't get all names of Contacts from Autocontacts."
I would ask the developer of autocontacts about that or ask for help on the auto apps forum. I do not use autocontacts