Basic4android v1.92 is released!

Discussion in 'Android Questions' started by Erel, May 21, 2012.

  1. Erel

    Erel Administrator Staff Member Licensed User

    Basic4android v1.92 is now available. All users who previously run v1.90 can download this update.

    You should use the same link and password as the one used to download v1.90.
    Please contact if you have lost the previous mail.

    This update fixes the following issues:
    - DoEvents / Msgbox crash the application on Android 4.0.3 and above when used inside Panel_Touch event and some other touch related events.
    - Starting the Bluetooth bridge hangs the IDE.
    - HorizontalCenter returns the wrong value in the designer script.
    - The designer script variant code is not executed if there is no general code.
    - Basic4android is now compatible with Designer4android layout files.
    - (Libraries developers) BA.raiseEventFromUI - new method to raise events from inside a native UI. The event is raised by posting a message to the message queue. This fixes the DoEvents / Msgbox issue in Android ICS.
    - Other minor fixes.

    - Panel_Touch event return value is now ignored.

    If you have customized B4A.xml then do not forget to backup it before installing the new version.
  2. ssg

    ssg Well-Known Member Licensed User

    Hi Erel,

    Just checking, since version 2.0 is coming up, would we be seeing any surprises? :D

    Also, is there any game engine in the works from Anywhere Software, and if yes, would we see it anytime soon.


  3. Erel

    Erel Administrator Staff Member Licensed User

    The next major version will include support for user classes.

    Currently not.

    This thread is about v1.92 so if you have any more questions please start a new thread...
  4. warwound

    warwound Expert Licensed User

    I upgraded earlier and notice this in the unfiltered logs when starting a B4A project:

    I'm pretty sure that was not happening with version 1.90?

    I'm running projects in release mode on a real device - ZTE Blade with CyanogenMod Gingerbread.

  5. Erel

    Erel Administrator Staff Member Licensed User

    You should ignore this error message. It is logged by mistake.
  6. ScarBelly

    ScarBelly Member Licensed User

    Hah! I needed my B4A.xml backup because once again I forgot about it getting overwritten.

    REMEMBER folks who have customized your IDE to be sure you've backed up

    Thanks for the update Erel.
  7. margret

    margret Well-Known Member Licensed User

    Great News!

    This sounds like a very good thing! I have another project that can wait a little, and these would really help in the development. So, can you give a rough time estimate. Just an idea maybe???

  8. NJDude

    NJDude Expert Licensed User

    Can you please explain that, I'm having issues with an app that uses Panel_Touch to play a sound, now is not registering, it happend as soon as I upgraded to 1.92
  9. Erel

    Erel Administrator Staff Member Licensed User

    I'm sorry but it is still too soon to say.

    @NJDude, can you start a new thread and upload your project?
  10. wl

    wl Well-Known Member Licensed User

    User classes

    User classes in v2. Great !!!!
  11. nfordbscndrd

    nfordbscndrd Well-Known Member Licensed User

    Well, he *did* put that warning in bold in the top post... :)
  12. netchicken

    netchicken Active Member Licensed User

    This is awesome news!

  13. Jost aus Soest

    Jost aus Soest Active Member Licensed User

    Yes, bit it wasn't in red and huge size! ;)
  14. Smee

    Smee Well-Known Member Licensed User

    Ha, and i only just upgraded to v1.90 yesterday

  15. NeoTechni

    NeoTechni Well-Known Member Licensed User

    I haven't upgraded from 1.60, I just downloaded 1.90 and gt lazy
  16. beacon

    beacon Member Licensed User

    My app has 6945 lines, and stopped dead when my Samsung Galaxy Note upgraded to 4.0.3 yesterday morning. It includes Panel_Touch, but never gets that far. It appears to melt at:

    Panels(1).SetBackgroundImage(LoadBitmap(File.DirAssets, "Tides.png"))

    Layouts have been loaded for activities and panels.


  17. Erel

    Erel Administrator Staff Member Licensed User

    It is difficult to say what is the problem without seeing the code.
    This thread discusses the change with Panel_Touch event:
    B4A 1.92 and panel issues
  18. stefanobusetto

    stefanobusetto Active Member Licensed User

  19. beacon

    beacon Member Licensed User

    Hi again Erel.

    After much testing, I can say that something interesting is going on here.

    When I load a large background in the desktop designer (by which I mean a photo with larger dimensions than the background, in this case 6MB) all runs well.

    If I load the same picture programatically, there is an abend under 4.0.3 which did not occur previously.


    Panels(1).SetBackgroundImage(LoadBitmap(File.DirAssets, "Tides.png"))

    Therefore, I have for now reduced the pictures to the background size so that it will run under 4.0.3.

    Best wishes.
  20. Informatix

    Informatix Expert Licensed User

    Actually, I can't find a solution for my long clicks. They do not work anymore. (I use the two events: touch and longclick for the same object). Since my app relies heavily on panel_touch and long clicks, this change is a nightmare. :BangHead:
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice