Hi everyone, I've an app that need to download an huge dataset.
We are talking about making a http request the return a json of 8000 rows, that need to be stored in a local SQL DB in the device.
Now.. the problem is the following: downloading and storing all the rows in the DB takes a while...
I have a TextField on a form.
Running the project and right-clicking the TextField (with text in it), by default, produces the following context menu with some text selected.
I'd like to append/add to the existing menu, so that it don't lose the existing menu items and their functionality.
How...
Hello,
Created a JSON using DBUtils.ExecuteJSON by passing required parameters and then converted it into a string using toString method. Works fine. Verified that it's a valid JSON.
Now I want to parse this JSON and extract individual values. This generated JSON starts with root and I...
Shopee is an e-commerce platform.
The documentation for their Open API is avaialble at https://open.shopee.com/documents?module=63&type=2&id=53
I have developed a B4J Non-UI app but unable to get the expected results.
B4J:
When I use Postman to post the request, I get the correct result...
Greetings,
I'm learning how to work with JSON and did a lot of searching and came up with the following coding. It's just a few lines of code but I thought it is at least enough to pull some data out of the downloaded data. I'm sure I messed up with the coding in several places and would like...
If i pass a string to my library it encodes some characters bad:
mylib.SaveStringToJson("https://play.google.com/store/apps/details?id=com.app")
This function saves a JSON file for library internal management, but inside some characters are changed like this...
Hey guys, hope you're doing well.
I want to create an application to post some JSON data to an endpoint and get a field from the returned response. Whenever I click the button it takes back with the "Bad Request" error and says that two "title" and "script" fields are required. (I've already...
Hi, using the json tree viewer I was able to get values in a for - each loop.
How can I access a specific index?
I would like to access element 'Instrucciones' of object 2
This is the code for-each
Dim parser As JSONParser
parser.Initialize(File.ReadString(File.DirAssets...
Hi there!
I'm sharing one of my work here so that some of you might refer it.
This code is the PHP part from the whole project that I was working on. My project is based on the automated Forex signals that will be sent to Android and iOS mobile app from an indicator built on MT4 MetaQuote...
Thanks @Erel for free version that I plan to buy but donate instead.
I'll share my B4A knowledge in Thailand, your great product must popular, later.
PHP is well known for web developer, it cheap resource and easy to learn in Thailand.
Backend system easy manage by PHP & MySQL but till now...
Hello all,
Here is a quick video to show how simple it can be to transfer your B4A projects to B4J when using XUI. It's been on my mind all days now, so I thought I would give it a go and also record my efforts. This is my first ever attempt at doing anything cross platform like this with XUI...
Hello everyone,
I've noticed that there appears to be more questions regarding long lists of data and matching previously designed layouts. Even thought you can easily use xCustomListView in conjunction with Lazy Loading to accomplish the required results, some B4X developers can find it...
Hello,
This class can parse JSON to generate CSBuilder.
Create a json string, save it in a file, add it to assets folder, and display it with this class.
All the CSBuilder capabilities are supported.
Comments in clsCSBuilderParser.bas and samples files explains the JSON structure.
spsp
Hi everyone;
I'm having a rough time posting a particular JSON object. The JSONParser works perfectly, but when the resulting map is posted, the quotes for the array type and JSON type end up in the wrong place, breaking the object.
Sub btnSend_Click...
Hi.
I am looking for an old code, because the program must run on a device with android 5, that allows me to simply receive a json text. For this reason I use the Http library instead of the okhttputils2.
I tried using the OkhttpUtils2 library, but a handshake ssl error appears. that despite...
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...
Hello,
I am working with 2 types of image sources:
- IMG downloaded from an URL and
- images returned into a json with base64 format.
1/ But i do not know how to put the image b64 in an image view,
2/ in the meantime and until today, I do like this: I first copy the image datas from base64...
hi, i am new in using API key and i have never done before
so, how can i use this api
To show like this
https://ibb.co/MBB5rJv
I got this API key and image from other developer .
The question is
How to display like that image with the API key Above ?
thanks u
Hello,
Please, i have a Json provided from an external DB Table like that :
[{"Id":"1","Libelle":"CONFORT ET BIEN-ÊTRE","PictureId":"2428"},
{"Id":"14","Libelle":"AIDES...
Hi there
Can anyone please help with a snippet to unflatten data into a json stree?
For example, this is my list of records...
Dim arr As List
arr.Initialize
arr.Add(CreateMap("id":1 ,"parentid" : 0))
arr.Add(CreateMap("id":4 ,"parentid" : 2))
arr.Add(CreateMap("id":3 ,"parentid" : 1))...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.