Access the GPS lazarus / 43-Android ---------------------------------------------------------------------- LittleBritaly · 2013-09-18 07:45 Is there currently any way to access the GPS sensor ? ---------------------------------------------------------------------- LittleBritaly · 2013-09-20 15:22 Managed to answer my own question, there's a code snippet in androidlcltest, which I couldn't get to compile. Look for PositionInfo.RequestPositionInfo(pmGPS); ---------------------------------------------------------------------- BigChimp · 2013-09-20 16:22 Nice. Somebody who looks for things himself and even posts back success! Welcome to the forum, LittleBritaly!  Don't do any Android dev myself, but perhaps this page is useful as well: http://wiki.lazarus.freepascal.org/LazDeviceAPIs Thanks, BigChimp ---------------------------------------------------------------------- LittleBritaly · 2013-09-23 08:18 Thanks BigChimp but shouldn't everyone do that ? (posts any solutions they find). The link you sent (I'd already been there), that's where I found my first glimmer of hope, where it mentioned permissions for PositionInfo, I then searched all the few examples that exist for "Positioninfo". I've found the documentation scattered around and hard to locate, is there any form of help file for Android under Lazarus ? ---------------------------------------------------------------------- BigChimp · 2013-09-23 08:32 Quote from: LittleBritaly on September 23, 2013, 10:18:10 amThanks BigChimp but shouldn't everyone do that ? (posts any solutions they find). Yes, but apparently it's not so obvious to a lot of people... Quote from: LittleBritaly on September 23, 2013, 10:18:10 amI've found the documentation scattered around and hard to locate, is there any form of help file for Android under Lazarus ? Not as far as I know. There is an Android category in the wiki that lists relevant articles: http://wiki.lazarus.freepascal.org/Category:Android In general, IMO, documentation is a weak point for Lazarus and FPC. It is scattered around the wiki, manuals and snippets in the forum. I try to collect as much stuff on the wiki as I can as that seems to me to be the best compromise between ease of editing/updating and structure. Others have different views...