Hi
I want to create a flow as incoming call lock application. How can l?
Any help.
Secure call
Moderator: Martin
Secure call
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: Secure call
You posted too many times with so little information. Most of us here are not paranormal, who can read mind. Please explain more what exactly you want to do. Because lack of information, I will some assumption.
I assume you want to secure/lock the call feature of the phone. In this case, you are going to lock down the "Phone", usually com.android.phone, using trigger App Task Started. This depends very much on the type of the phone, so I can't help much. You have to find out which app correspond to the incoming/outgoing call, scroll find in the app list.
After you find it and confirm it is the one, you need to create a widget as big as your screen resolution. Again, it depends on your phone. From the trigger App Task Started, add action Show Widget overlay, and choose this widget. Check the clickable so it will completely block out the UI (be careful when you are going to try it, you can lock your phone until you force restart). Before testing the flow, go back to the widget and add a clickable action, let's try click and choose action hide widget, the name of the widget. Leave this action until you completely finish the flow.
Back to the flow and add Input dialog, choose the type Password. Put the explanation as needed. Add expression after it and check if the password is correct. If correct (true), hide the widget (essentially unblocking the UI). If wrong (false), loop back to the input dialog and prompt for password again.
Add another App Task Ended, the same "Phone" app, and add action hide the widget. So if you press home, exiting from the "Phone", it will immediately hide the widget. Most of these must be done by yourself, as it is phone specific. I can make the flow, but it will work only at my phone.
I assume you want to secure/lock the call feature of the phone. In this case, you are going to lock down the "Phone", usually com.android.phone, using trigger App Task Started. This depends very much on the type of the phone, so I can't help much. You have to find out which app correspond to the incoming/outgoing call, scroll find in the app list.
After you find it and confirm it is the one, you need to create a widget as big as your screen resolution. Again, it depends on your phone. From the trigger App Task Started, add action Show Widget overlay, and choose this widget. Check the clickable so it will completely block out the UI (be careful when you are going to try it, you can lock your phone until you force restart). Before testing the flow, go back to the widget and add a clickable action, let's try click and choose action hide widget, the name of the widget. Leave this action until you completely finish the flow.
Back to the flow and add Input dialog, choose the type Password. Put the explanation as needed. Add expression after it and check if the password is correct. If correct (true), hide the widget (essentially unblocking the UI). If wrong (false), loop back to the input dialog and prompt for password again.
Add another App Task Ended, the same "Phone" app, and add action hide the widget. So if you press home, exiting from the "Phone", it will immediately hide the widget. Most of these must be done by yourself, as it is phone specific. I can make the flow, but it will work only at my phone.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.