Action On Headphone Unplug?

Xiangfu Liu xiangfu at sharism.cc
Tue Sep 4 06:02:02 EDT 2012


On 09/04/2012 07:43 AM, Alexander Stephen Thomas Ross wrote:
> Is it possible to run a script when the headphones are unplugged? My

Hi

We can't do that. the headphone and speaker connect is hardware control
software didn't know if headphones plug-in or not.

we can only control if we enable speaker or not.

Xiangfu

> 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?






More information about the discussion mailing list


interactive