Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,743,150 Members 44,898 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
kentoe
Old
(Last edited by kentoe; 13th December 2013 at 07:57 PM.)
#1  
Senior Member - OP
Thanks Meter 70
Posts: 340
Join Date: Mar 2010
Default [APP] Car Dock Mode - Since it's missing

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
Nexus 5
Rom: Stock 4.4 w/ Xposed framework + Gravity Box
Bootloader: Unlocked

Retired
Verizon Galaxy Nexus
ROM: Vicious Jellybean 4.1 (Team Liquid)
Recovery: ClockworkMod Touch v5.8.0.2
Bootloader: Unlocked

HTC Incredible - S-OFF!
ROM: Cyanogenmod 9
ClockWorkmod Recovery v3.0.0.8
Radio: 2.15.00.07.28
The Following 4 Users Say Thank You to kentoe For This Useful Post: [ Click to Expand ]
 
meethere
Old
#2  
meethere's Avatar
Senior Member
Thanks Meter 103
Posts: 709
Join Date: Jan 2012
hi
what exactly it does?
Get exposure, submit your biz to business web directory
India's Best Online Deals
 
kentoe
Old
(Last edited by kentoe; 13th December 2013 at 07:57 PM.)
#3  
Senior Member - OP
Thanks Meter 70
Posts: 340
Join Date: Mar 2010
Quote:
Originally Posted by meethere View Post
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.
Nexus 5
Rom: Stock 4.4 w/ Xposed framework + Gravity Box
Bootloader: Unlocked

Retired
Verizon Galaxy Nexus
ROM: Vicious Jellybean 4.1 (Team Liquid)
Recovery: ClockworkMod Touch v5.8.0.2
Bootloader: Unlocked

HTC Incredible - S-OFF!
ROM: Cyanogenmod 9
ClockWorkmod Recovery v3.0.0.8
Radio: 2.15.00.07.28
The Following User Says Thank You to kentoe For This Useful Post: [ Click to Expand ]
 
Letitride
Old
#4  
Letitride's Avatar
Senior Member
Thanks Meter 187
Posts: 768
Join Date: May 2010
Location: Metro NY/NE Region
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.
Google Nexus 5 - 4.4.4 KTU84P - x 2 in black & white: T-Mo 4G
Asus 2012 Nexus 7 32GB WiFi, 4.4.4 BSZKitKat v1.6
Moto Atrix 4G MROM: Peoples-AT&T/T-Mo 3G+WiFi
HTC Incredible 2 unlocked S-OFF CWM 5.x HB.97 (6.13.1002) SR's Zeus R1.3, Sense v5.0.m
Viewsonic Vpad7-CWM 5.x EUv1.7b ITE Rom 2.2.2 hw107, A2SD, 3G+WiFi
HTC Droid Eris-GB 2.3.5 CM7 V.24RIP-Vanila-ICS, WiFi only
HTC Ozone (unlocked GSM+CDMA) 3VO ROM: WinMo 6.5: CMHK/CN+
Sony E. W995 CID53Red, R1HA036 generic, C905 custpack
 
ginkage
Old
(Last edited by ginkage; 23rd January 2014 at 02:27 PM.)
#5  
Retired Senior RD
Thanks Meter 20
Posts: 69
Join Date: Jun 2005
Location: Moscow
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.
 
AndroidSlave
Old
#6  
AndroidSlave's Avatar
Senior Member
Thanks Meter 4126
Posts: 5,153
Join Date: Jun 2012
Location: Van Nuys, California
Quote:
Originally Posted by ginkage View Post
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
 
ginkage
Old
#7  
Retired Senior RD
Thanks Meter 20
Posts: 69
Join Date: Jun 2005
Location: Moscow
Quote:
Originally Posted by AndroidSlave View Post
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: [ Click to Expand ]
 
AndroidSlave
Old
(Last edited by AndroidSlave; 24th January 2014 at 04:10 PM.)
#8  
AndroidSlave's Avatar
Senior Member
Thanks Meter 4126
Posts: 5,153
Join Date: Jun 2012
Location: Van Nuys, California
Quote:
Originally Posted by ginkage View Post
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
 
estapagu
Old
#9  
Junior Member
Thanks Meter 12
Posts: 19
Join Date: 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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes