list

  1. EstasPerplejo

    Android Question B4x - Loop through Labels in a List

    Hi guys. I encounterd a problem and I can't seem to figure it out. Using B4X 13 on Android 15 I created 3 labels in the designer, added the name of the label-views to a list. Now I want to change the text of each label within a small loop and get an error message... Could someone here give me...
  2. Brian Michael

    B4J Code Snippet Search in a List

    Hello, here I come to you with a simple way to search for a word in a list of words. It is a very simple but very useful function. It is declared as ResumableSub so you can use Wait For and wait for it to finish searching to get the results. Example: Dim Fruits as List = Array as...
  3. Dave O

    B4A Class [B4A] DOListDialog - simple and customisable class

    DOListDialog is a free class that makes it easy to display a list dialog. Features: - Easy to use: supply a title and a list and you're good to go. - Auto-size the dialog to the minimum width or height needed, or leave it full-size. - Show or hide the Cancel button as needed. - Customize the...
  4. fat32

    B4A Library [B4X] [XUI] XQ MiniListButton

    A small button, that changes/cycles values from a list. Very useful, to allow user to select specific values from a list. Features: Change background and text color Customizable text label width/size Customizable icon label width/size Can adjust icon spacing/padding Change Event Reversible...
  5. Z

    Android Question does List contains Map

    I have a List of Maps, Maps are simple points, like (x,y) I'm trying to check if the first list contains elements(maps) from the second list... For i=0 To oList.Size -1 Dim m As Map=oList.Get(i) startX= m.Get("x") Log("X1:" & startX) startY= m.Get("y")...
  6. Alexander Stolte

    Android Example [B4X] AS Settings - SelectionList Property

    https://www.b4x.com/android/forum/threads/b4x-xui-as-settings.147435/ With this property, you can offer the user several options and he can then select either one or more. Example 'Second Page SettingPage2.Initialize(AS_Settings1,"Page #2")...
  7. yo3ggx

    Android Question XML2MAP and lists of maps

    Hello, Let's consider the following simple xml file as xmlstring. <main> <device> <memory> <param1>123456</param1> <param2>654321</param2> </memory> <memory> <param1>45678</param1> <param2>87654</param2>...
  8. R

    Android Question Updating a list of 1D string arrays

    Experimenting with B4XTable and in that the data is set with a list of arrays. Now in these arrays I have Excel dates and I need to alter these to tick dates and I do this with this code fragment: For c = 0 To arrDataTypes.Length - 1 If arrDataTypes(c) = "XD" Then...
  9. E

    Android Question Match list and csv file

    Hi everybody! I have a list like [1, 2, 3, 4, 5, 6, 7] and a csv file (text.csv) like this: game1, 1, 2, 3, 4, 5 game2, 2, 6, 7, 8, 9 game3, 10, 11, 12, 13 I need to seek in csv file wich list numbers match and presents something like this: game1: match 1 number game2: match 2 numbers game3...
  10. M

    Android Question [B4X] Update value of an item in CustomListView

    Hi everyone, is it possibile to update the value of an item of a custom list view? because i do not see any method for this, the only way i figured out is to: save the view using .GetPanel save the value using .GetValue update the value replace the item using .ReplaceAt and using the new value...
  11. carlos7000

    Spanish Problema al extraer datos de una lista. [Solucionado]

    Hola a todos. Estoy tratando de pasar parte del contenido de un archivo csv a una base de dato sqlite. Para ello escribí una funcion de prueba. Este es el código. Public Sub CargaDatos Dim SU As StringUtils Dim AirPorts As List = SU.LoadCSV(File.DirAssets, "ejemplo.csv", ",")...
  12. M

    iOS Question [B4X] Double column multiple card element sizes like Pinterest

    Hi everyone, what is the best way to achieve this type of list nowadays? I know I could do it by using two CLVs that scrolls together but I'm afraid of glitches (like jerky movements between the two on shitty-smartphone like mine) The features I'm interested in are: Two columns each column...
  13. carlos7000

    Spanish Inicializar CustomListView [Solucionado]

    Hola a todos. Tengo una pequeña aplacion que funciona, pero a veces se bloquea. Al bloquearse aparese un mensaje informando que un objeto List, no se ha iniciaalizado. Ya he verificado todo el codigo y todos los list se inicializan corretamente, creo. Pero note que un CustomListView no se...
  14. M

    iOS Question Get list of connected bluetooth devices

    Hi everyone, I'm just sketching ideas for an app, and before I start doing practical things I want to be sure that what I'm thinking is possibile to do. The question is: It's possibile to retrive a list of the currently connected bluetooth devices to my phone? Example: My iPhone can be...
  15. A

    Android Question b4xtable.setdata

    Hi, I try b4xtable, but when I call .setdata I have this error Col 0 Trasporto merci Col 0 Trasporto merci e rel. posizionamento Col 0 Trasporto rifiuti Col 0 Trasporto eccezionale Col 0 Sollevamento Col 0 Pulizia industriale Col 0 Ricondizionamento rifiuti Col 0 Demolizione/smontaggio impianti...
  16. aeric

    B4J Question [SOLVED] Refresh B4XPreferenceDialog Options from Updated List

    The options work very well in project without database. When I wanted to refresh the options from updated database, the option is not updated. In attached project, go to "Page 3" from MainPage and click on button "Show Options", the options show 3 items. Click on button "Add Option" then click...
  17. Mark Read

    B4J Question [Solved] How to get an object from a tag

    I have a series of six buttons which all have almost the same code. They only use a different list. The lists are called f1 to f6. The list name I have put into the tag property but cannot get the code to call the proper list. The lists are dimensioned, initialised and filled in a different sub...
  18. C

    Android Question Can I modify a custom type, while it's already used in a database list?

    I'm using a custom type that consists of keys like title, text, datetime, keywords etc. My simple "database" is just a list of hundreds of these. The problem is that as for now I'm using their Unix times to identify them, and that was a big mistake, as due to how the app works there will be...
  19. Rasoull

    Android Question Read List Contain type

    Hello, I have a list whose items are custom type. The list is stored in memory with Jsongenerator, but when I read those types, they are recognized as a string. How can I read the types from the list?
  20. A

    b4a 与 支付功能 , to MR.aeric

    MR.aeric: 你好 ,b4a 是 一个 让人 喜欢 的 开发工具 , 在 使用 中 ,遇到 一些 问题 ,难以 解答 ,幸好 ,遇见 您 这位 能懂 中文 的 专家 , 有些 问题 需要 向您 求 问 , 一 , b4a 与 支付功能 , 这个 问题 ,查 了 一些 资料 ,感到 难以 入手 ,不知道 从 哪里 下手 , b4a 中 ,是否 可以 使用 中国内 流行 的 微信支付 功能 , 支付宝 支付 功能 ? 如果 可以 ,那么 ,应该 使用 什么样 的 句子 调用 这个 功能 , 感觉 ,似乎 是 调用 接口 , 从 网络 资料 获知 ,...
Top