Other B4A v5.50 has been released!

Discussion in 'Android Questions' started by Erel, Nov 11, 2015.

  1. Erel

    Erel Administrator Staff Member Licensed User

    I'm happy to release B4A v5.50.

    Developers who are eligible for a free upgrade will receive an email with a download link and a new license file. Make sure to choose the new license file when asked to locate the license.

    Advanced optimizations were made to the debugger which make the debugger significantly faster.
    Complete features list:
    • Debugger improvements.
    • Better handling of uncaught exceptions (Application_Error). See this tutorial:
      Uncaught Exceptions
      This feature allows developers to provide alternative ways to handle crashes. For example, to send the crash logs by mail.
    • Material themes were added to the WYSIWYG designer.

      [​IMG]

    • Panel.Elevation / SetElevationAnimated methods (and designer property) - These methods allow setting the panels elevation. This is a new feature added in Android 5. The methods will do nothing on prior versions. See the following video:



    • #DebuggerDisableOptimizations attribute: http://www.b4x.com/android/forum/threads/b4j-v3-70-beta-is-available-for-download.58283/#post-366943
    • $AdditionalLibs$ and $AndroidSDK$ shortcuts. These shortcuts can be used in the #AdditionalRes path. They will replaced with the full path to the additional libraries folder or Android SDK folder.
    • Buttons text is no longer upper cased when the material theme is used.
    • Bug fixes and other minor improvements.
    Note that the legacy debugger option has moved to Tools - IDE Options.

    If you encounter a problem during registration then try to copy the license file to the installation folder. If is still doesn't work then contact support@basic4ppc.com and we will send you a new license file that will fix this issue.
     
    koaunglay, nhz, barx and 35 others like this.
  2. ArminKH

    ArminKH Well-Known Member

    great !
     
  3. Franck Danard

    Franck Danard Member Licensed User

    Hello Erel.

    Nice job
    But have you got the link to download it, or i need just download the tryal version. ?
    I've received a link for the Beta version with the new licence ley.
    I guess that's the same for the stable version?

    Regards

    Franck
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    You will soon receive an email with the download link.
     
  5. Franck Danard

    Franck Danard Member Licensed User

    Ha ok.
    Great. ;)
     
  6. b4xscripter

    b4xscripter Member Licensed User

    Nice! Thanks!

    By the way, when I installed this new version I was not required to put a new license as in the case of B4A v5.50 BETA. Is everything ok with the B4A v5.50 BETA license I put previously?

    Best regards
     
  7. joneden

    joneden Active Member Licensed User

    Hi Erel
    I've installed it and the install went well however with no changes to my code I am now seeing a compilation error as below, this relates to a custom but of java on each page for the theming with teh currentthemeid being stored in the main activity. Any suggestions?

    Code:
    ObfuscatorMap.txt file created in Objects folder.
    Compiling layouts code.    (
    0.01s)
    Generating R 
    file.    (0.67s)
    Compiling generated Java code.    Error
    B4A line: 
    205
    End Sub
    javac 
    1.7.0_67
    src\amonet\mobile2\activitycontactdocumentissuelist.java:
    722: error: cannot find symbol
        
    if (main._currentthemeid != 0)
                ^
      symbol:   variable _currentthemeid
      
    location: class main
    Code:
    #if java
    public void _onCreate() {
        if (main._currentthemeid != 0)
            setTheme(main._currentthemeid);
    }
    #end if
     
  8. joneden

    joneden Active Member Licensed User

    Whoops, my bad - the default compile option changed to Release (obfuscicated) and I hadn't noticed! Changed back to release and all OK.

    BTW I don't think it was a good idea to remove the legacy debugger option.

    I find that the new one runs really slowly and also has issues with things like the Icon fonts so I use a combination of both, only using the new one when really necessary.
     
  9. moster67

    moster67 Well-Known Member Licensed User

    According to Erel's post, it has only been moved:
     
  10. joneden

    joneden Active Member Licensed User

    I'd noticed that and yes it works but it's just easier to have them in the same place. Until the new one is as fast as or faster than the old it would have been nice to see them in the same place and not have one relegated to another menu... Still the change has been made, onwards and upwards
     
    fireday likes this.
  11. maxware

    maxware Well-Known Member Licensed User

    Italiano :
    Ciao Erel
    ho installato la 5.5 ma la versione vecchia 4.3 non funziona piu "An error has occured during the registrazion process. erro message:Invalid email address. Please contact...
    google traslator
    Hello Erel
    I installed the 5.5 but the old version 4.3 does not work anymore "An error has occured During the registration the process. erro message: Invalid email address. Please contact ...
     
  12. Pcbeta Rabbit

    Pcbeta Rabbit Member Licensed User

  13. kohle

    kohle Active Member Licensed User

    Hi,
    I get the same error like maxware after the installation. See screenshot.
     

    Attached Files:

  14. Erel

    Erel Administrator Staff Member Licensed User

    Yes.

    Please contact support@basic4ppc.com. We will send you a new license file that will fix these issues.
     
  15. cbc551

    cbc551 Member Licensed User

    Thank you! How I can use $AdditionalLibs$ and $AndroidSDK$ shortcuts?

    Please, can you post an example?
     
  16. corwin42

    corwin42 Expert Licensed User

    If you use AppCompat library and Design Support library in a project you will have to add resources to these libraries to your project. In the past this had to be done with absolute pathes. Now you can write this:

    Code:
    #AdditionalRes: $AndroidSDK$\extras\android\support\v7\appcompat\res, android.support.v7.appcompat
    #AdditionalRes: $AdditionalLibs$\resource\b4a_appcompat, de.amberhome.objects.appcompat
    #AdditionalRes: $AndroidSDK$\extras\android\support\design\res, android.support.design
    #AdditionalRes: $AndroidSDK$\extras\android\support\v7\recyclerview\res, android.support.v7.recyclerview
    This is more portable between B4A installations.

    For my libraries which will need resources I will add a resource/b4a_<libname> directory to my additional libraries folder in the future.
     
  17. Markos

    Markos Active Member Licensed User

     
  18. Markos

    Markos Active Member Licensed User

    This is a cool upgrade.

    Will there be a new B3 Bridge?

    I am asking as immediately after upgrading the B4 bridge started to misbehave. I dont know the instant I upgraded my wireless started to act up. If anyone one has similar issues then it may be something requiring investigation.

    Great product and looking forward to developing cool phone apps.

    Cheers

    Mark
     
  19. ibra939

    ibra939 Active Member Licensed User

    Great feature
     
  20. Andre Souza

    Andre Souza Member Licensed User

    A properties height of ImageView in Design Script removed of Inspector?
     
Loading...