ToqAN Fixes Android 5.0 Notification Bug on Qualcomm Toq

The Qualcomm Toq is probably one of the lesser known smartwatches on the market … more

How to Root and Unlock the Google Nexus 6 on a Mac – XDA TV

In the past, XDA Developer TV Producer droidmodd3rx has shown you how to … more

Set Up Your MediaTek Device with Comprehensive Beginner’s Guide

As can be seen with the use of MediaTek chips in Android One devices … more

Sony Updates AOSP Sources to Android 5.0.1

Just a few days ago, Sony did an utterly fantastic job by pushing out numerous device trees for … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[APP] Car Dock Mode - Since it's missing

OP kentoe

13th December 2013, 06:57 PM   |  #1  
OP Senior Member
Thanks Meter: 70
 
342 posts
Join Date:Joined: Mar 2010
More
Car Dock *Root* - https://play.google.com/store/apps/d...warner.carmode

I just made this app recently to initiate the Car Dock functionality for my Nexus 5.

Advantages of car dock mode: Landscape mode on home screen, auto speaker phone when getting calls, other little features that people may have used in the past



SUPER simple app that doubles as a 1x1 widget. Unfortunately though, it requires root to put the device into the appropriate Car Dock mode due to having to execute a simple one line shell command. The standard SDK broadcast intents don't have the appropriate permissions to execute the Car Dock mode correctly.

Note: Don't disable Car Dock mode using the system notification. This is a notification provided by the Android OS and incorrectly disables Car Dock mode the same way you could do so without escalated privileges. Essentially it just shuts of car dock mode but doesn't disable rotation on the home screen which is the big thing.

Let me know what you think, was gonna share it around.

Tested on
  • Nexus 5 w/ 4.4.2 Stock Rom rooted
  • Galaxy Nexus w/ 4.3 Cyanogenmod
  • Droid Incredible w/ 4.0.3 Cyanogenmod
Last edited by kentoe; 13th December 2013 at 08:57 PM.
The Following 4 Users Say Thank You to kentoe For This Useful Post: [ View ]
13th December 2013, 08:38 PM   |  #2  
meethere's Avatar
Senior Member
Thanks Meter: 103
 
717 posts
Join Date:Joined: Jan 2012
hi
what exactly it does?
13th December 2013, 08:53 PM   |  #3  
OP Senior Member
Thanks Meter: 70
 
342 posts
Join Date:Joined: Mar 2010
More
Quote:
Originally Posted by meethere

hi
what exactly it does?

It allows you to put the phone in landscape during the home screen and makes things a lot more automated for car situations. Like it will automatically put your calls in speaker phone mode and other little things.

I had used Car Dock mode a lot with my Galaxy Nexus when I would put it in the car dock because the pogo pins would set it to that mode, but now it's not as accessible with the Nexus 5 since there isn't a dedicated dock for it.
Last edited by kentoe; 13th December 2013 at 08:57 PM.
The Following User Says Thank You to kentoe For This Useful Post: [ View ]
14th December 2013, 06:02 AM   |  #4  
Letitride's Avatar
Senior Member
Flag Metro NY/NE Region
Thanks Meter: 198
 
778 posts
Join Date:Joined: May 2010
More
Thanks for sharing. Initial impression - looks nice, installed it via Play Store and running, screen rotate with most apps (Youtube, Maps & Google Now, etc.) - simplistic & functional, will test it tomorrow on a snow day as we need to head out. Having incoming calls to ring & answer in speakerphone mode is perfect when BT isn't connected ... not that I advocate distracted driving behind the wheels.

What will it take to rotate the stock telephone dialer and/or the Talkatone dialer? Google/LG should've included the Car Dock on its installed App list for the Nexus 5. I like it.
23rd January 2014, 03:22 PM   |  #5  
Retired Senior RD
Flag Moscow
Thanks Meter: 20
 
69 posts
Join Date:Joined: Jun 2005
More
Hm... How is it different from my app (which works as I described here)?
Also, my app doesn't require you to "not disable the car dock mode from the system notification", as it will still correctly disable car mode just fine on a second launch, without any reboot.
Last edited by ginkage; 23rd January 2014 at 03:27 PM.
24th January 2014, 07:51 AM   |  #6  
AndroidSlave's Avatar
Senior Member
Flag Simi Valley, California
Thanks Meter: 4,333
 
5,445 posts
Join Date:Joined: Jun 2012
More
Quote:
Originally Posted by ginkage

Hm... How is it different from my app (which works as I described here)?
Also, my app doesn't require you to "not disable the car dock mode from the system notification", as it will still correctly disable car mode just fine on a second launch, without any reboot.

So because you created a similar app, he isn't allowed to make one?

Sent from Nexus 5 on Slimkat
24th January 2014, 07:54 AM   |  #7  
Retired Senior RD
Flag Moscow
Thanks Meter: 20
 
69 posts
Join Date:Joined: Jun 2005
More
Quote:
Originally Posted by AndroidSlave

So because you created a similar app, he isn't allowed to make one?

OMG, no, I was just asking what's the difference.
E.g., he could have used a different method of achieving the dock state, like firing up a broadcast message via am command (which I've failed to do properly), or something else. I just wanted to know how this one works, that's all.
The Following User Says Thank You to ginkage For This Useful Post: [ View ]
24th January 2014, 07:55 AM   |  #8  
AndroidSlave's Avatar
Senior Member
Flag Simi Valley, California
Thanks Meter: 4,333
 
5,445 posts
Join Date:Joined: Jun 2012
More
Quote:
Originally Posted by ginkage

OMG, no, I was just asking what's the difference.
E.g., he could have used a different method of achieving the dock state, like firing up a broadcast message via am command (which I've failed to do properly), or something else. I just wanted to know how this one works, that's all.

My apologies, I misunderstood.

Sent from Nexus 5 on Slimkat
Last edited by AndroidSlave; 24th January 2014 at 05:10 PM.
23rd April 2014, 04:48 AM   |  #9  
Junior Member
Thanks Meter: 12
 
23 posts
Join Date:Joined: Jun 2011
Can I do a request? I think this would be more useful with a Tasker plugin or a separated switcher for on/off. The reason is sometimes using NFC lockscreenoff enabler xposed module for tag lost detection, when a tag is lost very early, then the car mode goes inverted cause you can't set a task for swith car mode on or off, just toggle.

Sorry for my poor English.
Thanks

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes