Is it possible to run a script when the headphones are unplugged? My idea is that, when your using ones Nano Note for playing music on a journey and then arrives at ones destination. Instead of quitting the music app and initiating power off manually you could have a automatic countdown to power-off, so if you accidentally or temporary unplug the headphones/line-out there is a chance to abort power-off sequence. Which is done by plugging the jack plug back into the audio out jack socket.

If this can be done. How does one monitor the audio out jack socket state?

_______________________________________________
Qi Hardware Discussion List
Mail to list (members only): [email protected]
Subscribe or Unsubscribe: 
http://lists.en.qi-hardware.com/mailman/listinfo/discussion

Reply via email to