Hi Build Account, Java, the language that Android is programmed in, is garbage collected. So all you need to do is let the run time know you are finished with the object you created.
for example: //create the object String language = new String("Java"); //use the Object Log.i("TEST", "Language used is: "+language); //destroy the object language = null; regards Damien On 31/08/2011, at 1:14 AM, Build account wrote: > Hello all. > > I'm looking for explictic method to erase object from memory space > wich allocated by 'new' keyword. > > But the syntax "delete object;" telling me an error that "delete > cannot be resolved". > > How can I do? I don't believe there is no such kind of 'delete' > method.. > > Please advice me. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en