maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   Automatically launching music app on the N9? (https://talk.maemo.org/showthread.php?t=83594)

ujwalsoni 2012-04-12 20:17

Automatically launching music app on the N9?
 
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 2012-04-12 22:58

Re: Automatically launching music app on the N9?
 
The N900 already had a D-Bus signal (or something similar) triggered for that, so should be really simply.

ujwalsoni 2012-04-13 08:12

Re: Automatically launching music app on the N9?
 
So its possible? I've submitted a brainstorm for this. Would be great if someone can write a bit of code for this..

rainisto 2012-04-13 17:13

Re: Automatically launching music app on the N9?
 
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


All times are GMT. The time now is 07:26.

vBulletin® Version 3.8.8