Make Head-Unit automatically switch off screen - Android Head-Units

I barely interact with my head unit and as soon as it's booted up it launches music player app and continue playing last played track. So I have to switch off screen every time using the option located in swipe down menu. Is there a way to automate this so screen will automatically switch off when music player is running or if I haven't interacted with it for period of time just like in android phones?
I tried changing
Code:
screen_off_timeout
to 30000 using ADB. But that's seems to be making unit freeze time to time and the screen doesn't get switched off.

Related

Tasker app from the market.

Sorry guys found a previous thread in another forum.
http://forum.xda-developers.com/showthread.php?t=743861
Mods please delete.
I just bought the tasker app and figured I would let people know how its working for me, and to solicit suggestions for things I can do with it.
background:
Its a very good app that allows you to script the behavior of the phone based on a very large set of events or states.
My initial use:
As previously mentioned on this board the bluetooth streaming volume is not the loudest, so I always end up turning up the volume for bluetooth. Then when I plugin my headphones I destroy my eardrums.
So I setup a task that when I connect to my bluetooth car stereo, it automatically sets the volume to max and turns off wifi for good measure.
I have another task that when I plugin headphones, it sets the volume to 60% and opens the doubletwist music player.
Finally I setup the standard battery task so that when my battery gets to 20% it turns of all the GPS, wifi, and bluetooth radios, as well as dimming my screen.
Anyone else have this app and have something cool they have setup using it? I have heard of silent mode when the handset is placed flat facedown, which i thought was unique.
I have had it for a few days and am playing around with it. I have 2 tasks so far. First is to go to silent mode when face down. This is especially nice since I charge it overnight by my bed and don't want notifications (emails etc) waking me up so I have been just turning silent mode on at night and off in the morning. Sometime forgetting to turn on in the morning.
The 2nd task is to read the email sender and subject aloud when I am in the car and it is connected to my car stereo via bluetooth. I like the wifi off setting you did. I may do the same.
I also noticed that when listening to streaming through bluetooth with the wifi on but not connected to an ap, I get "skips" every once in awhile. Turning off wifi fixes it so I may set it to turn off wifi when streaming bluetooth audio.
Couple issues I have had. If the phone is in "standby" (pushing the power button) tasker won't go to silent mode. Also, I tried to make the screen go off when face down as well but it doesn't work. Apparently tasker can not turn the screen off but you are supposed to be able to change the timeout to as little as 7 seconds. I set that up but instead of the screen going off it just dims. Not sure of the issue.
I am interested in what others are doing so post the info.
I have two keyboards i really like in 2 different orientations.
Droid X keyboard:
its sweet autocorrections and large real estate makes it ideal for two thumb typing in landscape
swype:
slower than droid X keyboard in landscape, but in portrait, this is possibly the fastest/most accurate keyboard around.
I tried to set it up so that i could change my keyboards depending on the orientation, but i could not figure it out
im also for an app that turns your screen off with a timer (in the background). and have that work when you turn your screen downward./
any with either of these would be greatly appreciated.

[Req] Car mode that doesn't suck

I have used the stock car mode that comes with android and car home v3 and they both suck. All they do is provide big buttons to launch apps that go to their normal size selves.
Key features car mode should have:
1. Everything gets played through the speaker (except for when something is hooked to headphone jack, or bluetooth)
2. Some hitting the home button goes to the car mode home, not home page. The way it is now you have to keep back until you realize you are drifting into oncoming traffic.
3. Disable the lockscreen when in car mode/Option to have the screen not timeout. Every time the screen turns off, I'm stuck unlocking the phone again.
Everyone else list what you think should be put in and maybe a nice dev will help out.
riotburn said:
3. Disable the lockscreen when in car mode/Option to have the screen not timeout. Every time the screen turns off, I'm stuck unlocking the phone again.
Click to expand...
Click to collapse
assuming you also have the phone plugged in while in your car, you can do this in the applications->development settings
dLo GSR said:
assuming you also have the phone plugged in while in your car, you can do this in the applications->development settings
Click to expand...
Click to collapse
Yea but I prefer to have it no lockscreen with it timing out, I dont usually have it charging. I have it just plugged in to the 3.5mm headphone jack.
#3: I think Tasker should help you out there. Possibly with #1, too.
I use car dock home v3. It's ok. I have 3 audio widgets and I can put player control widgets on the home screen, i like that. I do notice tho that when I go into google navigation it sometimes can't find GPS even if I leave gps on all the time plus having car dock set to turn it on. In those cases I turn it on and off and then it's fine.
There also seem to be some problems with vlingo and google voice. For some apps it uses one then switches to the other. Also the vlingo in car safe reader doesnt always work, to be fair its still in beta and when it does work its awesome. Finally I dont know if I did something but I no longer hear calls through the car speakers. Maybe I have to turn auto speaker phone off?
My biggest annoyance is Acast, my podcast player, doesnt like Car dock. It will pause podcasts when i go to dock home screen. It sometimes restarts podcasts from beginning when unpausing. I use Acast alot, so that's my biggest gripe. Tho since the last update of Acast the whole thing has been slow.
downloaded the trial for tasker, going to see how that works. Though it is a solution, this is something the car dock apps should be doing on their own.
Wow tasker is amazing. Solved all the things I was looking for. Its such a powerful app.

[Q] Disable lock screen widget

