Thread Tools
Posts: 60 | Thanked: 77 times | Joined on Dec 2009
I've noticed that my N9 lights up whenever I plug in the headphones, which probably means that the phone knows you've plugged them in.
Is it possible to develop an app/ tweak for automatically launching the music app when you plug in the headphones?

It would be a nice UI touch IMO.
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
The N900 already had a D-Bus signal (or something similar) triggered for that, so should be really simply.
__________________ Bugmaster
Posts: 60 | Thanked: 77 times | Joined on Dec 2009
So its possible? I've submitted a brainstorm for this. Would be great if someone can write a bit of code for this..
Posts: 1,067 | Thanked: 2,377 times | Joined on Jan 2012 @ Finland
you can for example follow changes in this file, as it will show if cable is plugged in or not.

cat /sys/kernel/debug/twl5031_aci/cable

re, Jonni

The Following User Says Thank You to rainisto For This Useful Post:

Thread Tools

Forum Jump

All times are GMT. The time now is 09:01.