Archive

Posts Tagged ‘release’

Android 4.0 source released!

November 16, 2011 2 comments

oh oh…Android 4.0 source code has been released!

And yes, lots of work to do for now 🙂

http://source.android.com/source/downloading.html

>> From : http://source.android.com/

News

Source Code Available for Android 4.0

The source code for the Android 4.0 platform and software stack has been released! This release allows OEMs to begin preparing Android 4.0 for installation on new and existing devices, and allows hobbyists, enthusiasts, and researchers to develop custom builds. For information on how to obtain the software, visit our Getting the Source page.

 

 

Advertisements
Categories: Of Diary Tags: , ,

Bitmap and memory leak!

September 7, 2011 1 comment

Whenever using a Bitmap object, it consumes the heap memory! So if your code simply just declares and use it without release its memory, you would face memory leak problem.

It’s men

Remember to always free Bitmap objects memory before finishing your application or whatever objects containers.


Bitmap image = ..... (whatever)

...

if(image != null) {

image.recycle();

image = null;

}

It’s mentioned here on Android Documentation References: Bitmap.recycle()

 

Cheers,

Pete Houston

Categories: Tutorials Tags: , , , ,