Hello,
Brand new here. It appears like the latest version of B4A and B4J require JDK v8 (if using that instead of OpenJDK). From my very limited understanding, there are limitations with using newer JDKs with older versions of Android. The current FAQ for B4A states:
Q: Which phones and tablets are supported?
A: All Android devices running Android 2.0 or above are supported.
1) Is that still true with JDK v8?
2) Or is it simply a matter of JDK v8 being required to run the B4A environment and there is some option for picking which JDK version to use for compiling and running the code?
3) Or is it that JDK v8 will be used to compile the code, but B4A doesn't use any Java features for generated code that conflict with older versions of Android and as long as the developer doesn't inline any Java code or use any Java libraries that use incompatible features, it will run properly on older versions of Android?
4) Are there any differences regarding Android versions supported/affected if using OpenJDK instead of Oracle's JDK?
My use case is to start developing with B4J, but then add B4A to use the same application code on the desktop and Android. I'm aware of B4XUI and how that works, in theory, to have a shared codebase, but I'm just not clear on the limitations regarding B4X generated code as it pertains to JDK versions.
Thanks for any help you can provide.
David
Brand new here. It appears like the latest version of B4A and B4J require JDK v8 (if using that instead of OpenJDK). From my very limited understanding, there are limitations with using newer JDKs with older versions of Android. The current FAQ for B4A states:
Q: Which phones and tablets are supported?
A: All Android devices running Android 2.0 or above are supported.
1) Is that still true with JDK v8?
2) Or is it simply a matter of JDK v8 being required to run the B4A environment and there is some option for picking which JDK version to use for compiling and running the code?
3) Or is it that JDK v8 will be used to compile the code, but B4A doesn't use any Java features for generated code that conflict with older versions of Android and as long as the developer doesn't inline any Java code or use any Java libraries that use incompatible features, it will run properly on older versions of Android?
4) Are there any differences regarding Android versions supported/affected if using OpenJDK instead of Oracle's JDK?
My use case is to start developing with B4J, but then add B4A to use the same application code on the desktop and Android. I'm aware of B4XUI and how that works, in theory, to have a shared codebase, but I'm just not clear on the limitations regarding B4X generated code as it pertains to JDK versions.
Thanks for any help you can provide.
David