This version includes the following improvements:
- For Each blocks
- Declaration and assignment in the same statement - Two new language features in the next version
- B4A-Bridge - many stability improvements related to both Bluetooth mode and wireless mode
- B4A-Bridge supports logging on all devices including Android 4.1+. Requires B4A-Bridge 2.07
- Menu items will now appear in the action bar on Android 3.0+ devices
- Default target level set to 14
- WYSIWYG designer uses device default theme. Supports changing themes: New feature: better support for modern Android themes
- Designer includes a new color value: DEFAULT. The meaning of this value is that the theme default color will be used.
- Designer script new keywords make it easier to build user interfaces that scale correctly on all phones and tablets: Min, Max, AutoScale, AutoScaleAll and AutoScaleRate: New feature: AutoScale and other new designer script keywords
- Optimized designer layout files - loading time is 3 - 4 times faster
- MediaPlayer can play files from File.DirInternal
- Map.Keys / Values - allows iterating over map entries with For Each
- Panel / Activity.RemoveAllViews
- LayoutValues.ApproximateScreenSize - returns the approximate device physical screen size
- Sign key alias key can be changed (requires editing the settings file)
- Activity/Panel.LoadLayout can now be used from classes
- Camera_Preview event
Many bugs were fixed including:
- Recycle error in ListView_ItemClick event
- TabHost.AddTabWithIcon / AddTab - correctly calculate the width and height
- Code documentation should be updated almost immediately
- Upper casing of single letter variables
- Memory leak when opening large projects
- Non activity classes can call code modules
- WYSIWYG Designer and B4A-Bridge listen to an alternative port if the main one is already bound.
- Fixed debugger error related to complex objects with circular references
Notes
-
- Layout files saved in the new version cannot be loaded on older versions of the IDE - It is therefore recommended to backup existing projects before loading them in the new version.
- Libraries in the internal libraries folder have first priority (changed from previous versions)
- B4A.xml file was updated. If you are using a custom color scheme then you can copy the relevant section to the new file.