Gota alternatives and similar packages
Based on the "Utility" category.
Alternatively, view Gota alternatives based on common mentions on social networks and blogs.
-
timber
A logger with a small, extensible API which provides utility on top of Android's normal Log class. -
ExpirableDiskLruCache
DISCONTINUED. Java implementation of a Disk-based LRU cache which specifically targets Android compatibility. -
Android-Templates-And-Utilities
Collection of source codes, utilities, templates and snippets for Android development. -
secure-preferences
DISCONTINUED. Android Shared preference wrapper than encrypts the values of Shared Preferences. It's not bullet proof security but rather a quick win for incrementally making your android app more secure. -
greenrobot-common
General purpose utilities and hash functions for Android and Java (aka java-common) -
Androl4b
A Virtual Machine For Assessing Android applications, Reverse Engineering and Malware Analysis -
vector-compat
A support library for VectorDrawable and AnimatedVectorDrawable classes introduced in Lollipop -
CastCompanionLibrary-android
DISCONTINUED. CastCompanionLibrary-android is a library project to enable developers integrate Cast capabilities into their applications faster and easier. -
motion
An Android library allowing images to exhibit a parallax effect that reacts to the device's tilt -
Colours
A beautiful set of predefined colors and a set of color methods to make your Android development life easier. -
Reservoir
DISCONTINUED. Android library to easily serialize and cache your objects to disk using key/value pairs.
SaaSHub - Software Alternatives and Reviews
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Gota or a related project?
Popular Comparisons
README
Gota Libary
With Android 6.0 Marshmallow, Google introduced a new permission model that allows users to better understand why an application may be requesting specific permissions. Rather than the user blindly accepting all permissions at install time, the user is now prompted to accept permissions as they become necessary during application use. As you probably already know, such a change requires efforts on the part of the application developer, this libary will help you to requset any number of permissions with a simple way.
You can report any issue on issues page. Note: If you speak Arabic, you can submit issues with Arabic language and I will check them. :)
Install
Maven
<dependency>
<groupId>net.alhazmy13.Gota</groupId>
<artifactId>libary</artifactId>
<version>1.4.1</version>
</dependency>
Gradle
dependencies {
compile 'net.alhazmy13.Gota:libary:1.4.1'
}
Usage
After adding the library, you just need to create an instance from Gota libary and passing an array of permissions.
new Gota.Builder(this)
.withPermissions(Manifest.permission.CAMERA,Manifest.permission.ACCESS_FINE_LOCATION,Manifest.permission.CALL_PHONE)
.requestId(1)
.setListener(this)
.check();
OnRequestPermissionsBack
In order to receive the response, you will need to implement the OnRequestPermissionsBack
interfaces.
@Override
public void onRequestBack(int requestId, @NonNull GotaResponse gotaResponse) {
if(gotaResponse.isGranted(Manifest.permission.CAMERA)) {
// Your Code
}
}
GotaResponse
methods
deniedPermissions()
- Return a list of denied permissions.
grantedPermissions()
- Return a list of grated permissions.
isGranted(String)
- To check if the permission was granted or not.
- To check if the permission was granted or not.
-
isDenied(String)
- To check if the permission was denied or not.
- To check if the permission was denied or not.
isAllGranted()
- return true if the all permission was grated
isAllDenied()
- return true if the all permission was denied
hasDeniedPermission()
- return true if there's any denied permission
isOnNeverAskAgain()
- return true if there's any permission that checked as never ask for permission again.
requestId
- Id or token that was submited with Gota request.