Getting GPS position with libgdx

admin

Administrator
Staff member
i wanted to get the gps position of an user while playing a game (libgdx). I found <a href="http://www.androidhive.info/2012/07/android-gps-location-manager-tutorial/" rel="nofollow">this</a> 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 <a href="http://www.badlogicgames.com/wordpress/?p=1832" rel="nofollow">there isn't any opportunity</a> 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.