Open app on wake up and boot - Shield Android TV Q&A, Help & Troubleshooting

Hi
Is there an way to make an app start on wake up?
I use Launch on boot, for Kodi and that works when it boots.
But the choise of start app on wake up does not work.
Is there some other way to do this?
I would have Kodi to stop/turn off when I put the Shield to sleep, and start Kodi again when it wakes up. This because then Kodi is started fresh
every time and works way better.
Petter

Related

focus not sleeping properly

My phone is not sleeping itself down after the time elapses.anyone else noticing this, its making me think its draining my battery.
Just tested this myself, and on a one minute sleep timer, my phone did properly go to sleep.
Mine sleeps fine too.
mine sleeps fine as well. Do you have any particular app running? For example, if you have AT&T Navigator running it will not sleep. There are a few other apps that provide the ability to prevent it from sleeping. So, are you on the main screen or in an app when it doesn't sleep?
Cannot say I've had this problem. Worked at its default of 1 min, and still works after I changed to 3.
I am trying to id the app if any that is causing it but with no task manager its impossible.
I do notice an issue with the camera app. If the camera button gets pressed then the phone will stay on and not sleep, for me at least.
It goes off on it's own mostly...thanks for the reports as I work through this. I may need a hard reset anyway, hey why not Ill add a microSD at that time.

[Q] Auto power off when unused

I tend to leave my Nexus 7 down for large periods of time then find that it is out of charge next time I go to use it.
Ideally I would like a way to have it power down after the screen has been left switched off for an hour.
Anyone got a clever solution / app?
BTW, I am rooted if that helps!
I'm guessing tasker can handle this
Sent from my Nexus 7 using Tapatalk HD
Pirateghost said:
I'm guessing tasker can handle this
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
I looked at Tasker before but it doesn't seem to cancel the shutdown countdown when the screen comes back on within the allotted time
Anyone know a solution?
aidanbree said:
Anyone know a solution?
Click to expand...
Click to collapse
I don't use tasker; I use llama. There is an option to cancel the event if the conditions don't hold, thus resetting the timer when the screen turns on. You should be able to find a similar option.
Sent from my Nexus 7 using Tapatalk HD
You might just need to tweak the Tasker profile.
Set up a profile based on the state of the screen being on.
Start task - define a task that waits one hour, and then if the screen is still off in one hour, power off.
*but* this is of course not enough, because it doesn't check during that whole hour. So, you also need to go into the settings of the task you created, and look into collision handling. The default is to ignore the new task. What you want instead is take the option where it aborts the existing task and starts a new one from its first action.
So now every time you sleep the tab, a countdown starts. Every time you wake it, the countdown continues but it won't actually power off if the timer passes when the screen is on. And then every time it sleeps, the countdown gets aborted and restarted.
I always kinda thought this should be a feature even on a stock ROM, since some people just don't use it that often.

How to prevent my S8 killing an app?

