B4A Tutorial android.jar / targetSdkVersion / minSdkVersion - Erel    Oct 18, 2023   (91 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    Dec 6, 2023   (12 reactions)   tags: ide, change whatsnew targetSdkVersion set to 33. RuntimePermissions library updated with the new and a bit special... attribute removed. ADB installation allows downgrading apps, based on the #VersionCode value. Comment.../b4a-v12-0-has-been-released.144207/ This version brings an updated Android, Google, AndroidX and... This is the first 64 bit version of B4A IDE, which means that it will handle better large projects.../b4a-v11-50-has-been-released.139288/ Optimized dexer replaced with D8 tool. Support for targetSdkVersion... 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 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... 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   (35 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 Notifications permission with targetSdkVersion = 33 - Erel    Jun 6, 2023   (23 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... B4A Library AppCompat - Make Material Design apps compatible with older Android versions - corwin42    Aug 18, 2019   (69 reactions)   tags: B4A UI, Material Design, Appcompat, menu versions and to use features in old Android versions which were implemented in newer Android releases... on many things like a special theme with special features. Even special versions of build tools... 25.x.x is installed! Deinstall all versions prior to version 25! If you leave older versions than 23... on older Android versions like KitKat. In the B4A IDE in your projects check the AppCompat library.... It does not mean that you can't run your app on lower Android Versions. The Support libraries... B4A Tutorial Compilation time and auto-increment build version - Erel    Dec 6, 2020   (21 reactions) This tutorial demonstrates how the custom build action feature can be used to add a file during compilation with the compilation time and an automatic version number that is incremented with every compilation. Using it is simple: 1. Download the attached jar file and save it. 2. Add this line to your project: #CustomBuildAction: folders ready, %JAVABIN%\java.exe, -jar C...) File.WriteMap(path, "", m) End Sub If you only want to increment the version for... B4A Code Snippet Version safe notification - Erel    May 12, 2020   (16 reactions)   tags: all, notification, B4A New Notification, SDK Update: If you are using B4A v8.0+ then the standard notifications will work. Make sure to call Notification.SetInfo as the last step before using the notification. New class for more powerful notifications: NB6 - Notifications Builder class (2018) <code deleted as it is no longer relevant>... Page: 1   2   3   4   5   6   7   |