I'm happy to release B4i v4.01. This update includes the new resumable subs language feature.
The resumable subs feature is a very important feature which dramatically simplifies the management of asynchronous tasks.
Improvements:
Users who are eligible for a free upgrade will receive an email with installation instructions.
Edit: v4.01 was released. It fixes an issue with try / catch blocks inside resumable subs.
You can use the same link as before to download it. Contact support@basic4ppc.com if needed.
The resumable subs feature is a very important feature which dramatically simplifies the management of asynchronous tasks.
Improvements:
- Resumable subs - Wait For / Sleep: https://www.b4x.com/android/forum/threads/resumable-subs-sleep-wait-for.78601/#post-498072
[B4X] SQL with Wait For
[B4X] OkHttpUtils2 with Wait For
Complete code:
B4X:Sub btn_Click Dim b As Button = Sender For i = 10 To 0 Step - 1 b.Text = i Sleep(100) Next b.Text = "Takeoff!" End Sub
- CSBuilder - Builder for attributed strings. Similar to B4A CSBuilder: https://www.b4x.com/android/forum/threads/csbuilder-attributedstrings-builder.79153/
- Debugger improvements:
- Better handling of multiple installed debug apps.
- Bug fixes and better logging.
- Deployment process improved. Auto installation is now the default.
- SetDebugAutoFlushLogs keyword. When enabled a short pause is added in debug mode when internal logs are printed. This is useful for debugging hard crashes.
- Find all references - Finds usages in layout files and CallSub calls.
- Symbols renaming based on Find all references feature: https://www.b4x.com/android/forum/threads/first-refactoring-feature.77122/#content
- Replace from Quick Search (ctrl + F) results.
- Icon Picker - Filter results, name tooltips and search by hex value.
- Auto discovery - The IDE finds devices running B4i-Bridge app automatically:
- Font.CreateMaterialIcons / CreateFontAwesome methods.
- iNetwork library was updated with fixes related to handling of UDP packets.
- Label / TextView / TextField.AttributedText property. Works together with CSBuilder.
- Page.TitleView - Allows to replace the page title with a custom view (such as a label with attributed string).
- TextView_LinkClick event. Links are created with CSBuilder.
- Other bug fixes and minor improvements.
Users who are eligible for a free upgrade will receive an email with installation instructions.
Edit: v4.01 was released. It fixes an issue with try / catch blocks inside resumable subs.
You can use the same link as before to download it. Contact support@basic4ppc.com if needed.
Last edited: