Other B4A v4.00 BETA has been released

Erel

B4X founder
Staff member
Licensed User
Longtime User
SS-2014-12-04_11.24.26.png


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.

    upload_2014-12-4_11-56-16.png


  • 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.
The minimum Android version is now version 2.0.

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.
 

David S

Member
Licensed User
Longtime User
I loaded the beta. I have a panel with 3 rows and 4 columns of labels

In the previous version they were all flush... top/bottom/sides. Now in v4 the tops/bottoms are still flush, but there is now a gap on the sides. Both in the Abstract Designer (320x480, scale=1) and in the app when it is running in debugging mode.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
In the previous version they were all flush... top/bottom/sides. Now in v4 the tops/bottoms are still flush, but there is now a gap on the sides. Both in the Abstract Designer (320x480, scale=1) and in the app when it is running in debugging mode.
Please start a new thread for this and if possible upload your project.
 
Upvote 0

SteveTerrell

Active Member
Licensed User
Longtime User
Hi, like the Const addition.

I have the B4A Beta on the PC and the New logo bridge (still v2.10) on the Tablet
The screenshot window gives this when Take a picture is clicked on

upload_2014-12-4_14-7-9.png


Does this only work with USB debugging?
 
Upvote 0
Top