Global Utilities for Android
dependencies {
compile 'me.a7madev.androidglobalutils:library:1.+'
}
import me.a7madev.androidglobalutils.*;
- isDebug
- logThis
- showToast
- checkForInternetConnection
- getTypeFace
- getTypedArrayResource
- getStringArray
- getIntArray
- convertStringArrayToArrayList
- getContentFromClipboard
- requestMultiplePermissions
- initProgressDialog
- dismissProgressDialog
- getBitmapByResourceID
- getShareTextIntent
- openShareTextIntent
- getCallIntent
- openCallIntent
- getURLIntent
- openURLIntent
- getnEmailIntent
- openEmailIntent
- changeActivityTheme
- loadImage
- generateUUID
- todayTimestamp
- createDateTimeString
- getTwoDigitsInt
- validateText
- getDisplaySize
- getDisplayDensity
- convertDpToPx
- convertPxToDp
- getCalendarMonthDisplay
- convertStringToInt
- convertDoubleToString
- dismissAlertDialog
- dismissLoading
- getColor
- getDrawable
- getAppVersionName
- getAppVersionCode
- setActionBarTitle
- setActionBarBackButton
- todayDateTime
- todayLocalDateTime
- validateAndSetAlternativeString
- isBuildFlavor
- generateNowTimestampString
- generateNowTimestamp
- openSMSIntent
- parseToHTML
- showSnackbar
- getAllChildrenInView
- dismissSearchView
- convertBooleanToString
- rotateImage
- convertStringToDouble
- hideKeyboard
- convertIntToString
- generateDateTimeString
- getDateTime
- getSharedPrefs
- initSharedPrefs
- clearSharedPrefs
- logIntentExtras
- saveSharedPrefsOne
- saveSharedPrefsList
- sleepThread
- convertStringToLong
- getHumanReadableBoolean
- getURIFromURL
- encodeURL
- convertStringToFloat
- convertLongToString
- convertFloatToString
- getFormattedDateString
- getRelativeDateTimeString
- getBoolFromBooleanObject
- setupSwipeRefresh
- disableSwipeRefresh
- convertListToString
- convertIntToBoolean
- convertBooleanToInt
- initSpinnerFromList
- convertIntegerToString
- getMimeType
- openFileIntent
- getFileIntent
- getFilesListFromDirectory
- getMediaThumbnailFromFile
- deleteFile
- getStorageDirectory
- isExternalStorageWritable
- isExternalStorageReadable
- getFileNameFromURL
- acceptImageFromFile
- acceptVideoFromFile
- acceptImageFromFilePath
- acceptVideoFromFilePath
- getURIFromFilePath
- getShareFileIntent
- openShareFileIntent
- getMimeTypeFromFileURI
- getMimeTypeFromFile
- getPathFromFileURI
- CustomScrollView
- CustomViewPagerAdapter
- ToggleableRadioButton
This plugin is available under the GPL License, Version 3.0.
(c) All rights reserved A7madev