b4x

  1. Star-Dust

    B4J Library [BAX] [XUI] xui_Switch (Class with source code)

    I saw that someone had trouble creating a simple Switch in XUI. So I wanted to give an example. No need to do reverse engineering I have source code. It is a xCustomView and therefore should be used with the Design. xui_Swicth: Star-Dust Proprieties: Value As Boolean Method setSwitchBitmap...
  2. peacemaker

    Android Question B4XComboBox in StateManager class

    Hi, All Sub innerSaveState(v As View, list1 As List) Dim data() As Object If v Is EditText Then Dim edit As EditText edit = v data = Array As Object(edit.Text, edit.SelectionStart) Else If v Is Spinner Then Dim spinner1 As Spinner spinner1 = v...
  3. Peter Simpson

    Tool B4X Template Manager (New B4J version). Create and share your layouts with others

    First of all, cheers to Filippo who created a template manager last week. I was going to offer Filippo a few suggestions in his thread about his program, but then I decided to create my own on Sunday. B4X Template Manage (B4X TM) is no better or worse than Filippo's, it's just a different take...
  4. I

    Italian [RISOLTO] - B4X - LoadingIndicator + XCustomListView

    Ciao ragazzi, avrei bisogno di una mano.. Sto caricando in una xcustomlistview una lista di prodotti (diciamo 2000) Questa lista a caricarsi ci mette un tre secondi circa con richiesta remota, popolamento e risultato a video. Ora io volevo nel frattempo mettere questa bella custom indeterminate...
  5. Alexander Stolte

    B4A Class [B4X] [XUI] AS AnimatedCounter (negative- and positive-numbers)

    First, i spend a lot of time in creating views, some views i need by my self, but some views not and to create a high quality view cost a lot of time. If you want to support me, then you can do it here by Paypal or with a coffee. :) This is a Animated Counter with more Features. The Class is...
  6. A

    Android Question Save zip to dirInternal

    Hello, Does anybody know how to save a file from dropbox link to specified folder like dirInternal? Thanks in advance.
  7. K

    B4J Library [B4X] Sorted Map Class (with source code)

    This is an implementation of a sorted map using a red black self balancing binary search tree. It replaces the B4J TreeMap Library and the B4I Sorted Map Library. The .zip file includes demonstration / test programs for B4A,B4I and B4J. If you want to understand what the SortedMap class is...
  8. Star-Dust

    B4A Library [B4X] [XUI] SD XUIView2

    Dependence: SD CreativeBackground SD_XUIView2 Author: Star-Dust Version: 0.14 B4XRangeSeekBar Events: ChangeValue (MinValue As Float, MaxValue As Float) Fields: Tag As Object Functions: AddToParent (PanelToAdd As B4XView, Left As Int, Top As Int, Width As Int, Height As Int) As String...
  9. MarkusR

    Android Question Server App with Network & TCP Socket + SSL

    hello, how to make this example b4j network here work with ssl? https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/ i set the server into listen after a button click. if me click connect from "client" the server show a connect but the client stay in status...
  10. MarkusR

    B4J Question how to handle Forms in XUI ?

    hello, i using classes for shared code at b4j and b4a. i like to have the classes independent that they can open/close his form self. currently i open the form outside and give it to the class (same as tutorial), but that did not make me happy because i need call a sub to close the form from...
  11. LucaMs

    B4A Class [B4X] List2

    Description: A simple class to add 3 methods to the native List. Methods: IndexOf2(Item As Object, StartIndex As Int) As Int Returns the index of the specified item starting the search from StartIndex. Returns -1 if Item was not found. GetAllIndexes(Item As Object) As List Returns a list...
  12. W

    B4J Library Broadlink home automation [Class] [B4X]

    Hi all, These are two classes (the attached is a B4J project but I believe the classes will work for B4X, correct me if I'm wrong in which case I'll update the post) that let you control IR and RF devices with Broadlink RM Pro and Mini 3 ('Black Bean') controllers - see...
  13. MarkusR

    Wish Optional .Initialize()

    the normal syntax is Dim Obj As MyClass Obj.Initialize() but i think this part can be optional if the developer will reset/create a new object Obj.Initialize() so the default code would be Dim Obj As MyClass and i saw that if me using a library .Initialize() it not necessary how about a...
  14. M

    Android Question How to invalidate pane in B4J (xui)?

    I have started to port B4A code to B4J and used xui to do so. But in the B4A code I had an option to invalidate a view, or invalidate2 and invalidate3 to redraw panels in B4A. But when I started to convert the code to b4x, I found that B4X view or Pane view does not provide any option to redraw...
  15. Star-Dust

    Android Code Snippet [BAX] [XUI] BitmapCreator - DrawLine, DrawPath , DrawCircle, DrawArc, DrawImageTrapezoid

    BitmapCreator lacks some important instructions on Canvas. Sometimes switching from BitmapCreator to Canvas and vice versa would slow down the code too much, so it would be better to implement them with BitmapCreator. I started writing some divers, if someone finds a way to improve it or add...
  16. Alexander Stolte

    Wish [B4X] xCustomListView PullToRefresh

    Hello, are any plans to add the PullToRefresh Feature to the xCustomListView in the Future? thanks Greetings
  17. KMatle

    Wish Online notification/automatically download of new internal libs

    Wasn't it a good idea if we had an online notification inside B4x about new internal libs? Perfect was if then the libs are downloaded automatically :-)
  18. W

    Wish [B4X] Conditional compilation depending on whether or not a library was added to the project

    In my shared modules I'd like to be able to have subs that can sit there and only be considered by the compiler if a given library was added to the project. I'm aware of Build Configurations, but these would require setting them up manually on a project by project basis. Example: #IfLibrary...
  19. Star-Dust

    [XUI] 3D, rotations and pivots

    So far I've used the native Android commands to rotate the views according to the X, Y, and Z axes. The native commands let you change the X and Y coordinates of the Pivot point and get this. But to get a rotating cube it is not enough to be able to rotate on three axes but you have to be...
  20. LucaMs

    B4A Library [B4X][XUI] ExpandView - source code

    Attached the version 2.0 (not compatible with the 1.0) - b4a code module and library (see post #6). This version allows to also collapse a B4XView. Premise: I wanted to create an animation; it did not work the first time and then, from the wrong code, I wrote these few lines, nothing special...
Top