I have been working on this issue for almost two weeks now, I am
really stuck on it.

I have a bluetooth thread started that handles the bluetooth request.
Once the connection is made the thread is killed and a Connected
Thread is started. Once the Connected Thread is started I want to turn
on GPS so I can start feeding the GPS data through the output of the
bluetooth. The problem is, I can't get GPS to start in a seperate
thread other than the main Activity. I don't want that to happen as I
would like to have this run in the background and not be dependent on
the main Activity.

I have tried turning on the GPS from inside the Connected Thread but
that always leads to a RunTimeException.

Any ideas on how to get GPS to run in a thread?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to