Now Gesture Tweaks Replaces Google Now with Custom Action

On most modern Android devices with software navigation keys, swiping up from the … more

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

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

Available docks for Nexus 5 that triggers dock mode

OP ykphuah

8th January 2014, 03:35 AM   |  #11  
OP Senior Member
Thanks Meter: 23
 
364 posts
Join Date:Joined: Dec 2009
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, 03:50 AM   |  #12  
Android The Greek's Avatar
Senior Member
Flag Pottstown
Thanks Meter: 346
 
1,247 posts
Join Date:Joined: Mar 2012
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, 02:24 PM   |  #13  
Member
Thanks Meter: 7
 
69 posts
Join Date:Joined: Nov 2007
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, 08:47 PM   |  #14  
Junior Member
Thanks Meter: 2
 
12 posts
Join Date:Joined: Jan 2014
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, 02:17 PM   |  #15  
Member
Thanks Meter: 7
 
69 posts
Join Date:Joined: Nov 2007
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, 07:41 AM   |  #16  
OP Senior Member
Thanks Meter: 23
 
364 posts
Join Date:Joined: Dec 2009
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, 05:12 PM   |  #17  
Junior Member
Thanks Meter: 2
 
12 posts
Join Date:Joined: Jan 2014
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