memory

  1. 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...
  2. 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...
  3. 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...
  4. R

    Android Question Used memory

    Looking at used and available memory and using this code, copied from here: https://www.b4x.com/android/forum/threads/memory-usage.97349/ Sub LogMemory Dim r As Reflector Dim iFreeMemory As Int Dim iMaxMemory As Int Dim iTotalMemory As Int Dim iUsedMemory As Int Dim iTotalFreeMemory...
  5. 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...
  6. 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)
  7. 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...
Top