Technocareapk -
If this isn't what you meant, please share more details and I’ll refine the answer completely.
private fun getMemoryUsage(): Float { val runtime = Runtime.getRuntime() val usedMem = runtime.totalMemory() - runtime.freeMemory() return usedMem.toFloat() / runtime.totalMemory() } } technocareapk
For now, here’s a generic example of a for Android (Kotlin): If this isn't what you meant, please share