B4A Tutorial android.jar / targetSdkVersion / minSdkVersion - Erel    Oct 18, 2023   (93 reactions)   tags: runtime permission, sdk version, Targetsdk, SDK, B4A errors. targetSdkVersion Set in the manifest editor. This one is a bit more confusing. It helps... they run on Android 6+). The way to solve it is to check the targetSdkVersion value. If it is 22 or below... it without those changes. This means that an app with targetSdkVersion set to 14 (Android 4.0..., nor handle any other breaking change. Q: Will my app run on Android 4.0 if targetSdkVersion is set to 8.0? A: Yes. Q: Can I use new features without setting the targetSdkVersion to a higher version... B4A Code Snippet targetSdkVersion 35 and opting out of edge-to-edge enforcement - Erel    Jul 10, 2025   (23 reactions) .
The recommended targetSdkVersion is presently 34, however if you like to experiment with v35 then your app... "android sdk platform 35" with B4A Sdk Manager.
2. Configure the IDE to use android.jar from... B4A Tutorial Android 14 / targetSdkVersion 34 and Services - Erel    Aug 5, 2024   (23 reactions) B4A v13.0+ should be used with targetSdkVersion 34+.
Android 14 continues the longtime trend... here: https://developer.android.com/about/versions/14/changes/fgs-types-required
The suitability... B4A Code Snippet Notifications permission with targetSdkVersion = 33 - Erel    Jun 6, 2023   (24 reactions) showing notifications. When targetSdkVersion < 33, the OS will show the permission dialog automatically before the notification is displayed. Once we switch to targetSdkVersion=33 we are responsible for... that targetSdkVersion >= 33 Private Sub CheckAndRequestNotificationPermission As ResumableSub....InitializeContext Dim targetSdkVersion As Int = ctxt.RunMethodJO("getApplicationInfo", Null).GetField("targetSdkVersion") If targetSdkVersion < 33 Then Return True Dim... B4A Code Snippet targetSdkVersion 35 requirement - Erel    Jul 2, 2025   (17 reactions) /targetsdkversion-35-and-opting-out-of-edge-to-edge-enforcement.167109/#content During July I will release an updated SDK package with SDK 35, though you can already install it now as explained in that link. Note that the IDE currently shows a warning if targetSdkVersion isn't 34...The behavior changes are listed here: https://developer.android.com/about/versions/15/behavior-changes-15 The only issue that most developers will encounter is related to the new "edge to edge... B4A Question Size reduction after setting targetSdkVersion="35" - Alessandro71    Jul 16, 2025   (6 reactions) unexpected good news while converting apps to SDK 35:
one app, with just the manifest change (no other code changes) reduced the .aab size from 11.2MB to 8.8MB... B4A Code Snippet targetSdkVersion 34 foreground service for mediaPlayback - Addo    Jul 4, 2024   (4 reactions) .SdkVersion <= 26 Then
StartService(Service)
Return
End If
Dim ctxt...by following @Erel Update on this Post https://www.b4x.com/android/forum/threads/background-location-tracking.99873/#post-993226
targeting Sdkversion = 34, if you have a foregroundservice that do... targetsdk 34
' sdk 34
SetServiceAttribute(Your_Service_Name, android:foregroundServiceType... B4A Question targetSdkVersion="34" is it ready? - Scantech    Jul 2, 2024 Can we set targetSdkVersion="34" now?... B4A Question targetSdkVersion="33" and permissions - peacemaker    Jun 26, 2023 Hi, All I have found that if targetSdkVersion is "33" - no PERMISSION_WRITE_EXTERNAL_STORAGE is shown in the app settings. And no request system dialog and Waiting For permission request is always with False result. It's in B4xPages structure app, tested under Android 13 device and 2 emulators (Android 10). B4A v.12.5, rp lib v.1.20. Just changed into targetSdkVersion="32" - no problem with the dialog and app work. Is it known ?... B4A Tutorial targetSdkVersion 28 (Android 9.0) - Erel    Apr 4, 2019   (12 reactions) Starting from August 2019 for new apps and November 2019 for updates, Google Play requires apps to set targetSdkVersion to 28. The tutorial was updated with information related to API level 28: https://www.b4x.com/android/forum/threads/android-jar-targetsdkversion-minsdkversion.87610/... Page: 1   2   3   4   5   6   7   |