B4A Tutorial Runtime Permissions (Android 6.0+ Permissions) - Erel    Mar 16, 2022   (34 reactions)   tags: RuntimePermission, runtime permissions, B4A Runtime Permissions, Runtime, SDK, B4A to approve "dangerous" permissions at runtime.
Luckily most permissions are not considered dangerous. You can see the list of permissions that are considered dangerous here: https.../basic4android/images/SS-2016-06-08_15.06.00.png
The dangerous permissions are marked with * (in B4A v6+).
You don't need to ask for non-dangerous permissions.
READ_EXTERNAL_STORAGE... B4A Tutorial Background location tracking - Erel    Jul 3, 2024   (51 reactions)   tags: Longrunningaoo, background clock alive, B4A Background location, gps, B4A with targetSdkVersion = 34. This update required several changes: New non-dangerous permission: AddPermission(android.permission.FOREGROUND_SERVICE_LOCATION) With the above change the service can be started from... 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... have the permission and then starts the service with a call to StartForegroundService sub. Note that this sub doesn... Wish Dangerous permissions - LucaMs    Nov 21, 2019 Double-click on a dangerous permission (in the Permissions window) will automatically add the code... As RuntimePermissions and other)
:)... B4A Question problem with a dangerous permission - Mehrzad238 (first post)    Jan 15, 2025   (1 reaction)
It is coming from the StringFunctions library. I recommend you to remove it. You don't need it.... B4A Question Requesting dangerous write permission with TargetSDKVersion 29 - Scantech    Aug 28, 2020 I believe Starter.rp.Check(Starter.rp.PERMISSION_WRITE_EXTERNAL_STORAGE) will not work with TargetSDKVersion 29 and android-29? I do not see the permission screen.
I included the legacy manifest... B4A Question Showing a PDF File with dangerous permission. - Erel (first post)    Sep 10, 2023   (1 reaction) You don't need this line.
You should add put the StartActivity call inside a Try / Catch block as not all devices will have an app installed that can handle pdf.... B4A Tutorial android.jar / targetSdkVersion / minSdkVersion - Erel    Oct 18, 2023   (93 reactions)   tags: runtime permission, sdk version, Targetsdk, SDK, B4A - Foreground services require a new non-dangerous permission. It is added automatically if using... with backwards compatibility. I will explain it with an example. Google introduced the runtime permissions system in Android 6 (API 23). Requesting runtime permissions requires developers to update...) will run properly on an Android 8.0 device and it will not be required to request runtime permissions.... Alpha levels used as a mask. - 23 - runtime permissions (https://www.b4x.com/android/forum/threads... Other B4A v11.50 has been released! - Erel    Mar 21, 2022   (51 reactions) : You need to use StartServiceAtExact and add this "non-dangerous" permission: AddPermission... are: - When requesting the fine location permission the user can choose to limit your app to coarse location. The code to handle it is: rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCATION) Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean) If Result Or rp.Check(rp.PERMISSION_ACCESS_COARSE_LOCATION) Then 'we have location permission End If - With a few exceptions... B4A Tutorial Android Bluetooth / BluetoothAdmin Tutorial - Erel    Aug 31, 2020   (17 reactions) a "dangerous" permissions (see the runtime permissions tutorial for more information). Note that you need to add the permission in the manifest editor: AddPermission(android.permission....PERMISSION_ACCESS_FINE_LOCATION) Wait For Activity_PermissionResult (Permission As String, Result As Boolean) If Result = False Then ToastMessageShow("No permission...", False) Return End... B4A Tutorial Version safe APK installation - Erel    Oct 12, 2018   (37 reactions)   tags: apk install, B4A APK Installation, SDK, apk installation, b4a sdk, APK . The following non-dangerous permission is required: AddPermission(android.permission... a special permission to install other apps. The global "install applications from unknown sources" option was removed. First we check whether we already have permission: Private Sub... Page: 1   2   3   4   5   6   7   |