Is it possible to restart an Android activity ? #876
EricBeetsOfficial-Opuscope
started this conversation in
Development
Replies: 1 comment
-
Hi Eric, Can you repro this behavior with Android Playground App? Or can you give us a link to your test app? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I don't know if there is a bug somewhere or if I am in a wrong way:
I am trying to use a custom
BabylonView
into aFragment
to add it into a intentedAppCompatActivity
, everything is fine, I can go back to theMainActivity
(theFragment
andBabylonView
call the destructions functions, however theprotected void finalize
is not yet called ..).And then, I try to relaunch this second activity (containing the custom
BabylonView
), and the app crashes (in the functionJava_BabylonNative_Wrapper_renderFrame
).It's occurs only when the AR mode is enabled.
I can understand that some resources are not released (while the cpp pointers are not), but I don't understand the way to go (I tried to force the
finishEngine
without success ..)I hope my description is understandable (sorry if it's not, feel free to say it !)
Thanks in advance,
Regards,
Eric
Beta Was this translation helpful? Give feedback.
All reactions