Update about the next version (2.70)

Erel

B4X founder
Staff member
Licensed User
Longtime User
Basic4android v2.70 BETA 1 was released.

The new features and improvements are:

- Compiler warnings. There will be about 30 types of warnings. Most of them detected whenever you save the project (or with the new "test compilation" option).

SS-2013-05-02_17.41.51.png


Note that the logs support colors to make it easier to see the errors, warnings and "info" messages. There is also a new keyword named LogColor which allows you to log messages in a specific color.

The warnings engine is very useful for both large projects and small projects and it finds many common mistakes (or possible mistakes) before you even run the program.

- Custom views. The designer will support adding custom views (with classes or libraries).

SS-2013-05-02_17.26.32.png


SS-2013-05-02_17.27.30.png



- Classes support properties.

SS-2013-05-02_17.29.14.png


The property code in this case is:
B4X:
'Gets or sets the text
Sub getText As String
   Return btn.Text
End Sub
Sub setText(t As String)
   btn.Text = t
End Sub

- Bitmaps handling improved - LoadBitmap / LoadBitmapSample handle "out of memory" errors internally by down-scaling the image. This also affects the visual designer.

- DateTime.ListenToExternalTimeChanges - raises an event when the device time is set or when the time zone changes (and updates the internal time zone used).

- Screenshot tool improved.

- CallSub improvements:
Returns Object instead of String.
Sender is set when calling from a class.
Significant performance improvements when calling subs in classes.
No error is raised if the target sub is not found when calling from a class (useful for events implementations).

- #LibraryName attribute.

- Library dependencies resolver can now handle cases as described here.

- Bug fixes and other minor improvements.

Edit: The beta is now released. Users who are eligible for a free upgrade will receive an email with the download link.

Thank you for your help. Please start new threads if you encounter any issue.

As this is a beta version, make sure to backup your projects before loading them with the new version.
You can install this version together with previous versions.
 

yttrium

Active Member
Licensed User
Longtime User
Upvote 0

b4AMarkO

Member
Licensed User
Longtime User
Erel
I got the email about the Beta .... along with that was provided the user n PW

When I click on link to go for DL a pop up request user name n PW

is it asking for the ones you sent in the email or is it asking for mine

I ask because I submitted the ones you sent and it just clears and the same pop up as again

So its not going anywhere

Am I overlooking something?
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
It's asking for the ones in the email, worked OK here.
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
Just thought, it doesn't go to another page, just downloads a file. Depending on your browser it may not be obvious.

Check your download folder.
 
Upvote 0

b4AMarkO

Member
Licensed User
Longtime User
Had to switch Browsers couldnt get it to download with firefox

But I got it now and looking over it looks great so far

Thanx Erel
 
Upvote 0

pxzun

New Member
Licensed User
Longtime User
Thank you Erel!

It worked great and had no problems with my old projects.

Btw, this is my first post after using this software for a long time.:sign0060:
 
Upvote 0

Smee

Well-Known Member
Licensed User
Longtime User
There will be about 30 types of warnings. Most of them detected whenever you save the project (or with the new "test compilation" option).

The warnings engine is very useful for both large projects and small projects and it finds many common mistakes (or possible mistakes) before you even run the program.


EXCELLENT.

Similar to the old COBOL warnings during compile

Thanks Erel
 
Upvote 0
Top