Android Question activity to lack of memory

Douglas Farias

Expert
Licensed User
Longtime User
hi i m making tests on my app
i have 2 activity

1° have one buton to start the 2°
2° have a button to close activity.finish

ok

i start the app
click on button and it start the activity 2

later i press a button on activity 2 to close with activity.finish

ok i make this 6 or 7 times and my app stop
why this?

telaprincipal
B4X:
     Activity.Finish
        StartActivity(selecionacidade)
selecionacidade
B4X:
StartActivity(telaprincipal)
    Activity.Finish

i realy dont understand why Downsampling image due to lack of memory.
when i start new activity i close the current why give this error?



 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…