hi,
I have this dual sim card android 4.4.4 phone. I find that Tasker v4.2 can not cope with the SECOND sim card --- when calling with second sim card, "phone off hook" can not be triggered.
So I'm planning to find a workaround - no matter which sim card is calling, there must be some sign. I googled and found this:
"broadcast:android.intent.action.PHONE_STATE
return:%state"
I tried: profile - intent receiver - fill in with "android.intent.action.PHONE_STATE" or "broadcast:android.intent.action.PHONE_STATE".
But there's no place to fill in return variable, and there's no such %state in Variables table.
What's the right usage of this intent receiver?
If you want to keep a copy of it then save its value to a global variable i.e
A1: Variable Set [ Name:%State To:%state Do Maths:Off Append:Off ]
Only global variables are visible in the Variables tab. See the userguide for more about local vs global.
android.intent.action.PHONE_STATE