Skip to content

Common Utils library is developed to reduce efforts to achieve common features of the android apps. While developing the apps, we realized that we’re coding for many common features in all the apps. For e.g. check the network’s availability, using shared preferences, parsing, etc. And like us, many other android developers might be doing the sam…

License

blueflychief/android

 
 

Repository files navigation

CommonSDK

This Project contains Library of commonly used methods and it's examples.

Library contains easy way to implement social sdk i.e : Facebook, Twitter, Google+, LinkedIn.

This Project includes following common features.

EditText empty validation.
Check network available or not (Internet or Wifi).
Email address validation.
Get current date in String format.
Get device id of from your device.
Set Preferences and get Preferences. Like String, int, long, Boolean, Float.
Remove all preferences. 
Get current location.
Pinch Zoom on image.
Get application Icon drawable.
Send local notification.
Disable sleep mode on while using application.
Enable sleep mode on while using application.
Open image from selected directory path.
Open video from selected directory path.
Open URL to mobile browser.
Shows address location on map.
Create folder or directory.
Download image from URL.
Show date picker.
Show time picker.
Get number of file counts.
Calculate date difference.
Convert date from string to date format.
Get device height.
Get device width.
Get random number.
Add postfix to numbers.
Convert comma separated string to array list.
Convert arrayList to comma separated string.
Play background music.
Stop background music.
Apply blur effect on image.
Convert drawable to bitmap.
Convert bitmap to drawable.
Get device volume for application for sound.
Set bitmap image to preferences.
Get bitmap image form preference.
Get application version code.
Set vertical text-view (left & right).
Check Whether Sd card is available on Device.
Show Share Dialog.
Change Device Profile (Silent or Vibrate or Normal).
Change bitmap to Rounded Cornered.
Show Alert Dialog or Toast.
Preventing double click.
Capture Image.
Pick Image.
Preview Captured Image.
Record Video.
Pick Video.
Preview Captured Video.
Get path of picked image or video (for all versions).
Integrating Social Platforms.
Adding Ripple Effect.
Check Website url is valid or not.
Get all contacts that have email address.
Get bitmap of view (ScreenShot).
Pick Color from ImageView.
Get File Size.
Download File.

You can download the demo apk: https://github.com/CommonUtils/android/blob/master/UtilsDemo.apk

Refer UtilsExampleExplanation.pdf for learning how to use methods of this SDK. https://github.com/CommonUtils/android/blob/master/UtilsExampleExplanation.pdf

=======

LICENSE

The MIT License (MIT)

Copyright (c) 2015 Multidots Solutions Pvt Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Common Utils library is developed to reduce efforts to achieve common features of the android apps. While developing the apps, we realized that we’re coding for many common features in all the apps. For e.g. check the network’s availability, using shared preferences, parsing, etc. And like us, many other android developers might be doing the sam…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 94.1%
  • HTML 5.9%