Hey everyone, I created this B4X library to avoid the different implementations of GPS Locating in B4A and B4i. In B4A it uses the FusedLocationProvider and in B4i it uses the iLocation Library. The code for the FusedLocationProvider in B4A is taken and changed slighly from this thread...
An update to NHFusedLocation library has been posted in the 1st message of this thread.
These are the changes:
'It is initialized like this flp.Initialize("fl", Me) 'And this event is raised Private Sub fl_LocationChanged(Location1 As Location) End Sub 'You can change the parent object also 'Usage case you Initialize the NHFusedLocation in Starter 'and in Main you set the following to raise the event above 'in Main flp.Parent = Me