1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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?
  6. A

    b4a 与 支付功能 , to MR.aeric

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

    Android Question many view use one and the same class module

    'i have a question about class and list and many view , 'What to deal with is , many EditText placed on form , 'if the value(text) of any EditText is changed then the backcolor of it will be changed , 'i used class module in vb , it can fulfil the task , the following is code the followring...
  8. A

    Android Question Sender for List

    Hello. I have: Sub Globals Dim lstViews As List Here's how I form a List: Sub Activity_Create(FirstTime As Boolean) lstViews.Initialize For Each vw As View In Activity lstViews.Add(vw) Next As a result, I would like to track the Click event to various objects, the...
  9. HZZ

    Android Question Array in List

    memtable is list storing array at location Index Dim StrArr() As List = memtable.get(Index) lbheading.Text=StrArr(vheading) <-- causes java.lang.RuntimeException: Method: Get not found in: java.lang.Integer vheading is integer with value 5 however watch expression...
  10. M

    Bug? List.IndexOf not working as supposed to do

    Hi everyone, why this simple line of code, is not working? I don't understand what could be the problem.. seems so straight forward... That sub simply loads two lists with numbers, then i want to see if the contents are different, so as soon as IndexOf returns -1 i proceed with the rest of the...
  11. dotdre2

    Android Question B4a Get label from listview

    Hi, How I can get label name from my list ? example: Dim list As ListView Sub createLine list.AddSingleLine2("label","value") EndSub Sub getLabel 'And How I can get "label" from this list ???' EndSub
  12. A

    iOS Question Problem with CLV

    Hi all. I have a problem with CLV. In my app I have a list of messages grouped by sender and it shows only subj of each message. This list in webview. On click I select a message ID and based on this ID I open messagedetails screen where I select from my database all the messages linked to the...
  13. Hadi57

    Android Question how to get a List from Map after write and read the map.

    Probably a beginner problem. but i can't get a list in map after Write it and Read again. i get this error message: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List Dim mapSetting As Map mapSetting.Initialize Dim List1 As List...
  14. 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...
  15. 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...
  16. 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))...
  17. 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
  18. 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...
  19. 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...
  20. 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...