Skip to content
Stanislav Koshutsky edited this page Mar 8, 2017 · 18 revisions

Welcome to the StanKoUtils wiki!

StanKoUtils has many different helpful tools, most used are:

DeviceInfo is a class which helps to get device info like its screen density, resolution, supported API/SDK. Also it helps to detect tablets.

ViewSizeHelper is based on GlobalLayoutTreeObserver and returns a given view's height and width via IViewSize interface at a runtime. Its an async method because GlobalLayoutTreeObserver is.

EmailHelper contains handy methods like email address validation and sending email Intents generators.

Hash contains MD5/SHA calculation methods of different sources like String, File or Stream.

IntentHelper has methods of Intent generators to open given url in external browser.

FileUtils contains methods to work with Files and includes workaround for Samsung devices (ENOENT Error).

FontsHelper helps to apply custom fonts to TextView (including EditText, Button etc) widgets

ImageUtils has numerous Bitmap transformations methods like resize, convert to Drawable, take a screenshot of a single View or the whole Activity's screen, Bitmap image info, convert color image to B&W etc.

SharedPrefsHelper provides wrapper methods for Android SharedPrefences class.

The network package contains Networking helpers like Internet connection listener and host (handy for client-server apps) availability checking.

Clone this wiki locally