Other Basic4android v3.00 BETA is released

Erel

B4X founder
Staff member
Licensed User
Longtime User
Hi all!

The first beta version of Basic4android v3.00 is released.

The main new feature in this version is the rapid debugger: Rapid Debugger
The rapid debugger makes it much easier and quicker to test and debug your code.

Other improvements:
  • Better support for large number of background tasks. This update (together with an update to the Http library) allows you to send hundreds of requests at once.
  • B4A-Bridge - Last 5 IP addresses are stored. F2 connects to the last one. Some other small improvements in the connection process.
  • For loop performance improvement.
  • Activity / Panel.GetAllViewsRecursive. Provides a simple way to iterate over all views.
  • Color picker. Right click in the code editor to show it.
  • List.SortTypeCaseInsensitive method.
  • PhoneSms.Send2 - send sms without notifications.
  • Screenshots tool - Copy to clipboard.
  • Compilation window closes automatically when it loses focus.
  • Bug fixes and other minor improvements (including the fix for Android 4.3 back key issue and the IDE scrolling issue).
Customers (with an enterprise license) who are eligible for a free upgrade should receive an email with a download link.

The rapid debugger feature is the most complicated improvement since B4A v1.00. This is a beta version. It is more than likely that you will encounter issues with it...
Please post any issue in a new thread in the questions forum tagged with the Beta prefix.

v3.00 BETA #6 is now available in the same link. It fixes the issues discussed in the forum.

You can install this version together with other versions of Basic4android.

Thank you all for your help!
 
Last edited:

stefanoa

Active Member
Licensed User
Longtime User
Can you check the unfiltered logs? There should be a stack trace right after this error message. Please post it.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Thank you. Please download the attached file and put it in Basic4android installation folder (replace the previous one). Refresh the libraries by right clicking on the libraries list and try to run it again.

The following line was added:
B4X:
1: UltimateListView.LoadImageAsync
 

Attachments

  • LibrariesExceptions.txt
    443 bytes · Views: 381
Upvote 0

stefanoa

Active Member
Licensed User
Longtime User

now it work, but is very slow... and after 2/3 times opened/closed the list, the app is closed...

 
Upvote 0

tucano2000

Active Member
Licensed User
Longtime User
Do not work in (Debug rapid) on Beta 3
If CheckConnection Then...

but works
If CheckConnection=true Then...

Edit: After installing beta 7 it worked.
 
Last edited:
Upvote 0

dieterp

Active Member
Licensed User
Longtime User
Hi Guys
I'm getting the following error:
Unexpected event (missing RaiseSynchronousEvents): radbat_checkedchange
It seems similar to something posted earlier on this page. It happens when I try to set a RadioButton's checked value to True depending on certain criteria
Regards
 
Upvote 0

dieterp

Active Member
Licensed User
Longtime User
Here is the unfiltered Log for the radiobutton issue:

B4X:
java.lang.Throwable: stack dump
 
 
    at java.lang.Thread.dumpStack(Thread.java:496)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:194)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:172)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:158)
    at anywheresoftware.b4a.objects.CompoundButtonWrapper$RadioButtonWrapper$RadioButtonListener.onCheckedChanged(CompoundButtonWrapper.java:143)
    at android.widget.CompoundButton.setChecked(CompoundButton.java:140)
    at anywheresoftware.b4a.objects.CompoundButtonWrapper.setChecked(CompoundButtonWrapper.java:53)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:468)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:212)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:172)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:154)
    at b4a.webcricket.newgame.afterFirstLayout(newgame.java:104)
    at b4a.webcricket.newgame.access$100(newgame.java:16)
    at b4a.webcricket.newgame$WaitForLayout.run(newgame.java:76)
    at android.os.Handler.handleCallback(Handler.java:605)
    at android.os.Handler.dispatchMessage(Handler.java:92)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:4514)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)
    at dalvik.system.NativeStart.main(Native Method)
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Thank you. This is a bug. It will be fixed for the next update.

I've also changed the result of a missing annotation to be more "graceful".
 
Last edited:
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Beta #8 is now available...
Adds a few missing RaisesSynchronousEvents annotations in the core library.

As I wrote above, such missing annotations will be handled better now. Instead of crashing the app the event will be sent to the message queue and will be executed later.

This update also fixes a parser issue.

Hopefully the stable version will be released on Thursday.
 
Upvote 0

yttrium

Active Member
Licensed User
Longtime User
Still no Spinner separate colors, I see~
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…