By de_duu
on Fri, 06/07/2013 - 06:33
Hi, I have a function that does some expensive computations and I put it in InitRendering function. But, every time I first load my app to enter AR scene, the app loading for a while and then it's closed (onDestroyed () get called) before, all the computations done. what's problem with that? Does activity manager automatically call onDestroy() when the activity takes time alot to launch?
Activity for AR scene failed to launch
Hi, hard to tell, as it depends what you exactly do in your "extensive computation" code; it could also be that you are using too much memory for instance.
Have you searched in the Android SDK website, as this sounds more like a general question about Android..