Basic4android v2.71 is released!

Erel

Administrator
Staff member
Licensed User
Basic4android v2.71 is now available. I would first like to thank the beta testers for their help and feedback :icon_clap:.

This version includes many improvements including several major new features:

  • Compiler warnings - A new warning engine that helps finding common errors as soon as possible:


  • Custom views with designer support - Developers can create custom views (with classes or libraries) that can be added with the visual designer. This feature makes it possible to build the complete layout with the designer and designer scripts.
  • Classes properties - a long-awaited feature.
  • Bitmaps handling improved - LoadBitmap / LoadBitmapSample internally handle out of memory errors by down-scaling the image. The visual designer loads images based on the target size to preserve memory.
  • DateTime.ListenToExternalTimeChanges - raises an event when the device time is set or when the time zone changes (and updates the internal time zone used).
  • CallSub keyword improvements:
    Returns Object instead of String.​
    Sender is set when calling from a class. This is useful for events implementation.​
    Significant performance improvements when calling subs in classes.​
    No error is raised if the target sub is not found when calling from a class. This is useful for events implementation.​
  • #LibraryName attribute. Sets the compiled library name.
  • Libraries dependencies resolver was improved and it can now handle cases such as described here.
  • Logs are colored based on the message type.
  • LogColor keyword - Similar to Log. The message will be displayed in the IDE with the specified color.
  • Screenshot tool improved.
  • HttpUtils2 and DateUtils are now included as libraries in the IDE.
  • Bug fixes and other minor improvements (including "run last deployment" feature).

Version 2.71 is now available for download from the same link as v2.70. This update fixes the following issues:
  • Low quality images when adding images with the designer
  • CallSub casing fails with some numeric types
  • Support for the new location of aapt.exe
  • Other minor improvements
 

barx

Well-Known Member
Licensed User
Sounds awesome.

Looking forward to picking up the new features.

If only I wasn't stacked out with 'other' stuff. Guess this will only spur me on to get the stuff done...


p.s. Well done!
 

ivanomonti

Well-Known Member
Licensed User
MAGNIFICO, SONO SEMPRE FELICE DI USARE QUESTO STRUMENTO.

MAGNIFICENT ARE ALWAYS HAPPY TO USE THIS UNIT.

Thank EREL :)
 

positrom2

Active Member
Licensed User
Me?

Hi,
I opened the class-example draw.zip in B4A 2.7.0. I encounter references to "Me" like
B4X:
Shapes.Add(Me)
Could somebody give me a hint what "Me" means? Goggling for "Me b4a" seems not very helpful.
Thanks, positrom2
 

peacemaker

Well-Known Member
Licensed User
"Me" - reference to the current module where you are now.
Thanks, Erel !
 

eps

Well-Known Member
Licensed User
Woo hoo, excellent timing I will be installing it and updating my Apps to take advantage of the improved bitmap memory handling. Many thanks Erel

:)
 

robife

Member
Licensed User
thanks Erel

I wonder a bit, why this time link dosent have user and password for downloading 2.70
;)
 
Top