I have a Thread with a message-Looper for some Location calculation. For this i call:
LocationManager.requestLocationUpdates(mProvider, mMinTime, mMinDistance, (LocationListener)this, looper);
To get a valid Looper-object I prepare my Thread like this:
Looper.prepare();
mLooper = Looper.myLooper();
handler = [...]
Looper.loop();
But is it somehow possible to have an additional while-loop for data-processing in the same thread?
Probably I can somehow derive my own Looper and process the messages manually, but how?