I would like to use OSMdroid (and MapView) with SDK=32 and Android 13.
The simple project "01 - SimpleMap" ( https://www.b4x.com/android/forum/threads/osmdroid-mapview-for-b4a-tutorial.16310/#content ) displays the map perfectly but when I write in the manifest android:targetSdkVersion="32" instead of the map it opens a desolately empty rectangle.
Also integrating the project with some instructions relating to the possibility of writing to External Storage :
But I read in the Osmdroid documentation :
If the OSMDroid_3_0_8 library were considered obsolete what alternatives would there be to view OFFLINE maps ?
The simple project "01 - SimpleMap" ( https://www.b4x.com/android/forum/threads/osmdroid-mapview-for-b4a-tutorial.16310/#content ) displays the map perfectly but when I write in the manifest android:targetSdkVersion="32" instead of the map it opens a desolately empty rectangle.
Also integrating the project with some instructions relating to the possibility of writing to External Storage :
B4X:
Sub Activity_Resume
Wait For (CheckPermissions) Complete (Success As Boolean)
If Success = False Then
Msgbox2Async("You need to grant some permissions in order to install the app", "INSTALLATION ABORTED", "OK", "", "", Null, False)
Wait For Msgbox_Result (Result As Int)
ExitApplication
End If
End Sub
Sub CheckPermissions As ResumableSub
For Each per In Array(rp.PERMISSION_ACCESS_COARSE_LOCATION ,rp.PERMISSION_ACCESS_FINE_LOCATION, rp.PERMISSION_WRITE_EXTERNAL_STORAGE)
rp.CheckAndRequest(per)
Wait For Activity_PermissionResult (permission As String, Result As Boolean)
If Result = False Then Return False
Next
Return True
End Sub
But I read in the Osmdroid documentation :
OSMDroid requires the use of external storage to cache tiles
if no external storage is available then the MapView will display no tiles
If the OSMDroid_3_0_8 library were considered obsolete what alternatives would there be to view OFFLINE maps ?