That means that it also destroys the info I already entered in some textfields!
Is there any way to avoid that the OS destroys the activity? Can I keep the activity alive in some way?
Hi I have the same problem - so i have one mor question:
If my activity is destroyed by the OS is there a possibility to get the result from the ContantChooser?
I want to set a selected image as background.
If the OS destroyed my activity I'm able to figured that out after the restart of the activity and could set the right image as background. The question is how can I get the information about the picture wich was selected?
I know that this code has originally opened a spinner. I´ve changed the code here in editor to a button. So the code is untested. I don´t know whether it works or not.
Give it a try
B4X:
Sub ClickButton(b As Button)
Dim r As Reflector
r.Target = b
r.RunMethod("performClick")
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.