B4A Tutorial android.jar / targetSdkVersion / minSdkVersion - Erel    Oct 18, 2023   (93 reactions)   tags: runtime permission, sdk version, Targetsdk, SDK, B4A There are several versioned components that affect the compilation process and the runtime behavior... you choose which version to use. Each Android version is mapped to an api level. You can see this mapping here: https://en.wikipedia.org/wiki/Android_version_history#Overview The api level is used in our code. minSdkVersion Set in the manifest editor. Default value is 5 (Android 2.0). This one is very simple. Your app will only run on devices running this OS version or higher. In most cases... B4A Tutorial B4A Change Log (versions history) - Erel    Jul 16, 2025   (12 reactions)   tags: ide, change whatsnew . It is needed with targetSdkVersion >= 30 to allow file system access. #CustomBuildAction arguments... with preparation for Android 14 (targetSdkVersion=34) requirements. Many of the internal libraries and also external libraries were updated and now depend on the latest Android SDK resources. The new version...://www.b4x.com/b4a.html Tutorial about new requirements related to services and targetSdkVersion=34... Kit based libraries and a few others were updated to support the new SDK. Older versions will not work... B4A Code Snippet targetSdkVersion 35 and opting out of edge-to-edge enforcement - Erel    Jul 10, 2025   (24 reactions) Starting from B4A v13.4, the default themes (Themes.LightTheme / Themes.DarkTheme) already include the snippet that opts out of edge-edge. You only need this if you use a customize theme. The recommended targetSdkVersion is presently 34, however if you like to experiment with v35 then your app will be enforced to become edge-to-edge. This is a feature that will be mandatory at some point in the future (maybe 2 years from now) and it goes together with other upcoming requirements of handling... B4A Question Images loaded in webviews are not displayed in mode “debug (rapid)” B4A 3.50 version - bgsoft    Mar 18, 2014 In the new Basic4Android 3.50 version, I realised that images loaded in webviews are not displayed in mode “debug (rapid)”. In other modes, as “debug (legacy)” and “release” are shown normally. There is a simple example to check this: Sub Globals Dim WebV As WebView End Sub Sub Activity_Create(FirstTime AsBoolean) Activity.LoadLayout("Layout1") WebV.Initialize("WebV") Activity.AddView(WebV, 0dip, 0dip, 100%x, 100%y) WebV.LoadHtml("<html>... 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....com/about/versions/14/changes/fgs-types-required#media We need to add two things to the manifest... its requirements here: https://developer.android.com/about/versions/14/changes/fgs-types... Google Play reviewers approval: https://developer.android.com/about/versions/14/changes/fgs-types... B4A Tutorial GUI SDK Manager for newer versions of Android tools - Erel    Dec 20, 2017   (33 reactions)   tags: Android SDK Manager, ESTUDAR, sdkmanager, tools, B4A Edit: If you are using B4A v7.8+ then a newer version of B4A Sdk Manager is preinstalled. Follow these instructions instead: https://www.b4x.com/b4a.html#installation The GUI interface of Android SDK Manager has been removed in the latest version of Android SDK. It was replaced with a command line tool named sdkmanager.bat. Most developers, including new B4A developers, still use a version which does include the GUI interface, as the B4A download page points to an older version... 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 Dim p As Phone If p.SdkVersion < 33 Then Return True Dim ctxt As JavaObject ctxt.InitializeContext Dim targetSdkVersion As Int = ctxt.RunMethodJO("getApplicationInfo", Null... Share My Creation Cloney Bird - libGDX version - andymc    Mar 13, 2024   (6 reactions) 23453 I've written the first test version of my Flappy Bird clone using libGDX, this should run much smoother on all devices now. Please test this and let me know how it runs. The bird death doesn't work and the score doesn't either. But pipe collisions should work. I'm not sure why the image isn't showing as the thread preview image, maybe it's because I attached...??? I've now updated this to support later version of B4A and android and to support higher than 60hz... B4A Tutorial Version safe APK installation - Erel    Oct 12, 2018   (36 reactions)   tags: apk install, B4A APK Installation, SDK, apk installation, b4a sdk, APK As explained in this tutorial all store apps will soon be forced to target the latest SDK. This means that we can no longer rely on the OS backwards compatibility features and need to handle the behavior changes ourselves. Starting from Android 8 (API 26) each app needs to explicitly request a special permission to install other apps. The global "install applications from unknown sources&qu... B4A Code Snippet targetSdkVersion 35 requirement - Erel    Jul 2, 2025   (17 reactions) 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" layout. I recommend disabling this feature for now: https://www.b4x.com/android/forum/threads/targetsdkversion-35-and-opting-out-of-edge-to-edge-enforcement.167109/#content During July... that link. Note that the IDE currently shows a warning if targetSdkVersion isn't 34... Page: 1   2   3   4   5   6   7   |