Calls via intent with get voice as.

51 views
Skip to first unread message

Le- Ze

unread,
Dec 1, 2025, 3:29:49 AM12/1/25
to Tasker
Hi,
When I open the task and run it, it works and starts the phone and calls.
When I make a desktop shortcut (Add To Launcher), it doesn't work. Intent will not fire. He won't call.
Why? How to solve it?


<TaskerData sr="" dvi="1" tv="6.5.11">
<Task sr="task8">
<cdate>1761485408950</cdate>
<edate>1764576172676</edate>
<id>8</id>
<nme>Zavolej test</nme>
<pri>100</pri>
<showinnot>false</showinnot>
<Action sr="act0" ve="7">
<code>903</code>
<Str sr="arg0" ve="3"/>
<Int sr="arg1" val="1"/>
<Str sr="arg2" ve="3"/>
<Int sr="arg3" val="1"/>
<Int sr="arg4" val="30"/>
<Int sr="arg5" val="0"/>
<Bundle sr="arg6">
<Vals sr="val">
<net.dinglisch.android.tasker.RELEVANT_VARIABLES>&lt;StringArray sr=""&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0&gt;%gv_confidence
Confidence
Value from 0 to 100 showing the confidence of the detected value&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1&gt;%gv_heard
Heard
List of possible variations of what was heard&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1&gt;&lt;/StringArray&gt;</net.dinglisch.android.tasker.RELEVANT_VARIABLES>
<net.dinglisch.android.tasker.RELEVANT_VARIABLES-type>[Ljava.lang.String;</net.dinglisch.android.tasker.RELEVANT_VARIABLES-type>
</Vals>
</Bundle>
</Action>
<Action sr="act1" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Volam Janě</Str>
<Int sr="arg1" val="0"/>
<Str sr="arg10" ve="3"/>
<Int sr="arg11" val="1"/>
<Int sr="arg12" val="0"/>
<Str sr="arg13" ve="3"/>
<Int sr="arg14" val="0"/>
<Str sr="arg15" ve="3"/>
<Int sr="arg2" val="0"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Int sr="arg9" val="1"/>
</Action>
<Action sr="act2" ve="7">
<code>877</code>
<Str sr="arg0" ve="3">android.intent.action.CALL</Str>
<Int sr="arg1" val="0"/>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3">tel:+420??????</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Int sr="arg9" val="1"/>
</Action>
<Img sr="icn" ve="2">
<fle>/storage/emulated/0/Tasker/telefon.png</fle>
</Img>
</Task>
</TaskerData>

Le- Ze

unread,
Dec 31, 2025, 10:17:34 AM (13 days ago) 12/31/25
to Tasker
So I tried the same thing through AutoVoice and same problem.
When I run anything through the proxy, it's broken on the intent.

I bought and installed MacroDroid and everything works as it should.
Waste of money for tasker and AutoVoice.
Tasker has a lot of bugs. The bug itself.

Dne pondělí 1. prosince 2025 v 9:29:49 UTC+1 uživatel Le- Ze napsal:

Marta Hintz

unread,
Jan 7, 2026, 1:39:55 AM (6 days ago) Jan 7
to Tasker
first of all - bad attitude for getting help on a Tasker forum when you complain about Tasker here.  
Second, no one like xml (unless they specifically ask for it) - you can't undestand  it, no one wants to upload faulty non working code on their own phones.
third - try this....
1. REPLACE Send Intent CALL with Launch App → Phone dialer + phone number as %par1
2. ADD phone number as Task Shortcut parameter
3. ADD error handling for missing parameters
4. Test shortcut → should reliably dial from home screen

My understanding is - not knowing what phone or ROM your using
Tasker launcher shortcuts (via "Add To Launcher") often fail on due to:Restricted CALL intents: Android 10+ blocks direct CALL intents from launcher shortcuts for security Background execution limits: Phones aggressively restricts Tasker when launched from home screen icons
Phone state permissions: CALL action requires foreground activity or special handling
Works when opened manually because Tasker runs fully in foreground with proper permissions.

Try this:  
Task: Zavolej test (Updated for Launcher)

Action 1: Get Voice
• Continue Task Immediately: ON  
• Relevant Variables: %gv_confidence,%gv_heard

Action 2: Flash
• Text: Volam Janě
• Long: OFF

Action 3: Variable Set  
• Name: %number
• To: %par1
• Pri: 100

Action 4: Test Tasker
• If: %number !~ *
• Text: "Missing phone number! Add it when creating shortcut"
• Long: ON
• Then: Goto: act6 (Stop)

Action 5: Launch App
• Package: *phone* (or com.samsung.android.dialer)
• Data: tel:%number
• Continue Task Immediately: ON
• Pri: 100

Action 6: Stop

=== CREATE SHORTCUT ===
1. Long press homescreen → Widgets → Tasker → Task Shortcut
2. Select "Zavolej test"
3. Parameter 1: +420?????? (your number)
4. Icon: telefon.png
5. Done ✓
 
I dunno if this is what your trying to do, if it isn't, then disregard. 

Cheers!
Reply all
Reply to author
Forward
0 new messages