06-14-2012 06:43 PM
I was wondering if anyone has experience with this problem, if a device is detected via the bluetooth search, but then goes out of range when the getfriendlyname is called later on, it lags and then assigns the name as null. Does anyone know how to avoid this problem? I don't know if it is possible to cancel the getfriendlyname if it is running, or interrupting the background thread it would be running in, can a background thread be cancelled from execution? I have looked this up but gotten mixed signals.