Other Basic4android v3.00 is released!

Status
Not open for further replies.

Erel

B4X founder
Staff member
Licensed User
Longtime User
Hi all!

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.

Improvements:
  • Rapid Debugger - Powerful debugger, hot code swapping, quick deployment and more.
  • 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.
  • Spinner.DropDownTextColor property.
  • 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 who are eligible for a free upgrade should receive an email with a download link. It can take a few hours for the mail to arrive.

I want to thank the beta testers for their help with this release. The rapid debugger is a very complicated solution. It would not have been possible without your help.
 

denik

Member
Licensed User
Longtime User
  • 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.
Hi, Erel!
Could you write more about this item?
Thanks
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Hello @Erel.
Thank you for all your hard work, as your hard work makes developing on Android devices easier for us.
Btw, are you plugged directly into the Matrix, do you just see green code scrolling down your monitors

Nice work...
True. But I'm not allowed to tell.

Could you write more about this item?
In previous versions if you tried to send many background requests at once (>~80) some of the requests might have failed due to several reasons. Especially when you sent the Http requests to the same host. With v3.0 you can send hundreds or thousands of requests at once and they will be properly executed (without breaking the web server).
 
Upvote 0

Firpas

Active Member
Licensed User
Longtime User
I've updated to 3.0 from 2.7 and i have a problema with debug rapid.

Here is the logs


** Activity (main) Create, isFirst = true **
Error occurred on line: 31 (ags)
mainafterFirstLayout (java line: 98)
java.io.FileNotFoundException: /data/data/com.ags.agstermoteltmobile/files/Config.txt: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:416)
at java.io.FileInputStream.<init>(FileInputStream.java:78)
at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:197)
at anywheresoftware.b4a.objects.streams.File.ReadMap2(File.java:302)
at anywheresoftware.b4a.objects.streams.File.ReadMap(File.java:289)
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:485)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:229)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:174)
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.ags.agstermoteltmobile.main.afterFirstLayout(main.java:98)
at com.ags.agstermoteltmobile.main.access$100(main.java:16)
at com.ags.agstermoteltmobile.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:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
at libcore.io.IoBridge.open(IoBridge.java:400)
... 24 more

Error occurred on line: 40 (ags)
mainafterFirstLayout (java line: 98)
java.lang.NullPointerException
at anywheresoftware.b4a.shell.Shell.getMethod(Shell.java:397)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:517)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:235)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:174)
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.ags.agstermoteltmobile.main.afterFirstLayout(main.java:98)
at com.ags.agstermoteltmobile.main.access$100(main.java:16)
at com.ags.agstermoteltmobile.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:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)

Debug legacy, Release and reléase obfuscated runs ok.
I think the problem is config.txt

what can i do?

Thanks in advance
 
Upvote 0

nachoap10

Member
Licensed User
Longtime User

Thank you for you review. I have seen the web seminar Embarcadero made a few weeks ago and I was unsure about the compatibility of delphi native code. Of course, databases limited to 100 Mbytes (if you don't pay 400 € more) and filesizes as you remark (my best B4A apk only have 300 kBytes) makes delphi a bad choice... I prefer B4A, at last for the next two years
 
Upvote 0

metheoneandonly

Member
Licensed User
Longtime User
I just checked my e-mails and e-mail arrived. Now a question: how long is this offer valid? I'm definitely planning to buy, but can't buy in a moment. I will get my paycheck in first few days of november, so will it be valid then? Also I've tried to click the PayPal link you provided to me, but it says "Error detected: PayPal cannot process this transaction because of a problem with the seller's website. Please contact the seller directly to resolve this problem.". What's wrong?
 
Upvote 0

pezhooman

Member
Licensed User
Longtime User
hi all.some one can help me?
how i can upgrad my b4a v 2,7 to 3?
 
Upvote 0
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…