Reply
Thread Tools
Posts: 58 | Thanked: 77 times | Joined on Dec 2009
#1
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,646 times | Joined on Jun 2008 @ Praha, Czech Republic
#2
The N900 already had a D-Bus signal (or something similar) triggered for that, so should be really simply.
__________________
maemo.org Bugmaster
 
Posts: 58 | Thanked: 77 times | Joined on Dec 2009
#3
So its possible? I've submitted a brainstorm for this. Would be great if someone can write a bit of code for this..
 
Posts: 981 | Thanked: 2,049 times | Joined on Jan 2012 @ Finland
#4
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:
Reply

Thread Tools

 
Forum Jump


All times are GMT -4. The time now is 07:54 PM.