Other B4A v4.00 has been released!

Erel

B4X founder
Staff member
Licensed User
Longtime User
SS-2014-12-11_10.53.32.png

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.

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


  • 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.
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].

:)
 

jsanchezc

Member
Licensed User
Longtime User
New version installed, complex app compiled, no problem.
Very good job, Erel!

b4Bridge works very good now!
 
Last edited:
Upvote 0

Beja

Expert
Licensed User
Longtime User
Hi Erel,
A million congrats.. great job!
I have a little problem though and this is the first version I have it.. in the taskbar I got the message that b4a is not downloaded and
that it could harm your computer.. what should I do to download it.. Un-install ant-virus then install it back?

Thanks
 

Attachments

  • b4adnld.jpg
    b4adnld.jpg
    12.8 KB · Views: 330
Upvote 0

JoanRPM

Active Member
Licensed User
Longtime User
Erel, thanks for that great job.

But in the spinner, still can not supports custom fonts.
 
Upvote 0

JakeBullet70

Well-Known Member
Licensed User
Longtime User
Erel

Does a CONST take less memory then a Global? Should we worry about changing them? Will this gain us anything?

Thanks.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
@wonder
Is it possible to install this version without overwriting the previous one?
Sure you can install B4A V4.0 in another folder and use several versions without any problem.
I always save a new version in a new folder and keep some 'older' versions. Don't forget to copy the license file to the new folder.
 
Upvote 0
Top