xui

  1. LucaMs

    Android Question B4XView - Error compiling a code module to library

    I have a code module (b4a) in which all the routines require variables of type B4XView as parameters. This code module works well in b4a and b4j projects. I compiled the module to a b4a library. Then I ran the same project (b4a) which used the code module, replacing the module with the library...
  2. Star-Dust

    B4J Library [B4A] [XUI] SD: XUI_DragView

    This library handles drag and drop of XUI views. It is a simple library with few methods but it only serves to drag the space already indicated. (required XUI 1.72+) Good fun SD_XUI_DragView Author: Star-Dust Version: 0.03 DragDropView Events: DragViewMoving (DragView As B4XView)...
  3. Star-Dust

    B4J Library [B4X] [XUI] SD: B4XViewEvent

    Using the XUI views I realized the need to follow the events of Touch, Drag, Click and Release in a unique way. Required XUI 1.72+ In Android I would use this command: Sub EventName_Touch (Action As Int, X As Float, Y As Float) In B4J I would use this: Sub EventName_MouseDragged (EventData As...
  4. Star-Dust

    B4J Question [SOLVED] OnTouchListener event

    I created a class that changes the event View as a parameter by changing the view. This works well in B4A but does not work in B4J. This is the code: Sub Class_Globals Private CallBack As Object 'ignore Private EventName As String 'ignore End Sub 'Initializes the object. You can add...
  5. OliverA

    Android Code Snippet [B4X][XUI] Image to JPEG byte array with resize/quality options

    Originally posted a B4J/inline Java version of this in the B4J Code Snippets (https://www.b4x.com/android/forum/threads/image-to-jpeg-byte-array-with-resize-quality-options.91746/). @Erel pointed out though that the XUI library had the functionality that I was doing with Java, so I decided to...
  6. LucaMs

    Android Question XUI - B4XCanvas

    How to set anti aliasing for B4XCanvas? I tried this example: https://www.b4x.com/android/forum/threads/b4x-xui-create-a-round-image.85102/ and the result is bad - both circle and image.
  7. giofram

    Android Question B4X: cross-platform and socket managing features

    Dear B4Xers, we need to create cross-platform UI; we need to work with sockets in the background also. A typical example of our hypothetical application is an app where a disabled person "explores" an ever-changing UI that is dynamically generated to learn how to use different types of controls...
  8. DroidLyon

    Android Question Dynamically creating tabstripviewerpage tabs with XUI customlistview

    Hi all I'm trying to dynamically create a number of tabs based on content from a SQLLite database. These tabs are then populated with data into XUI customlistviews and where I attempt to lazy load as per Erels guide here Rather than hard code and use multiple designer created clvs and events...
Top