FORUMS

Voices Of XDA: Orbiting The Earth With Android

Editor’s note: This week’s feature has been written by forum … more

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

Available docks for Nexus 5 that triggers dock mode

380 posts
Thanks Meter: 25
 
By ykphuah, Senior Member on 7th January 2014, 03:40 AM
Post Reply Subscribe to Thread Email Thread
8th January 2014, 02:35 AM |#11  
OP Senior Member
Thanks Meter: 25
 
More
So the dock is actually triggered by something in the usb pins.

Pardon my noobness because I have never had a phone that I can trigger the "dock" mode before.

Recently I read about this:
http://www.xda-developers.com/androi...oogle-nexus-5/

So at first I thought there's something about the hidden magnets that triggers the dock mode, but couldn't find more information about it. Seems like now its just to hold the phone in place and don't do anything.

So I assume the Philips Fidelio also should not trigger this?
 
 
8th January 2014, 02:50 AM |#12  
Android The Greek's Avatar
Senior Member
Flag Pottstown
Thanks Meter: 433
 
More
Quote:
Originally Posted by ykphuah

So the dock is actually triggered by something in the usb pins.

Pardon my noobness because I have never had a phone that I can trigger the "dock" mode before.

Recently I read about this:
http://www.xda-developers.com/androi...oogle-nexus-5/

So at first I thought there's something about the hidden magnets that triggers the dock mode, but couldn't find more information about it. Seems like now its just to hold the phone in place and don't do anything.

So I assume the Philips Fidelio also should not trigger this?

Only the nexus 7 has dock pins and can use this feature.

Sent from my Nexus 5 using XDA Premium 4 mobile app
29th January 2014, 01:24 PM |#13  
Member
Thanks Meter: 7
 
More
I've been reading about this a bit and it looks like the OS probably still has "dock support", but out of the box the phone has no way to trigger it.

Supposedly if you run
Code:
am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE 2
from the terminal (or `adb shell`) you'll make the phone think it's hooked up to a car dock. (I think state "0" is no dock, and "1" is desk dock)

I plan to play with it today. If it works, it should be possible to automate it or make a home-screen shortcut with Script Manager or similar. I guess you could probably also trigger it from an NFC tag? Not sure how those work, still reading.
The Following 2 Users Say Thank You to Ghengis042 For This Useful Post: [ View ]
31st January 2014, 07:47 PM |#14  
Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by Ghengis042

I've been reading about this a bit and it looks like the OS probably still has "dock support", but out of the box the phone has no way to trigger it.

Supposedly if you run

Code:
am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE 2
from the terminal (or `adb shell`) you'll make the phone think it's hooked up to a car dock. (I think state "0" is no dock, and "1" is desk dock)

I plan to play with it today. If it works, it should be possible to automate it or make a home-screen shortcut with Script Manager or similar. I guess you could probably also trigger it from an NFC tag? Not sure how those work, still reading.

That would be great if this works via NFC. I bought my wife a Nex5 to replace her old (Don't laugh) Droid3, but the dock for that gave her a nice alarm clock when docked. I've kluged in similar functionality via tasker, a NFC tag on the Tylt Vu, and settings in the clock app, but it would be great to do this in a more "native" fashion.
2nd February 2014, 01:17 PM |#15  
Member
Thanks Meter: 7
 
More
Quote:
Originally Posted by Eskimo128

That would be great if this works via NFC. I bought my wife a Nex5 to replace her old (Don't laugh) Droid3, but the dock for that gave her a nice alarm clock when docked. I've kluged in similar functionality via tasker, a NFC tag on the Tylt Vu, and settings in the clock app, but it would be great to do this in a more "native" fashion.

I tried the command I pasted earlier and got a permissions error -- looks like that method requires root. Once you have root, though, you could run it via an automation app and it sounds like it would work fine. It might also be that the Tasker task you set up is using the same actual process (sending that system message) under the hood.
3rd February 2014, 06:41 AM |#16  
OP Senior Member
Thanks Meter: 25
 
More
Quote:
Originally Posted by Eskimo128

Droid3, but the dock for that gave her a nice alarm clock when docked. I've kluged in similar functionality via tasker, a NFC tag on the Tylt Vu, and settings in the clock app, but it would be great to do this in a more "native" fashion.

Yeah this is what I thought. Have Day Dream comes up with Clock only when Docked, not Charging. Seems it doesn't work.
19th March 2014, 04:12 PM |#17  
Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by ykphuah

Yeah this is what I thought. Have Day Dream comes up with Clock only when Docked, not Charging. Seems it doesn't work.

I installed "Dock Clock (night clock) instead of using the daydream, and had it launch with NFC. But since it's on for hours, I figured charging while it was running would be a necessity.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes