On Wed, Jun 8, 2011 at 9:05 PM, New Developer <[email protected]> wrote:
> Bitmap pictBM = BitmapFactory.decodeFile("/sdcard/DCIM/"+CURRENT_IMAGE);
>
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" 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