[Android General] chiragkrishna:
[YOUTUBE]6zLu7RCkkxA[/YOUTUBE]​

--------------------------------------------------------

Things You Need

--------------------------------------------------------

1) Rooted Android Phone

2) Tasker

3) Autovoice

4) Whatsapp (any application can be used if u know how to modify the tasks)

--------------------------------------------------------

Tasker Profile

--------------------------------------------------------

Profile: Whatsapp Send (16)
Event: AutoVoice Recognized [ Configuration:Command: "send" ] Enter: Whatsapp Send (12)
A1: Say [ Text:Whom do u want to send? Engine:Voice:default:default Stream:1 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A2: Flash [ Text:Whom do u want to send? Long:eek:ff ]
A3: AutoVoice Recognize [ Configuration: Voice command without headset Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A4: Variable Set [ Name:%name To:%avcomm Do Maths:eek:ff Append:eek:ff ]
A5: If [ %avcomm ~ *avcomm* ]
A6: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A7: Say [ Text:Sorry try again Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A8: Flash [ Text:Sorry try again Long:eek:ff ]
A9: Goto [ Type:Action Number Number:1 Label: ]
A10: End If
A11: Launch App [ App:WhatsApp Data: Exclude From Recent Apps:eek:ff ]
A12: Wait [ MS:300 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A13: Run Shell [ Command:input tap 850 150 Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ]
A14: Wait [ MS:300 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A15: Run Shell [ Command:input tap 850 150 Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ]
A16: Wait [ MS:300 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A17: Type [ Text:%name Repeat Times:1 ]
A18: Wait [ MS:300 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A19: Run Shell [ Command:input tap 630 330 Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ]
A20: Wait [ MS:300 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A21: Say [ Text:Is this the person Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A22: Flash [ Text:Is this the person? Long:eek:ff ]
A23: AutoVoice Recognize [ Configuration: Voice command without headset Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A24: If [ %avcomm ~ *yes* ]
A25: Goto [ Type:Action Number Number:32 Label: ]
A26: Else If [ %avcomm ~ *no* ]
A27: Button [ Button:Back ]
A28: Button [ Button:Back ]
A29: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
A30: Goto [ Type:Action Number Number:1 Label: ]
A31: End If
A32: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A33: Say [ Text:What do u want to send? Engine:Voice:default:default Stream:1 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A34: Flash [ Text:What do u want to send? Long:eek:ff ]
A35: AutoVoice Recognize [ Configuration: Voice command without headset Command: "all" Package:com.joaomgcd.autovoice Name:AutoVoice Recognize Timeout (Seconds):120 ]
A36: If [ %avcomm ~ *avcomm* ]
A37: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A38: Flash [ Text:Sorry try again Long:eek:ff ]
A39: Say [ Text:Sorry try again Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A40: Goto [ Type:Action Number Number:32 Label: ]
A41: End If
A42: Variable Set [ Name:%msg To:%avcomm Do Maths:eek:ff Append:eek:ff ]
A43: Type [ Text:%msg Repeat Times:1 ]
A44: Run Shell [ Command:input tap 590 1700 Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ]
A45: Run Shell [ Command:input tap 1006 900 Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ]
A46: Flash [ Text:Message sent!! Long:eek:ff ]
A47: Say [ Text:Message sent!! Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:ff ]
A48: Button [ Button:Back ]
A49: Button [ Button:Back ]
A50: Button [ Button:Back ]
A51: Button [ Button:Back ]

*the input tap points are for nexus 5, if you want to find out yours enable

developer option-->pointer location [x]

--------------------------------------------------------

If you dont want to do it manually, download the profile-->Here

*import the profile in your tasker

--------------------------------------------------------

--------------------------------------------------------

Profile Created Using

--------------------------------------------------------

1) Nexus 5 - 5.0.1

2) Tasker - 4.6u1

3) Autovoice - 2.0.18