Some useful utils used in Android.