[LAMW] WRITE_EXTERNAL_STORAGE permission on Android 10 lazarus / 43-Android ---------------------------------------------------------------------- kagamma · 2023-06-17 14:23 So, I tried to run the AppJCenterOpenStreetMapDemo2 example. It ran fine on the LDPlayer emulator, which runs on Android 9. However, when I attempted to run the same app on my real device - an Asus ROG 3 running on Android 10 - it failed to grant the android.permission.WRITE_EXTERNAL_STORAGE permission, even though I had already pressed 'Accept' when the permission dialog popped up. Any ideas on how to fix this issue? ---------------------------------------------------------------------- Insid3Code · 2023-06-17 17:42 Just update the AndroidManifest.xml with these values... 1- add xmlns:tools="http://schemas.android.com/tools" 2- change from: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i to Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i See animated gif: https://i.imgur.com/6FerdbA.gif ---------------------------------------------------------------------- kagamma · 2023-06-18 10:13 Thanks, it worked. However considering the recent changes made to the WRITE_EXTERNAL_STORAGE permission, I wonder if OpenStreetMap example will still function properly with higher versions of Android.