• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Intent Received,PHONE_STATE, how to use?

joshatt34

Newbie
Hi,

I have this dual sim android 4.4.4 phone. Tasker can not cope with the 2nd sim - when the 2nd sim is in call, "phone off hook" can not be triggered.

So I'm trying to find a workaround, ( and I don't need to tell which sim is in call).

I googled and found this:
"broadcast:android.intent.action.PHONE_STATE
return:%state"

I tried to fill in Profile-Intent Received-Action with: "broadcast:android.intent.action.PHONE_STATE" or "android.intent.action.PHONE_STATE". But I don't know where to put "%state", and there's no "%state" in Variables table.

What's the right usage of this Intent Received, in my case? Could anybody please help me?
 
Back
Top Bottom