|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.herroworld.imagegrabber.Utils
public class Utils
Class containing some static utility methods.
Field Summary | |
---|---|
static boolean |
DEBUG
|
static int |
IO_BUFFER_SIZE
|
Method Summary | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
static void |
disableConnectionReuseIfNecessary()
Workaround for bug pre-Froyo, see here for more info: http://android-developers.blogspot.com/2011/09/androids-http-clients.html |
||||||||||||||||||
static int |
getBitmapSize(Bitmap bitmap)
IO_BUFFER_SIZEpublic static final int IO_BUFFER_SIZE
DEBUGpublic static final boolean DEBUG
disableConnectionReuseIfNecessarypublic static void disableConnectionReuseIfNecessary()
getBitmapSize
isExternalStorageRemovable
getExternalCacheDir
getUsableSpace
getMemoryClasspublic static int getMemoryClass(Context context)
|