Java may not garbage collect until resources are low and it knows that an
object is no longer in use.  Make sure that you assign your object to null
or ensure it goes out of scope then java wilĺ treat it as no longer
referenced.

Regards,Sy

On 9 Jun 2011 04:11, "TreKing" <treking...@gmail.com> wrote:

On Wed, Jun 8, 2011 at 9:05 PM, New Developer <secur...@isscp.com> wrote:
>
> Bitmap  pictBM = Bitma...
Don't hard code the SD card path - that's not portable.



>
> In c++ there is  .free()  or  .destroy()  call
> What do you use in android ?

Start here:
http://developer.android.com/reference/android/graphics/Bitmap.html#recycle()

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices



-- 
You received this message because you are subscribed to the Google
Groups "Android Developers"...

-- 
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

Reply via email to