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:

Eduard

Active Member
Licensed User
Longtime User
some problems here with beta #4
1) Could not compile to connected real device while bluestack was running. Program always installs on bluestacks. After quiting bluestack there was no problem
2) Debug (rapid) doesn't seem to work on real device (didn't try on bluestacks).
3) Install on real device of large apk (6 Mb) takes very very long time
 
Upvote 0

margret

Well-Known Member
Licensed User
Longtime User
I am using B4A 3 Beta #4. Each time I try to use the rapid debug, I get the log below. It works fine in the normal debug. This is with B4a Bridge via WiFi on Android 4.0.3.

Installing file.
PackageAdded: package:ADR.CURB
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
mainafterFirstLayout (java line: 104)
java.lang.NoClassDefFoundError: android/webkit/WebView$FindListener
at java.lang.Class.getDeclaredMethods(Native Method)
at java.lang.Class.getPublicMethodsRecursive(Class.java:955)
at java.lang.Class.getMethods(Class.java:938)
at anywheresoftware.b4a.shell.Shell$MethodCache.getMethod(Shell.java:652)
at anywheresoftware.b4a.shell.Shell.getMethod(Shell.java:373)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:484)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:210)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:170)
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 ADR.CURB.main.afterFirstLayout(main.java:104)
at ADR.CURB.main.access$100(main.java:16)
at ADR.CURB.main$WaitForLayout.run(main.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:4424)
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:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: android.webkit.WebView$FindListener
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
... 24 more
 
Upvote 0

margret

Well-Known Member
Licensed User
Longtime User
On the second app I tried, I don't get the crash or errors I listed above. However, I have been trying to use the app in debug mode for 10 minutes or so and it seems hung. No errors, it just does not respond. I made a small change to a label and used Ctrl-S, it said it swapped the code but the changes never show on the device. Again, the standard debug runs fine with this same project.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Will you be able to send me both projects by mail (erel@basic4ppc.com)?

About the code swap. The code change is not "retroactive". It will only have an effect if it is actually executed again. For example if you changed the code in Activity_Create you can change the phone orientation and cause Activity_Create to run again.
 
Upvote 0

blong

Active Member
Licensed User
Longtime User
And could we have a build number in the compiler please in v3 :)

And a great job Erel (as usual)...
 
Upvote 0

JakeBullet70

Well-Known Member
Licensed User
Longtime User
On the second app I tried, I don't get the crash or errors I listed above. However, I have been trying to use the app in debug mode for 10 minutes or so and it seems hung. No errors, it just does not respond. I made a small change to a label and used Ctrl-S, it said it swapped the code but the changes never show on the device. Again, the standard debug runs fine with this same project.

I have a project that does the same thing but I have found I can get it to run if I put some stop points in some of the init code.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top