1
Support / clear data
« on: December 10, 2010, 09:29:25 am »
Hi,
I have a similar problem to post the 12th October "Not Able to clear the data, but can not get me work.
I'm using the libraries in a live wallpaper. If I give a set wallpaper, before it has finished generating the scene and show the preview, then either make an application crash or shows me with malformed elements. For example, a textured Primitives.getPlane, I get only a blank background.
I put the trick mentioned in this post, before this code called by OnDestroy, but does not work:
if(world!=null){
world.removeAll();
world.dispose();
world = null;
}
could someone help me? thanks!
I have a similar problem to post the 12th October "Not Able to clear the data, but can not get me work.
I'm using the libraries in a live wallpaper. If I give a set wallpaper, before it has finished generating the scene and show the preview, then either make an application crash or shows me with malformed elements. For example, a textured Primitives.getPlane, I get only a blank background.
I put the trick mentioned in this post, before this code called by OnDestroy, but does not work:
if(world!=null){
world.removeAll();
world.dispose();
world = null;
}
could someone help me? thanks!