Basic4android v2.52 is released!

Status
Not open for further replies.

Erel

B4X founder
Staff member
Licensed User
Longtime User
I'm very happy to release Basic4android v2.52. This version includes many important new features and improvements. The focus in this update is on large projects.

Performance improvements

  • Compilation time in debug mode is similar to compilation in release mode.
  • Many performance and memory related improvements in the IDE. The IDE should be much more responsive (some of the improvements will only be applied after you first save the project with the new version).
New features
  • Compile to library. This feature allows you to reuse components and break large projects into smaller projects.
  • Module attributes.
  • Custom build actions - See the attributes tutorial.
  • Native support for Google maps (requires Android 3+).
  • Sign key signatures are displayed in the key dialog.
  • List Permissions button in compilation window - Lists the permissions and the objects that added them.
  • Quotes in string literals - Double quotes in string literals will be treated as a single quote:
    B4X:
    Log("Hello ""world""") 'Will log: Hello "World"
  • RemovePermission keyword in the manifest editor.
  • DateTime.DateTimeParse keyword - Combination of DateParse and TimeParse.
  • SQL - Asynchronous queries and asynchronous batch inserts.
  • Contacts2.GetContactsAsync - Asynchronously retrieve contacts information.
  • Accessibility library.
  • Bug fixes and other minor improvements.

All customers who are eligible for a free update should receive a mail with update instructions. Other customers will receive a mail with a discount offer.

Please allow up to 24 hours for the mail to arrive.

I want to thank all the customers who helped with the beta version, and also all the members of this great community!
:icon_clap:

Edit: Basic4android v2.52 is now available to all users who received version 2.50. You can use the same link as before. This update fixes several IDE issues as well as an issue related to user types in library compilation mode.
 

hanana

Member
Licensed User
Longtime User
hye erel..i just installed b4A v2.52, but the problem is i cant change the orientation and application label at android manifest..can u help me to solve it?
 
Upvote 0

Rafal Galewski

Member
Licensed User
Longtime User
Problem with version 2.52

I Use update from vertsion 2.50 to 2.52
And the old project have a problem with correctly work.
IDE in Debug and Relese is very slowly.
Always wait for IDE.( waiting for IDE connection)

I can't work on this version .
What I can do to better use 2.52 version .
Can I back to version 2.50 with project also ?

2.52 - should be a BETA not final version
 
Last edited:
Upvote 0

mading1309

Member
Licensed User
Longtime User
New Installation on German WIN8

Hi
I installed the JDK (X86) and SDK lastest version
JDK und SDK run successfull
Installation folders are C:\Programme\.... (German Windows 8 Version)

then i B4A and configure the paths.
the libraries are available and can be added

After compiling the convert byte code procedure run into trouble
Thanks for some quick hints

mading



I compiled an empty project, just the main activity, and got the following compiler message

Parsing code. 0.00
Compiling code. 0.52
Compiling layouts code. 0.00
Generating R file. 0.13
Compiling generated Java code. 0.69
Convert byte code - optimized dex. Error
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.NullPointerException
at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:179)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:123)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
at com.android.dx.command.dexer.Main.processOne(Main.java:422)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:333)
at com.android.dx.command.dexer.Main.run(Main.java:209)
at com.android.dx.command.dexer.Main.main(Main.java:174)
at com.android.dx.command.Main.main(Main.java:91)
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.NullPointerException
at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:179)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:123)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
at com.android.dx.command.dexer.Main.processOne(Main.java:422)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:333)
at com.android.dx.command.dexer.Main.run(Main.java:209)
at com.android.dx.command.dexer.Main.main(Main.java:174)
at com.android.dx.command.Main.main(Main.java:91)
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.NullPointerException
at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:179)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:123)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
at com.android.dx.command.dexer.Main.processOne(Main.java:422)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:333)
at com.android.dx.command.dexer.Main.run(Main.java:209)
at com.android.dx.command.dexer.Main.main(Main.java:174)
at com.android.dx.command.Main.main(Main.java:91)
3 errors; aborting
Optimized dexer failed. Switching to Standard dexer.
 
Upvote 0

Rafal Galewski

Member
Licensed User
Longtime User
The IDE never connects in Release mode. You can only see this message in debug mode. V2.52 hasn't changed anything related to the debugger.

@mading1309, please start a new thread for this issue.

I have also this problem:

Connected to B4A-Bridge (Wifi)
Ignoring event (too many queued events: CallSubDelayed - UpdateStatus)
sending message to waiting queue (CallSubDelayed - UpdateStatus)
Ignoring event (too many queued events: CallSubDelayed - UpdateStatus)



When I use a more simple project.
I add MSSQL 1.01 library and I try read some data from database.
I use debug mode and I have information from phone application No response without any errors.
What is wrong.
All projects work correctly with libraryes.
When I update version from 2.50 to 2.52 I have only problems.
Maybe library aslo are update ?


Where is the problem ???
Please help.

Now all project can't work correctly.
When I return to version 2.50 also no work.
Maybe library are also change when I change version to 2.52 from 2.50 ?
 
Last edited:
Upvote 0

Rafal Galewski

Member
Licensed User
Longtime User
Basic4Android

When I implement application in relase mode and execute application I have information "Application No response".
Where is a problem ?

I use MSSQL library version 1.01 and android 4.0.4

But I use it before Update to 2.52.
In 2.50 version work correct.

But now I install once again version 2.50 and the same code no working.

I create a new code a execute is and i hava the same problem
No response . Debug and release.


The same program many times stop in the few moments.
Are a problem with compiling in debug and release mode.

Maybe B4A Brige should be update . |Now I have 2.07

Maybe some files in system 32 , registry Your application change?
 
Last edited:
Upvote 0

warwound

Expert
Licensed User
Longtime User
Try cleaning the project once it is reloaded in version 2.50:

Tools menu > Clean Project.

Does that make it work in version 2.50?

Martin.
 
Upvote 0

fared15

Member
Licensed User
Longtime User
you are the best thing in this worl erel thank you very much very much :sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098::sign0098:
 
Upvote 0
Status
Not open for further replies.
Top