B4A Tutorial Background location tracking - Erel    Jul 3, 2024   (51 reactions)   tags: Longrunningaoo, background clock alive, B4A Background location, gps, B4A the ACCESS_BACKGROUND_LOCATION permission. This is a special permission and it is granted in the settings app. We can only... service and it is impossible to do without the ACCESS_BACKGROUND_LOCATION permission. So the solution... B4A Tutorial Intent Filters - Intercepting SMS messages in the background - Erel    Jan 13, 2023   (14 reactions) application is in the background. A possible workaround is to call Service.StartForeground in the service... B4A Class ExternalStorage - Access SD cards and USB sticks - Erel    Nov 11, 2020   (62 reactions)   tags: File, Access SD and USB, externsl sd, storage access the secondary storage (File.DirRootExternal). This becomes relevant with newer versions of Android that restrict direct access. It has nothing to do with runtime permissions. You can use RuntimePermissions.GetAllSafeDirsExternal to directly access a specific folder on the SD card. You can use RuntimePermissions.GetSafeDirDefaultExternal to directly access a specific folder on the secondary... possible to directly access external storages. The only way to access these storages is through... B4i Tutorial List of methods to access external resources or share to external apps - Erel    Sep 16, 2024   (10 reactions) There are all kinds of ways to share files with other apps or access external resources. Here is a short summary of the available methods: - ActivityViewController (iPhone library): https://www.b4x.com/basic4android/images/SS-2018-11-15_16.57.10.png Allows sharing text, images or files.... - Make File.DirDocuments accessible with the built-in Files app: https://www.b4x.com/android/forum/threads/make-your-app-files-accessible-with-files-app.133476/#content - MediaChooser, cross platform... B4A Class Manage External Storage - access internal external storage >= SDK 30 - agraham    Nov 11, 2024   (30 reactions) a similar API - thank you Erel ? ExternalStorage - Access SD cards and USB sticks | B4X Programming....MANAGE_APP_ALL_FILES_ACCESS_PERMISSION", "package:" & Application.PackageName) EDIT: If for some reason you need to access folders under Android/data or Android/obb there is a loophole in post #35 here... your File Explorer on your device can access these folders this is how it is doing it. FURTHER EDIT... B4A Tutorial Geofence - Monitoring a region in the background - Erel    Feb 1, 2023   (27 reactions)   tags: GEO, Geofence, B4A GPS Geofence, Geofencing the manifest editor: AddPermission(android.permission.ACCESS_FINE_LOCATION) CreateResourceFromFile....CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCATION) Wait For Activity_PermissionResult (Permission As String... JavaObject to implement the Geofencing API: https://developer.android.com/training/location/geofencing.html... = "Test1" geo.Center.Initialize2(32.8372, 35.2698) 'change location! geo... the main module: #AdditionalJar: com.google.android.gms:play-services-location Note that monitored... B4J Tutorial [WebApp] Concurrent access to SQLite databases - Erel    Nov 21, 2021   (15 reactions) SQLite databases are very easy to use as they don't require any additional software or configuration. SQLite support for concurrent access is not comparable to server based databases... there aren't many writings (ExecNonQuery). B4J v2.00 adds support for concurrent access to SQLite....html This mode allows multiple readers and a single writer to access the database at the same time. B4J SQL library (when initialized with InitializeSQLite) will serialize writers access. - When... B4A Tutorial FusedLocationProvider + Resolution Dialog - Erel    May 10, 2021   (17 reactions)   tags: location gps ** This is the only option to enable location services from inside your app. ** Example was updated and is based on B4XPages. Don't miss: 1. ShowResolutionDialog sub that is added to Main. It needs to be added to the activity that hosts B4XPages. 2. #AdditionalJars in Main. 3. Manifest editor addition. https://www.b4x.com/basic4android/images/i_view64_fHopQqm7Zd.png... B4A Question UltimateWebView GeoLocation without ACCESS_BACKGROUND_LOCATION - Ivica Golubovic (first post)    Feb 27, 2022
How can I use UltimateWebView with GeoLocation features, but without ACCESS_BACKGROUND_LOCATION permission ?
Here, when I don't ask permission for ACCESS_BACKGROUND_LOCATION the geolocation... B4A Tutorial android.jar / targetSdkVersion / minSdkVersion - Erel    Oct 18, 2023   (93 reactions)   tags: runtime permission, sdk version, Targetsdk, SDK, B4A you do not need to request the new special ACCESS_BACKGROUND_LOCATION permission. - 29 - BluetoothAdmin.StartDiscovery and BLEManager.StartScan require the ACCESS_FINE_LOCATION permission. Previously... for "background" location tracking: https://www.b4x.com/android/forum/threads/background.../android/forum/threads/class-fileprovider-share-files.97865/) - 24 - Default background color... special access: https://www.b4x.com/android/forum/threads/set-volume-error.92938/#post-588012 - 26... Page: 1   2   3   4   5   6   7   |