@DonManfred,
Any chance you can update your sample app in OP to include these changes:
1) To set the event signature properly.
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
2) Remove these lines from the Activity_Create sub (and move them to sub #3 below) because it will crash trying to do geoAddress if GetLocation failed (or if the geolocation event didn't fire yet):
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
3) And as in Post #8 to fix the crashing bug if GetLocation failed (and to also make sure this event sub's signature matches):
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
I ask because another user ran into these same issues and it would just save time all-around in the future:
	
	
		
			
			
				
					
						
							 www.b4x.com
						
					
					www.b4x.com
				
			
		
	
			
			Any chance you can update your sample app in OP to include these changes:
1) To set the event signature properly.
			
				B4X:
			
		
		
		Sub GeoLocation_Location(success As Boolean, Lattitude As Double, Longitude As Double, info As String, isMockLocation As Boolean)
    Log($"GeoLocation_Location(${success}, ${Lattitude}, ${Longitude}, ${info}, ${isMockLocation})"$)
End Sub2) Remove these lines from the Activity_Create sub (and move them to sub #3 below) because it will crash trying to do geoAddress if GetLocation failed (or if the geolocation event didn't fire yet):
			
				B4X:
			
		
		
		GeoLoc.geoAddress
Log(GeoLoc.Address)
Log(GeoLoc.City)
Log(GeoLoc.Country)
Log(GeoLoc.KnownName)
Log(GeoLoc.PostalCode)
Log(GeoLoc.State)3) And as in Post #8 to fix the crashing bug if GetLocation failed (and to also make sure this event sub's signature matches):
			
				B4X:
			
		
		
		Sub GeoLocation_Location(success As Boolean, Lattitude As Double, Longitude As Double, info As String, isMockLocation As Boolean)
    Log($"GeoLocation_Location(${success}, ${Lattitude}, ${Longitude}, ${info}, ${isMockLocation})"$)
    If success Then
        GeoLoc.geoAddress
        Log(GeoLoc.Address)
        Log(GeoLoc.City)
        Log(GeoLoc.Country)
        Log(GeoLoc.KnownName)
        Log(GeoLoc.PostalCode)
        Log(GeoLoc.State)
    End If
End SubI ask because another user ran into these same issues and it would just save time all-around in the future:
GeoLocation works but constantly fails
I am using the Geolocation 1.11 library and it works intermittently, hours spend working fine as well as hours that don't work, any suggestions?  I took it from here: https://www.b4x.com/android/forum/threads/geolocation.99710/
				 www.b4x.com
						
					
					www.b4x.com
				
			
				Last edited: 
			
		
	
								
								
									
	
		
			
		
	
								
							
							 
				 
 
		 
 
		 
 
		 
 
		 
					
				 
					
				 
						
					 
 
		 
 
		