Trying to run a query on the B4XTable memory DB and move the resulting data directly to a table in the main SQLite (file based) table.
I trying to do this by attaching the B4XTable memory DB to the main DB and then running that query from the main DB.
The reason for doing it like this is that...
I have a class and inside it I have a TableView with about 100 textboxes and comboboxes loaded.
When running the program for first time, the amount of RAM consumed is about 200 MB
After opening and closing the form several times or scrolling the tableview, the amount of memory consumption...
I'm trying to download a file from a server, and I want to save it in the "Download" folder of the phone (not on an external SD or USB)
what is the right way to do it?
(I already know how to download... i need to specify only the path)
I tried with...
I would like to make a file manager, partly on Android and partly on PC
A big problem is that the Android app cannot read / write on many areas of the device
Especially on internal memory, it just doesn't go there
However, I see that some apps are able to do this, for example MyPhoneExplorer...
In my app, i have a simple webview. It works correctly with 99% of website.
So abruptly there is no mention of bug, crash, failure or error in the B4A logs.
I think there is an...
As you probably know, in Android 11, memory access is not possible through RunTime.
What to do to get memory access in Android 11 in b4a?
I do not have Android 12 to check if there is such a limit in Android 12? In general, give me the code that allows memory access in all possible versions of...
Looking at used and available memory and using this code, copied from here:
Dim r As Reflector
Dim iFreeMemory As Int
Dim iMaxMemory As Int
Dim iTotalMemory As Int
Dim iUsedMemory As Int
When passing a cursor as a parameter, when is the correct time(s) to close the cursor?
Dim v_Cursor as Cursor = SQL.ExecQuery("SELECT * FROM TABLE")
Sub func(p_Cursor as Cursor)
Is there a simple way to determine the memory usage of an Object? Something like this:
myObject As Object
objectMemoryProfile As ObjectMemoryProfileClass
memoryUsage = ObjectMemoryProfile(myObject)
I have this strange issue with B4J. Early on when I'm working with it, the RAM usage is around 160MB, which is totally fine. But gradually that amount increases. After a short while to 250, then 300, etc. When I come back to continue my work after several hours, the usage goes above 500...