Is there a way to disable lock screen widgets without closing the playing audio.
I listen audio through my bluetooth and keep my phone in my pocket. Currently leaving anything playing keeps a widget on the top of the lock screen. All to frequently I find that I have skipped the song I wanted to hear or have jumped forward 25 minutes in my book. I found a setting in Podcast Addict and that app no longer does it.
I am rooted and using the stock rom. Would screen shots help?
I went ahead and contacted Samsung, the say it cannot be done.
Explain to me in more detail what you mean because I stream music and books, etc.. from my phone all day long and have no issues with it.
As an example, I use NPR One I launch the app, start streaming audio then press the power button to lock and power off the screen. If the power button gets pressed again the lock screen has audio controls. In this case it would only be play/pause and skip. I don't want those controls on the lock screen.

Car Mode prevents Recents key, enlarges other soft keys

All,
Any thoughts on preventing car mode from resizing the screen to accommodate the enlarged soft keys and re-enable the Recents button again? I need car mode to keep the screen on while driving, but not being able to quickly transition from Maps to Google Play Music with a double tap of the Recents button, as well as the reduced screen size, is beyond annoying. Saying "don't use car mode" without a solution to keep the screen on while driving (read: not just "while charging" like the developer option allows) isn't a valid solution.
I've attached a screenshot of the issue. Thanks in advance!
Sent from my LG-H910
Have you tried Android Auto. Google just updated it so you can run it stand alone on a phone. It would give you a simplified car friendly screen with quick access to music and maps.
nicholb said:
Have you tried Android Auto. Google just updated it so you can run it stand alone on a phone. It would give you a simplified car friendly screen with quick access to music and maps.
Click to expand...
Click to collapse
I like the concept, I just don't like being limited to only accessing those select apps, I use lots of other things to search for addresses I travel to for work, driving 50K miles per year, so I'm in the car working (yes, stopped when accessing emails) and I hate having to disable car mode every time I need to multitask
Good suggestion, I am interested in the direction of Android Auto, just not for my main device at this time
Sent from my LG-H910
Now car mode prevents me from seeing that a call is currently active, nothing on the notification bar, nothing on the second screen, can't hang up unless I use the controls on the car steering wheel. Need to find another solution using Tasker or otherwise. Screen on while charging in developer's options dims the screen beyond usefulness.
Sent from my LG-H910
you're having strange issues, are you connecting to a head unit or using the phone alone? Im not having any problems, but i dont need to switch between apps. Also now that Android Auto works over Bluetooth its i can choose between wired connection(which doesn't let me change apps) or wireless is i want to use an app while stopped. As for the call issue sounds like something is triggering the proximity sensor, i had the same issue when i had a screen protector for a different device on at the beginning?
KryptosXLayer2 said:
Now car mode prevents me from seeing that a call is currently active, nothing on the notification bar, nothing on the second screen, can't hang up unless I use the controls on the car steering wheel. Need to find another solution using Tasker or otherwise. Screen on while charging in developer's options dims the screen beyond usefulness.
Sent from my LG-H910
Click to expand...
Click to collapse
I just ordered the V20 today and intend on using it in Landscape mode while driving and using Google Maps or Waze. My previous phone Note 4, the screen would always stay on as long as i had Google Maps running. I never used the car mode feature and always had it plugged in while driving. Do you really need to use Car mode? Couldnt you just keep Google Maps active and access other apps as needed?
LOTL said:
I just ordered the V20 today and intend on using it in Landscape mode while driving and using Google Maps or Waze. My previous phone Note 4, the screen would always stay on as long as i had Google Maps running. I never used the car mode feature and always had it plugged in while driving. Do you really need to use Car mode? Couldnt you just keep Google Maps active and access other apps as needed?
Click to expand...
Click to collapse
That would be fine for the times I'm ONLY using Maps, but not Music or anything else that keeps screen on while in foreground. If I switch to anything other than Maps, I have to switch back before the screen times out - and considering the power button is almost impossible to get to when mounted, that isn't a viable solution for me, unfortunately.
KryptosXLayer2 said:
That would be fine for the times I'm ONLY using Maps, but not Music or anything else that keeps screen on while in foreground. If I switch to anything other than Maps, I have to switch back before the screen times out - and considering the power button is almost impossible to get to when mounted, that isn't a viable solution for me, unfortunately.
Click to expand...
Click to collapse
Yeah, this was the first thing I noticed\hated with either the V20 or 7.0, I hate that the nav buttons increase in car\dock mode. I use CarHome Ultra as my docking app and the only way I have found around it is to Auto hide the Navbar when I'm running CarHome Ultra and my Navigation GPS app. I auto-hide just those two apps from within the "Home Touch Button" tab in the Display settings. I can add shortcuts within CarHome Ultra to the apps I my use while driving: Etc...Nav, Messenger, phone app.
Hope this helps some.
That actually did help me! Thanks. I also use Car Home Ultra, which I love, but I had switched from 8 buttons to 6 because they were too squashed due to the nav buttons at the bottom.

Mecool KM2 can't turn off screensaver

Hi,
I don' know if this is the right forum. I have a mecool KM2 android tv media player. The issue is that there is no option to turn off screensaver completely. In settings there is only to set the maximum of 2 hours before the screensaver kicks in. This is making every time the screensaver is loaded that programs like Kodi are shutdown and I have to restart them with all the necessary clicks to get back where I was last time. Is this a android tv missing feature to turn the screensaver completely off? Is there some other way to prevent the media player going into sleep mode?
Also unrelated to above, installing regular android apps on android tv is really hit and miss. Some apps won't start, and some when they start close unexpectedly.
Hope someone can point me into the right direction to solve this.

Categories

Resources