Post 2 made on Thursday November 11, 2021 at 12:20 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 12,999 |
|
|
Yes, it can be done but not based on pickup sensor, but rather based on screen coming on. Curious as to your use case though.
You'd have to use ProntoScript and add code to every activity where you want this behavior (or use a System level script) to register a callback for Activity.onWake, and when your function is called , you'd find the widget with the jump and execute or schedule the actions of that widget.
Every time the screen goes off, Pronto will call a registered callback for Activity.onSleep. When screen comes on, it will call a registered callback for Activity.onWake.
Do you want behavior to be same for all activities such that you always jump to a specific page or does it vary based on activity?
Consider that you using remote to 'tweak' receiver settings and are on that page doing a trial listen to something. Screen goes off and then you pick up to change a setting. When it comes back on, it might jump you to another page. IMO, that would be really annoying.
|
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|