Thanks to both
but that is another side of my question,  when do the variables go out of scope 
?

thanks again

On Jun 9, 2011, at 2:47 AM, Simon Platten wrote:

> 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" <[email protected]> wrote:
>> 
>> On Wed, Jun 8, 2011 at 9:05 PM, New Developer <[email protected]> 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 - 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to