I'm happy to release B4A v4.00.
Starting from this version Basic4android is named B4A.
New features and improvements:
- Rapid debugger memory handling was rewritten to provide better performance and to avoid memory leaks.
- 5 new View methods: SetLayoutAnimated, SetVisibleAnimated, SetColorAnimated, SetTextColorAnimated and SetTextSizeAnimated. With these methods it is very simple to add nice animations effects to your app.
See this thread for more information: Simple animations in B4A v4.00
- Designer animations - Layouts added with the designer are (optionally) animated.
- Support for constants: Dim Const x As Int = 2.
Constant variables are assigned when declared. Their value cannot be later changed (enforced by the compiler).
- Screen video capture - Requires Android 4.4+. Very useful for demonstrations.
- Activity_ActionBarHomeClick event - Handles the action bar icon click event. This event replaces the event from StdActionBar library which doesn't work on Android 5 devices.
- Better handling of the internal message queue on Android 5 devices.
- Visual designer supports custom fonts.
- Visual designer supports adding borders to views that use ColorDrawable. Borders can also be added with ColorDrawable.Initialize2.
- New Application object with the following properties:
- Activity.DisableAccessibility - Workaround for this Android bug: https://code.google.com/p/android/issues/detail?id=55933
- IsDevTool keyword - Useful when reusing code with B4J / B4i.
- Designer - Select all files option.
- Designer - Double click on view's name to add to the script.
- Libraries list - Checked libraries are listed at the top of the list.
- Duplicate line shortcut - Ctrl + D.
- AutoComplete shortcut - Ctrl + \ (same as Ctrl + Space).
- Hide other modules option when right clicking on the module header.
- Clear logs when program starts option.
- 3 new warnings related to the manifest editor:
- No android:targetSdkVersion.
- targetSdkVersion is lower than 20 and no theme is explicitly set.
- AndroidManifest.xml is read only
- New logo.
- CurrentStatement and breakpoints colors are configurable in the xml file.
- B4A-Bridge was updated with several fixes and the PHONE_READ_STATE permission was removed (it was used in the past to show the device id).
- Bug fixes.
The minimum Android version is now version 2.0.
Note that the designer animations are enabled by default. To disable this feature you need to open the layout file with the designer and set the Animation Duration property to 0.
All customers who are eligible for a free upgrade will receive an email with the download link. Other customers will receive an email with a discount offer.
Please allow up to 24 hours for the mails to arrive.
If you didn't receive an email after 24 hours then you should contact [email protected].