![SS-2014-12-04_11.24.26.png](/android/forum/proxy.php?image=http%3A%2F%2Fwww.b4x.com%2Fbasic4android%2Fimages%2FSS-2014-12-04_11.24.26.png&hash=fe21477b220256039d449bda7ddb1d9c)
B4A v4.00 BETA is now available for download. Users who are eligible for a free upgrade will receive an email with the download link.
Note that 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.
- Three new View methods: SetLayoutAnimated, SetVisibleAnimated and SetColorAnimated. 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:
- LabelName
- VersionName
- VersionCode
- PackageName
- 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.
This is a beta version. You are advised to backup your projects before loading them in the new version.
Thank you for your help with the development of B4A and the other tools.
Please start new threads for issues related to the beta version.