Other B4i v4.01 is released

Discussion in 'iOS Questions' started by Erel, May 15, 2017.

  1. Erel

    Erel Administrator Staff Member Licensed User

    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:
    • 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

      [​IMG]

      Complete code:
      Code:
      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/

      [​IMG]

    • 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:

      [​IMG]


    • 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.
    Note that B4i-Bridge should be updated (Tools - Build Server - Build B4i Bridge app).
    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: May 24, 2017
    eps, Peter Simpson, ilan and 7 others like this.
  2. EvgenyB4A

    EvgenyB4A Active Member Licensed User

    When B4A with resumable subs will be released?
     
    Myron likes this.
  3. Erel

    Erel Administrator Staff Member Licensed User

    Soon...
     
  4. moore_it

    moore_it Active Member Licensed User

    Wonderfull !!!!
    Thanks Erel
     
  5. Daniel Uribe

    Daniel Uribe Member Licensed User

    Great!!!!!!

    Just a little question, when i run for test the app (debug mode), bridge launch the app Instantaneously, all ok, but when i stop the debug and return to bridge, launch again the app on debug mode waiting for IDE to connect, It would seem when bridge is activate after a debug, was set to run again the app for test. Only to improve if this happens.

    Great great work!
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    What happens if you press on Stop in the IDE and the run again? Does it fail to connect?
     
  7. Daniel Uribe

    Daniel Uribe Member Licensed User

    if i press stop the app close and return to bridge, but go to back to launch app (developing), Should stay in debug. Maybe this just happens to me..

    When this happen only i delete de app (testing) and run again the bridge. Anyway this just perfect!
     
  8. victormedranop

    victormedranop Active Member Licensed User

    Amazing !!!!
     
  9. Erel

    Erel Administrator Staff Member Licensed User

    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.
     
Loading...