Sunday, April 14, 2013

[android help] Getting GPS position with libgdx

android - Getting GPS position with libgdx - Stack Overflow



















i wanted to get the gps position of an user while playing a game (libgdx). I found this tutorial for creating an GPSTracker for android phones. my problem is, that this is written for Android Activities/Tasks, but not for libgdx. without libgdx it works perfectly, but i don't know how to use it with libgdx and there isn't any opportunity for using gps with libgdx, yet.


does somebody know if it's possible to use GPS through libgdx and how? it would be very nice.


























You may be able to create your GPSTracker from the Android project wrapper and pass it to the Game instance.




















default






.

stackoverflow.comm

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...