Hello,
I have now got it working by using the same network Tutorial but loading a connection in a service module.
Now it seems to work when the app is close, as its now running as a service. (which means I now have 2 connections to the same device.)
Does anyone know how to make it wake the device up or if the device is active make it load my app up using a service?