That has nothing to do with B4A, that's how Android works.this is a bigproblem on b4a i m trying to understand this too =(
You are doing it wrong, you should NOT load layouts in FirstTime, that only triggers when the app runs for the VERY FIRST TIME.if i use firsttime to run layouts i cant close the current activity with activity.finish
and if i need reopen the closed activity i have layout not initializated
if i dont use i cant load my activity again because go load my layout again and again and this give me memory error *-*You are doing it wrong, you should NOT load layouts in FirstTime, that only triggers when the app runs for the VERY FIRST TIME.
You are doing it wrong, you should NOT load layouts in FirstTime, that only triggers when the app runs for the VERY FIRST TIME.
yes i already see your postLet me say it again: Then check your code.
Does your app crash or does your activity crash?Is there a way to detect, programatically, whether an app is still in memory? I find that if my app crashes it sometimes stays in memory - which complicates things when I run it again.
Always load layout in activity_create (not first time, not resume)if i dont use i cant load my activity again because go load my layout again and again and this give me memory error *-*
Always load layout in activity_create (not first time, not resume)
If the activity is loaded again, activity_Create will not run if it is already in memory. If it is not in memory it will run, but then the memory is empty anyway.