1. M

    Android Question Access the internal Download folder

    Hi everyone, 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...
  2. amorosik

    Android Question File manager - how to read / write on internal memory and other 'hidden' zones?

    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...
  3. A

    Android Question WebView unexpected crash

    Hello In my app, i have a simple webview. It works correctly with 99% of website. But with an online javascript reader for PDF, the webview crash abruptly, immediately or after some minutes. So abruptly there is no mention of bug, crash, failure or error in the B4A logs. I think there is an...
  4. B

    Android Question dirrootexternal access in Android 11

    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...
  5. R

    Android Question Used memory

    Looking at used and available memory and using this code, copied from here: Sub LogMemory Dim r As Reflector Dim iFreeMemory As Int Dim iMaxMemory As Int Dim iTotalMemory As Int Dim iUsedMemory As Int Dim iTotalFreeMemory...
  6. Rob Bliss

    Android Question Cursor as Parameter

    When passing a cursor as a parameter, when is the correct time(s) to close the cursor? Sub main Dim v_Cursor as Cursor = SQL.ExecQuery("SELECT * FROM TABLE") func(v_Cursor) v_Cursor.Close '? End Sub Sub func(p_Cursor as Cursor) p_Cursor.getString("column") p_Cursor.Close...
  7. D

    Android Question Memory Profiling

    Is there a simple way to determine the memory usage of an Object? Something like this: PseudoCode myObject As Object objectMemoryProfile As ObjectMemoryProfileClass memoryUsage = ObjectMemoryProfile(myObject)
  8. MegatenFreak

    B4J Question Gradual increase in RAM usage (up to 1GB)??

    Hello. 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...