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:

holdemadvantage

Active Member
Licensed User
Longtime User
Hi Erel, Debug (legacy) has no error while rapid give this error (on SlideMenu activity):

B4X:
Parsing code.                          0.04
Compiling code.                        0.06
Compiling layouts code.                0.01
Generating R file.                      0.14
Compiling debugger engine code.        Error
B4A line: 43
mInAnimation.InitializeTranslate(\
javac 1.6.0_31
shell\src\com\holdemadvantage\borsaitaliana\slidemenu_subs_0.java:151: illegal start of expression
__ref.getFieldClass("com.holdemadvantage.borsaitaliana.slidemenu", false,"_minanimation").runVoidMethod ("InitializeTranslate",__ref.getField(false, "ba"),(Object)(BA.ObjectToString("")),(Object)(BA.numberCast(float.class, -(double) (_width.<Integer>get().intValue()))),(Object)(BA.numberCast(float.class, 0)),(Object)(BA.numberCast(float.class, 0)),(Object)(BA.numberCast(float.class, 0)));
 
Upvote 0

tucano2000

Active Member
Licensed User
Longtime User
Thanks Erel, It is possible to release the application code changes while this compilation window goes to background ? Sometimes I have to wait 1-2 minutes to change the code compilation on emulator.
 
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
I have same issue with "For" - illegal start of expression, with the rapid (xml is inporperly formatted..)
is there a new thread for it?

also for using the new http send at once, do I need to change the code? (I am using the httputils2 httpJob job.download)
 
Upvote 0

pappicio

Active Member
Licensed User
Longtime User
I' ve tested all my projects with rapid debug, and all work well, no errors...... thanks a lot for this new great release!!!!!
 
Upvote 0

Gunther

Active Member
Licensed User
Longtime User
Hi Erel,

You are talking in the frst threat about the: v3.00 BETA #3

Freshly downloaded the About Windows tells (see attachment!) BETA 2.

Am I right or wrong?

Chers, Gunther
 

Attachments

  • About B4A 3.00.png
    About B4A 3.00.png
    44.4 KB · Views: 375
Upvote 0

marcel

Active Member
Licensed User
Longtime User
First of all thanks for the great job. Really helpfull a good debugger!! Thanks!

I am not sure I need to mentioned it here. But the ClsActionBar I am using give a runtime error in the initializations fase.

B4X:
clsactionbarinnerInitialize (java line: 22)
 
 
java.lang.IllegalArgumentException: invalid value for field
    at java.lang.reflect.Field.setField(Native Method)
    at java.lang.reflect.Field.set(Field.java:588)
    at anywheresoftware.b4a.shell.Shell.setField(Shell.java:409)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:219)
    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 com.yazula.android.clsactionbar.innerInitialize(clsactionbar.java:22)
    at com.yazula.android.clsactionbar._initialize(clsactionbar.java:26)
    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:456)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:207)
    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 com.yazula.android.main.afterFirstLayout(main.java:98)
    at com.yazula.android.main.access$100(main.java:16)
    at com.yazula.android.main$WaitForLayout.run(main.java:76)
    at android.os.Handler.handleCallback(Handler.java:615)
    at android.os.Handler.dispatchMessage(Handler.java:92)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:4921)
    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:1027)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
    at dalvik.system.NativeStart.main(Native Method)
** Activity (main) Create, isFirst = true **
 
Upvote 0

ajk

Active Member
Licensed User
Longtime User
Do not work in rapid /android quit without any message, no message from IDE/

List1 = StringUtils1.LoadCSV(sciezkaI , "s.sza", SP)

works in other modes
 
Upvote 0

WAZUMBi

Well-Known Member
Licensed User
Longtime User
B4A-Bridge - Last 5 IP addresses are stored. F2 connects to the last one. Some other small improvements in the connection process.

I have noticed logging issues with Android versions greater than 4? I have a Samsung 7" and S4 both of which do not display logs for some reason.
I must use my Infuse or Samsung 10.1" for development.

Also I had to ditch my computer with Windows 8 completely and revert back to my laptop running windows 7. B4A-Bridge simply would not connect. Even after re-installing Windows. After a few days it would not find the IP and stop connecting.

Not sure if this is a Windows issue or B4A-Bridge issue.
You did mention this was related to .net connectivity in a post I made.

Obviously I have been able to work around this but...

I would realy like to ge back to my computer. It is faster. :)
 
Upvote 0
Top