Search found 17 matches

by markd89
13 Dec 2019 04:15
Forum: User Help / Bug Reports
Topic: Unlocking Android
Replies: 6
Views: 18054

Re: Unlocking Android

I have a OnePlus5 running Lineage OS/Android 9. I tried the suggestions in this thread but haven't got unlock to work (I unlock my phone by drawing a pattern) Any other suggestions? P.S. I'm running 1.31 because I no longer have GAPPS/Google Play to update. I can buy another license, get 1.37 and si...
by markd89
10 Dec 2019 17:16
Forum: User Help / Bug Reports
Topic: Detect foreground app
Replies: 8
Views: 15572

Re: Detect foreground app

I found this: https://stackoverflow.com/questions/13193592/adb-android-getting-the-name-of-the-current-activity This root command seems to work: dumpsys activity recents | grep "Recent #0" I'm working on chopping up the result to just get the app name now. edit: dumpsys activity recents | grep "Rece...
by markd89
10 Dec 2019 16:45
Forum: User Help / Bug Reports
Topic: Detect foreground app
Replies: 8
Views: 15572

Re: Detect foreground app

Foreground app detection can be done already using trigger App Task Started, either using classic (Control UI) or usage statistic. However this require you to save every app changes first before getting into the app. To detect current foreground app without storing previous value, currently we stil...
by markd89
09 Dec 2019 15:01
Forum: User Help / Bug Reports
Topic: Detect foreground app
Replies: 8
Views: 15572

Re: Detect foreground app

OK, so this is not working so smoothly, so I'm back looking at alternatives. I'd like the flow to: 1. Detect the current foreground app. 2. Do stuff (start VPN) 3. Switch back to the app detected in step 1. I found a Github project https://github.com/ricvalerio/foregroundappchecker which provides co...
by markd89
23 Nov 2019 16:05
Forum: User Help / Bug Reports
Topic: Detect foreground app
Replies: 8
Views: 15572

Re: Detect foreground app

Thank you!!
by markd89
19 Nov 2019 23:48
Forum: User Help / Bug Reports
Topic: Detect foreground app
Replies: 8
Views: 15572

Re: Detect foreground app

Another (maybe easier option) - How can I minimize an app? Control-UI?

This way, I'd run the VPN app then minimize it and theoretically, I'd be back in the app I was before.

Thanks,

Mark
by markd89
18 Nov 2019 20:19
Forum: User Help / Bug Reports
Topic: Detect foreground app
Replies: 8
Views: 15572

Detect foreground app

Hi, I have a Flow which checks if my VPN is accessible and if not, then it starts the VPN. This works nicely. However, then the VPN is the foreground app. I'd like my Flow to start VPN if needed, then swap back to the app that was in the foreground before the Flow started. For example, I have Firefo...
by markd89
19 Jul 2019 14:00
Forum: General
Topic: How to remove Trigger
Replies: 2
Views: 14793

Re: How to remove Trigger

Ah, thanks! Unselect was the key. I knew I was missing something easy :-)
by markd89
19 Jul 2019 05:26
Forum: General
Topic: How to remove Trigger
Replies: 2
Views: 14793

How to remove Trigger

Hi, I have a flow which is only run conditionally by another flow so it doesn't need a trigger. I had this working, with a blank trigger. Then I was experimenting and changed the trigger to Periodic Timer. Now I can't figure out how to get back to not having a trigger. Please tell me what I'm missin...
by markd89
25 Jun 2019 14:28
Forum: User Help / Bug Reports
Topic: Default dialer: Phone, Skype, Linphone, etc
Replies: 4
Views: 10568

Re: Default dialer: Phone, Skype, Linphone, etc

Thanks, that worked perfectly!!