I'm making a MIDP application that uses bluetooth to connect to other devices. I want the application to be able to run in the background and automatically connect when another device is in range. Everything works up to the point where the application is about to send data.
If the application is runned in the foreground it sends data, but if the application is running in the background it doesn't. It connects to the other device, but it doesn't send data. Anyone have any idea why?