I'm happy to release a new beta version of B4A. The prepackaged Android SDK has been updated and is based on the current latest versions of all resources and Android SDK 36.
The handling of SDK resources was improved.
The Android SDK folder should look like:
4. Set the path of android.jar (Tools - Configure Paths): <android sdk>\platforms\android-36\android.jar
Note that ExoPlayer is an internal library now.
The prepackaged resources should include all resources most developers need, including for Firebase and ML-Kit sdks.
No need to run B4A-SdkManager, unless a resource is missing.
I noticed one thing different, when i try the software on the phone, the phone dock overlays the screen, is that something i missed? (maybe something to do with the edge to edge?)
1. Starting New B4XPages project still uses targetSdkVersion 34. The B4XPages.b4xtemplate needs to be updated to use the recommended 35
2. When you delete everything from Manifest and save. It recreates the manifest but uses targetSdkVersion 33 instead of 35 as well
1. Starting New B4XPages project still uses targetSdkVersion 34. The B4XPages.b4xtemplate needs to be updated to use the recommended 35
2. When you delete everything from Manifest and save. It recreates the manifest but uses targetSdkVersion 33 instead of 35 as well
I noticed one thing different, when i try the software on the phone, the phone dock overlays the screen, is that something i missed? (maybe something to do with the edge to edge?)
1. You can enable it easily. Start a new thread and I'll show you how.
2. Edge to edge with several other related features will become mandatory in a year or two (for some devices at least). I plan to add support for resizable activities before that.
At least for me, an explanation about that "edge-to-edge" would be needed (in a new thread, obviously), even after reading that statement.
I read "around", even asked an AI (Perplexity) for explanations but evidently I misunderstood.
Notice that there is no B4XPage_Resize event (or similar resize events) in B4A like there is in B4J and B4i. The paradigm in Android was that the activity is recreated when it is resized. This usually happens when the orientation changes. This was an over-engineered solution to a problem that is solved in any UI solution for decades.
B4XPages worked around this issue by forcing the orientation to be locked. This is only in B4A.
To better support foldables and devices with larger screens, Google is pushing in a different direction (which should have been chosen from the start) and are requiring developers to deal with activities being resized. This require some changes in B4A itself and also in the developers code. It will happen in the upcoming months. There is still enough time for that.
1. You can enable it easily. Start a new thread and I'll show you how.
2. Edge to edge with several other related features will become mandatory in a year or two (for some devices at least). I plan to add support for resizable activities before that.
This is not the correct place for this question. You should start a new thread.
The changes with targetSdkVersion 35 are minimal. Upgrading from 34 to 35 is simple. And is mandatory if you are distributing your app through Google Play Store.
The size of this file is about 553MB. It is served from CloudFlare CDN. I'm not sure why you are having problems downloading it. Try with a different browser.
There is no relation between targetSdkVersion and Phone.SdkVersion. Phone.SdkVersion returns the current device version. If you are running it on an Android 15 device then it will return 35 (https://apilevels.com/)