I currently use my S8 along with my Huawei watch 1 to start my PC via WOL. The process is that I use WearTasker on the watch, which triggers a tasker task, which in turn uses a plugin from the app Wake On Lan.
The problem is that, most times, nothing happens when I trigger the task from my watch. If, however, I go to my phone and start the Wake on Lan app - to make sure it's running - then the process works perfectly. Obviously, this defeats the point though.
I have both App Power Monitor and Power Saving Mode disabled in the S8 settings. Is there anything else I can do to make sure this app doesn't get killed and continues running in the background?
phunni said:
I currently use my S8 along with my Huawei watch 1 to start my PC via WOL. The process is that I use WearTasker on the watch, which triggers a tasker task, which in turn uses a plugin from the app Wake On Lan.
The problem is that, most times, nothing happens when I trigger the task from my watch. If, however, I go to my phone and start the Wake on Lan app - to make sure it's running - then the process works perfectly. Obviously, this defeats the point though.
I have both App Power Monitor and Power Saving Mode disabled in the S8 settings. Is there anything else I can do to make sure this app doesn't get killed and continues running in the background?
Click to expand...
Click to collapse
Add your app in to the "Unmonitored Apps" list under the battery screen (Scroll to the end of the screen in case you can't see).
venki5star said:
Add your app in to the "Unmonitored Apps" list under the battery screen (Scroll to the end of the screen in case you can't see).
Click to expand...
Click to collapse
Ok, done that - although I assumed that wasn't relevant since the app power monitor is off. I even had to enable it in order to add the app to the list - before, of course, disabling it again.
I initially thought that had fixed the problem, but the required app is still often not running.
phunni said:
I currently use my S8 along with my Huawei watch 1 to start my PC via WOL. The process is that I use WearTasker on the watch, which triggers a tasker task, which in turn uses a plugin from the app Wake On Lan.
The problem is that, most times, nothing happens when I trigger the task from my watch. If, however, I go to my phone and start the Wake on Lan app - to make sure it's running - then the process works perfectly. Obviously, this defeats the point though.
I have both App Power Monitor and Power Saving Mode disabled in the S8 settings. Is there anything else I can do to make sure this app doesn't get killed and continues running in the background?
Click to expand...
Click to collapse
Think it has something to do with having a lockscreen that has a pin/password, remove it and see if it fixes the issue
Interesting. I just tried it with the phone unlocked, but the WOL app not started (by me anyway - I assume it was running in the background or started by tasker) and it worked. Obviously, this isn't final proof, but it does lend significant strength to your theory...
As a father of young children - it's quite useful to be able to lock the phone. Is there a workaround for this behaviour?
phunni said:
I currently use my S8 along with my Huawei watch 1 to start my PC via WOL. The process is that I use WearTasker on the watch, which triggers a tasker task, which in turn uses a plugin from the app Wake On Lan.
The problem is that, most times, nothing happens when I trigger the task from my watch. If, however, I go to my phone and start the Wake on Lan app - to make sure it's running - then the process works perfectly. Obviously, this defeats the point though.
I have both App Power Monitor and Power Saving Mode disabled in the S8 settings. Is there anything else I can do to make sure this app doesn't get killed and continues running in the background?
Click to expand...
Click to collapse
Is this an app in the phone? If so you can prevent killing an app, by pressing recents button, 3 dot, lock apps. The app will stay in ram.
Sent from my SM-G950F using Tapatalk
My S8 seems to just shut processes off when the screen is off. It's really annoying. No "OK Google" support, I can't get volume to work on my Chromecast except for maybe the first couple minutes the screen is off, then it works again when the screen is on, and simple app notifications like Domino's telling me my pizza status never works, even tho notifications are turned on.
It also likes to completely reset my games if I try to do something simple like minimizing it and doing a quick Google search. It seems like it just handles memory very poorly.

Streaming apps stop when phone goes to standby

Ok, I have the Nokia 6. Here is my problem. If I download a radio station streaming app from the app store, it will load and play. Once the phone goes to sleep or what ever you call it the steam will stop. If I wake the phone it will play again. How do I stop it from killing the stream when the screen goes black?
The second issue, once I close the app, it will not open again. It starts then shuts down. The only way to use it again is to uninstall then reinstall..... Doesn't make sense! Any thoughts would be greatly appreciated!!! Thanks
Marine_Sniper said:
Ok, I have the Nokia 6. Here is my problem. If I download a radio station streaming app from the app store, it will load and play. Once the phone goes to sleep or what ever you call it the steam will stop. If I wake the phone it will play again. How do I stop it from killing the stream when the screen goes black?
The second issue, once I close the app, it will not open again. It starts then shuts down. The only way to use it again is to uninstall then reinstall..... Doesn't make sense! Any thoughts would be greatly appreciated!!! Thanks
Click to expand...
Click to collapse
For issue 1 go to battery management and they inside the battery optimisation and mark that app as not optimized
For issue 2, what's your android version!?

Stop Spotify from run at startup on Joying 8.1 Airmont

Spotify starts every time I turn on the ingnition and Joying JY-UO135N4G wakes up. I have done factory reset, reinstalled software, gotten 2019.5.15 from Joying guys ... nothing helps. Every time I reinstall Spotify, it will start to run at startup.
If I kill Spotify and reboot, Spotify won't start. If I turn ignition off and back on again, Spotify won't start. But, once I start Spotify once again, kill it and turn ignition off and on, Spotify will start on every ignition on automatically.
Could it have gotten the right for autostart with Nova Launcher and Spotify widget?
I have no idea how Spotify has gotten right to run at startup, but BootManager app shows it as the only item on the list of applications to run at startup. I have not rooted yet so cannot run Xposed framework and use BootManager to delete the right.
Is there a way to stop run at startup? Can I delete some file before factory reset and reinstall Joying software? How can it survive complete reinstall?
I think I have this same issue you have so am attempting to bump this thread to see if you have happen to have found a fix.
I do use Spotify all the time so it running is not my main concern, but why it always pops up on resume at a queue screen. I do not know where it gets the trigger to take focus and always go to that screen. If it was playing in the background and I turn off the car, on resume it will display on top of anything else unnecessarily.
merdok said:
I think I have this same issue you have so am attempting to bump this thread to see if you have happen to have found a fix.
I do use Spotify all the time so it running is not my main concern, but why it always pops up on resume at a queue screen. I do not know where it gets the trigger to take focus and always go to that screen. If it was playing in the background and I turn off the car, on resume it will display on top of anything else unnecessarily.
Click to expand...
Click to collapse
Anyone find a solution?

Categories

Resources