Just loaded this Android app onto the new phone.
Didn't realise it worked on any Android. Not just Xperias.
You can use it to trigger events when things are plugged in or connect via Bluetooth.
For instance when my car handfree connects:
screen brightness switched to 100%,
WiFi is turned off,
TuneIn is launched.
Also the sms reader is activated.
When the car disconnects everything** switched back to normal.
**Haven't found out how to exit apps, so TuneIn is still running.
Have to manually exit.