Skip to content
Easy to use Utility library for Android
Branch: dev
Clone or download
kartikarora sample app started
Intents demo done
Latest commit 9539f83 Dec 23, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper Its 0.2.1 timeeee Sep 21, 2017
library sample app started Dec 23, 2017
sample sample app started Dec 23, 2017
.gitignore Next release Oct 5, 2016 MIT License Mar 30, 2016 Update readme Sep 21, 2017
build.gradle sample app started Dec 23, 2017
gradlew Fix 0.2.0 realease on jcenter Jun 25, 2017
gradlew.bat 0.1.0 release Jun 17, 2015

Potato Library

Easy to use Utility library for Android.

Download Android Arsenal



To the module's build.gradle file, add

dependencies {
    compile 'me.kartikarora.potato:potato:0.2.1'

Call the library using Potato.potate(context) and you will get following methods to use:

  • Utils() - Utility methods to check Internet connection, methods on Bluetooth connection, methods for WiFi, get Battery level etc.
  • Notifications() - Create a notification with or without sound
  • Preferences() - Store and Retrieve data to/from SharedPreferences easily
  • Intents() - Create Intents for email, call, sms and browser with ease


The following permissions need to be added to AndroidManifest.xml file of your project

For checking internet connection

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />

For placing a call

<uses-permission android:name="android.permission.CALL_PHONE" />

For sending SMS

<uses-permission android:name="android.permission.SEND_SMS" />

For bluetooth tools

<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />

For WiFi tools

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />

For Mobile network tools

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />

For GPS tool

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

For reading external storage

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

Please make sure to request appropriate runtime permisions on Android Marshmallow (SDK 23) and above

Further Development

Plan to add Android Wear support.


Feel free to fork the repo, add new methods, send in pull requests and add new issues. There's no license right now.

Thanks to

You can’t perform that action at this time.