Hi
Im getting the same problem when trying the devx.com tutorial with the
GPS only working twice. I tried getting rid of the Toast completely
incase that was causing a deadlock like Mike suggested but with no
luck. I was wondering if anyone found the problem or had found a
better tutorial?
Tom
-
I suspect you need to update the Toast (which is a UI widget) on the
UI thread. You do this by creating a Handler and posting a Runnable
with the code you are using to update the Toast. If you don't, you
run the risk of deadlock.
- Mike
On May 7, 2:52 pm, Patricio Echague wrote:
> Hi all, my
Curiously I have tried your code and I get the same problem as you. It
only works for the first two GPS data that i send.
The code seems to be ok as it is the same as the tutorial on devx.com
page...
I have no clue about what's happening.
Thanks,
Pablo
On May 14, 12:25 pm, Pablo wrote:
> Hi,
Hi,
I'm having a similar problem to yours and as far as I know sdk 1.5 has
introduced some changes concerning location. On the manifest the uses-
permission, as far as I know, ACCESS_GPS and ACCESS_LOCATION has been
substituted for ACCES_FINE_LOCATION.
ACCESS_COARSE_LOCATION is only needed in ca
4 matches
Mail list logo