list

  1. A

    Android Question Sort a List of Type with multiple criterias [SOLVED]

    Hello All, I'm looking to sort a List of Type with multiple criterias. As far as I understand, List.SortType(), is capable to sort only one criteria. So, how to do such kind of multiple sort? Example (expected behavior) Type(Val1 as String, Val2 as String, Val3 as Int) all type values are...
  2. M

    Android Question Hand Draw on Google Maps

    Hi everyone, i never done something like this, so i ask to understand if this is possibile. I need to draw an area on a Map (google maps): It's possibile to draw directly moving the finger on the screen and "convert" this spline in a list of point to give to google maps? I know that this isn't...
  3. Programing Center

    Android Question Randomize the list

    Hi, i have a List and i want to Randomize my List For example my List content is : Dim listview As ListView Dim list As List list.Initialize list.Add("Banana") list.Add("home") list.Add("car") list.Add("cat") list.Add("B4a") For i = 0 To list.Size -1 listview.AddSingleLine(list.Get(i))...
  4. Mrphone

    Android Question Search the list

    Hello everyone :D I have a text (.txt) file that I will convert to a list using the following command 👇 Dim data as list data.Initialize data = File.ReadList(File.DirAssets,"Number.txt") How can I search in this list ??! And put the result back on the list
  5. saeed10051

    B4J Question How to populate Tableview with a json string

    I am running jokhttputils2 and json parser to get a json string from an online database. I have a Tableview on my java app which i want to populate with the data received in the json string. I am running following code for that Sub loadlistview Dim Table As List Dim p As JSONParser Dim res As...
  6. Humberto

    Share My Creation Hands Free Notes a To Do List with Voice Commands

    Hand Free Notes (HFN) is a To Do List program where you can write down your thoughts, tasks to do, supermarket list in an organized and practical way. Our great advantage is that you can do all of this through voice commands. So you're in your car and you remember to do something, you have a...
  7. saeed10051

    Android Question initialize error for list

    Hi, i am declaring a list in Process sub global and initializing it in Sub Activity_Create(FirstTime As Boolean) List1.Initialize List1.AddAll(Array As Int(1, 2, 3, 4, 5,6,7,8,9,10)) if i run following code in activity create, it runs fine For i = 0 To 9 Log(List1.Get(i)) Next however if i...
  8. M

    iOS Question Custom Items in NavigationBar

    Hi everyone, I wish to do an nicer app by using some custom UI elements. It's possibile to achieve this type of result? (specifically che horizontal list in the navigation bar) Thanks in advance :D
  9. aeric

    Share My Creation Todo List (source code)

    todo-B4A Made with ❤ in B4X Source code: https://github.com/pyhoon/todo-b4a For B4i: https://www.b4x.com/android/forum/threads/todo-list-source-code.117223/
  10. 3

    Italian lista di scelte

    Ho un' app che avevo sviluppato con Basic4A versione 3.20 adesso la sto passando alla versione 9. Alcune cose non mi funzionano più, per esempio io facevo questo: sembrerebbe che x.InputList1 non esista in questa versione Dim r As List r.Initialize r.AddAll(Array As...
  11. DALB

    Android Question Is a list able to keep panels properties ?

    Hello eveyone. Technical question about "what can a list do ?" Is a list able to store panels like this : list.add(panel(i)) if yes, are all the properties of each panel stored in the list enabled or not ? I ask this to know if I can call any panel with it all properties in my code from the...
  12. Daniel44

    Android Question (SOLVED)List Can't be used in a BXTable

    Helo everyone! I have a Standart Class Called Productos like this: Public Sub SelectAll(Filtro As String) As List Dim Cursor As Cursor Dim Data As List Data.Initialize() Cursor = Connection.mySQL.ExecQuery2("SELECT * FROM productos WHERE NombreProd LIKE ?", Array As...
  13. LucaMs

    Other List of types

    If you fill a List with custom types objects, you can sort it based on any field that makes up your custom type. I wonder: 1) if this type of collection exists in java or it is a b4x implementation; 2) if it were the second case of the previous point, perhaps it would be possible: - 2a)...
  14. carlos7000

    Android Question Create a linked list as in C++ [solved]

    Hi. It is possible to create a linked list as in C ++. And perform search operations, insertion removal, etc. I need it to keep the last 20 items entered. Thanks
  15. Star-Dust

    B4J Library [B4X] [XUI] jSD_TreeList

    Version for Android, iOS, Desktop Required FontAweson SD_TreeList Author: Star-Dust Version: 0.07 B4XTree Events: Click (IDLeaf As String, LeafName As String) ClickBranch (ID As String, Expanded As Boolean) LongRightClick (IDLeaf As String, LeafName As String) Functions: Add (Name As...
  16. Star-Dust

    B4A Library [B4X] [XUI] SD_TreeList

    Version for Android, iOS, Desktop Required FontAweson SD_TreeList Author: Star-Dust Version: 0.07 B4XTree Events: Click (IDLeaf As String, LeafName As String) ClickBranch (ID As String, Expanded As Boolean) LongRightClick (IDLeaf As String, LeafName As String) Functions: Add (Name As...
  17. Yeskay

    Android Question Youtube videos list with thumbnail in an activity

    How to list an youtube channel videos list with thumbnail in an activity.
  18. KMatle

    B4J Tutorial [B4x] Exchange Data via OkHttpUtils and php (or other platforms) via lists, maps, arrays, etc.

    I made 7 examples how to exchange data between B4x apps and php. I use the POSTSTRING method as it is simple, secure (get-methods will be logged with the data autmatically on the server, post-methods not), strings can be formatted very easy (JSON) and en-/decrypted (not included but see my other...
  19. OliverA

    B4J Question For Each/Next List of Maps and references. What am I misunderstanding?

    B4J Version: 7.51 OS Platfrom: Win10 Pro (1903) JDK: 11.0.1 downloaded from B4X's site Here's the setup. I'm creating a list of maps that contain x, y values (note: in my case, the map contains way more info, I'm just simplifying it here to show the issue I'm running into) Dim largestX As...
  20. jimich

    B4J Question b4j kvs2 multi-column csv

    Good day to all, I have code below. Everything is ok except when using kvs.get(), which I could not get every item on the list. Thank you for your kind reply. 'Non-UI application (console / server application) #Region Project Attributes #CommandLineArgs: #MergeLibraries: True...
Top