Skip to content

a7madev/AndroidGlobalUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Ahmed Yusuf
Nov 28, 2018
38fa249 · Nov 28, 2018

History

39 Commits
Nov 28, 2018
Mar 27, 2017
Nov 28, 2018
Oct 9, 2017
Dec 25, 2015
Dec 28, 2015
Jan 1, 2016
Oct 9, 2017
Jan 1, 2016
Oct 6, 2017
Dec 25, 2015
Mar 27, 2017
Dec 25, 2015
Dec 11, 2016

Repository files navigation

Download Android Arsenal

AndroidGlobalUtils

Overview

Global Utilities for Android

Installation

Gradle

Step 1*Add to project build.gradle

dependencies {
    compile 'me.a7madev.androidglobalutils:library:1.+'
}

Step 2*Import package in your java class

import me.a7madev.androidglobalutils.*;

Usage

GlobalUtils Class

  • 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

GlobalFileUtils Class

  • getMimeType
  • openFileIntent
  • getFileIntent
  • getFilesListFromDirectory
  • getMediaThumbnailFromFile
  • deleteFile
  • getStorageDirectory
  • isExternalStorageWritable
  • isExternalStorageReadable
  • getFileNameFromURL
  • acceptImageFromFile
  • acceptVideoFromFile
  • acceptImageFromFilePath
  • acceptVideoFromFilePath
  • getURIFromFilePath
  • getShareFileIntent
  • openShareFileIntent
  • getMimeTypeFromFileURI
  • getMimeTypeFromFile
  • getPathFromFileURI

Other Classes

  • CustomScrollView
  • CustomViewPagerAdapter
  • ToggleableRadioButton

License

This plugin is available under the GPL License, Version 3.0.

(c) All rights reserved A7madev

About

Global Utilities for Android Developers

Resources

Stars

Watchers

Forks

Packages

No packages published