Basic4android v2.20 is released!!!

Discussion in 'Android Questions' started by Erel, Oct 3, 2012.

Thread Status:
Not open for further replies.
  1. Erel

    Erel Administrator Staff Member Licensed User

    This version includes the following improvements:
    • For Each blocks
    • Declaration and assignment in the same statement - Two new language features in the next version
    • B4A-Bridge - many stability improvements related to both Bluetooth mode and wireless mode
    • B4A-Bridge supports logging on all devices including Android 4.1+. Requires B4A-Bridge 2.07
    • Menu items will now appear in the action bar on Android 3.0+ devices
    • Default target level set to 14
    • WYSIWYG designer uses device default theme. Supports changing themes: New feature: better support for modern Android themes
    • Designer includes a new color value: DEFAULT. The meaning of this value is that the theme default color will be used.
    • Designer script new keywords make it easier to build user interfaces that scale correctly on all phones and tablets: Min, Max, AutoScale, AutoScaleAll and AutoScaleRate: New feature: AutoScale and other new designer script keywords
    • Optimized designer layout files - loading time is 3 - 4 times faster
    • MediaPlayer can play files from File.DirInternal
    • Map.Keys / Values - allows iterating over map entries with For Each
    • Panel / Activity.RemoveAllViews
    • LayoutValues.ApproximateScreenSize - returns the approximate device physical screen size
    • Sign key alias key can be changed (requires editing the settings file)
    • Activity/Panel.LoadLayout can now be used from classes
    • Camera_Preview event

    Update: V2.22 is now available.
    You can download this version from the same link as the previous version.

    This version fixes several bugs including the InputType property not being updated by the designer.
    Other changes:
    • Variant chooser method improved: variants orientation is better handled (landscape phone variants will be chosen on landscape tablets as well)
    • Activity.AddMenuItem / AddMenuItem2 on Android 3+ will add the menu items to the overflow menu
    • Activity.AddMenuItem3 allows you to choose whether to add the menu items to the action bar (if there is enough room)

    Notes
    • Layout files saved in version 2.20+ cannot be loaded on older versions of the IDE
    • Libraries in the internal libraries folder have first priority (changed from previous versions)
    • B4A.xml file was updated. If you are using a custom color scheme then you can copy the relevant section to the new file.
     
  2. alwaysbusy

    alwaysbusy Well-Known Member Licensed User

    Thx

    Thank you Erel! Looking forward to try it out.
     
  3. hackhack

    hackhack Active Member Licensed User

    What does that mean exactly - I'm not sure what the "action bar" is?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Clarification about the new menu / action bar related feature.

    This change only affects applications that explicitly add android:targetSdkVersion="11" (or above) to the manifest editor. When the manifest includes this attribute, the application will use the new Android 3.0+ design on Android 3.0+ devices (it will look like any other application on older devices). This change causes the menu button to disappear. This means that the menu feature cannot be used in that case.

    Starting from B4A v2.20 the menu items will appear in the action bar or the overflow menu at the top.
    I highly recommend you to read this blog to better understand the design change:
    Android Developers Blog: Say Goodbye to the Menu Button
     
  5. Ricky D

    Ricky D Active Member Licensed User

    I haven't received my email yet.

    regards, Ricky
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    It could take 24 hours for the mail to arrive.
     
  7. claudio

    claudio Member Licensed User

    Very useful

    There are 2 or 3 things really useful for me, I will try, many thanks.
     
  8. msains

    msains Member Licensed User

    Many thanks

    Can't wait to incorporate all the new stuff - thanks again for a great product and great support
     
  9. Ratters

    Ratters Member Licensed User

    New Version V2.20

    Thanks to all at basic4android...

    looking forward to trying this out (all installed - no problems)

    Robbie
     
  10. Paulsche

    Paulsche Well-Known Member Licensed User

    i am very happy :sign0098:
     
  11. Sports90

    Sports90 Member Licensed User

    Great Update Loving It..:sign0188:
     
  12. giannimaione

    giannimaione Well-Known Member Licensed User

    perfect :sign0098:
     
  13. JoanRPM

    JoanRPM Active Member Licensed User

    Thanks.
    We'll try it.
     
  14. Djembefola

    Djembefola Active Member Licensed User

    @Erel:
    Once again an update without any issues.
    Download, install, run project --> everything works fine.
    This is stunning and amazing.
    I had some totally different experiences with Visual Basic updates.
    Thank you so much for your work - and a big thank you to the beta testers, by the way.
     
  15. TheJinJ

    TheJinJ Active Member Licensed User

    Thanks. Great work :)

    Sent from my GT-I9300 using Tapatalk 2
     
  16. rbghongade

    rbghongade Active Member Licensed User

    Update 2.2

    Dear Erel,
    Thank you for another upgrade with great features. I have started the program development on Android OS, thanks to you!
    The BEST thing is that it is fun programming with B4A !
    Keep up the B4A evolution!!!
    rbghongade
     
  17. Kiffi

    Kiffi Active Member Licensed User

    Hello Erel,

    thanks a lot! [​IMG]

    Greetings ... Kiffi
     
  18. CarlM

    CarlM Member Licensed User

    Happy as a dog with two tails!

    :) :)

    Thanks.
     
  19. jcesar

    jcesar Member Licensed User

    Should i uninstall the older version ? Or both version can run in the same machine ?
     
  20. Erel

    Erel Administrator Staff Member Licensed User

    Both versions can run in the same machine.
     
Thread Status:
Not open for further replies.
Loading...