android-donations-lib alternatives and similar packages
Based on the "SDK" category.
Alternatively, view android-donations-lib alternatives based on common mentions on social networks and blogs.
-
card.io-Android-SDK
card.io provides fast, easy credit card scanning in mobile apps -
Android-ReactiveLocation
Small library that wraps Google Play Service API in brilliant RxJava Observables reducing boilerplate to minimum. -
aws-sdk-android
AWS SDK for Android. For more information, see our web site: -
PayPal-Android-SDK
Accept PayPal and credit cards in your Android app -
LandscapeVideoCamera
Powerful custom Android Camera with granular control over the video quality and filesize, restricting recordings to landscape only. -
android-checkout
Library for Android In-App Billing (Version 3+) -
Applozic-Android-Chat-Messaging-SDK
Official Android SDK for Applozic Real-time Chat & Messaging. Powerful client, offline support, and UI component libraries for awesome in-app chat features. -
countly-sdk-android
Countly Product Analytics Android SDK -
WeatherLib
Android Weather Library: android weather lib to develop weather based app fast and easily -
evernote-sdk-android
Evernote SDK for Android -
poly-picker
Android library project for providing multiple image selection from the device. -
ANE-Facebook
Air Native Extension (iOS and Android) for the Facebook mobile SDK -
socialauth-android
SocialAuth repository which contains socialauth android version and samples -
MultipleImageSelect
Android library that provides for multiple image selection. -
Office-365-SDK-for-Android
Microsoft Services SDKs for Android produced by MS Open Tech. -
Chat21 SDK Documentation
Android Chat SDK built on Firebase -
Clusterkraf
A clustering library for the Google Maps Android API v2 -
android-simpl3r
Amazon S3 multipart file upload for Android, made simple -
Android-ShareEverywhere
Share all the things! -
Horoscope-API
Horoscope API for android to get the horoscope according to the sunsign -
Smartlook Android SDK
Qualitative Analytics for Android Apps -
LinkedIn-SDK-Android
A lightweight android library to implement Login with LinkedIn in your Android app. -
Twiiter Helper
A helper library that helps making twitter integration easy
Appwrite - The open-source backend cloud platform
* 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 android-donations-lib or a related project?
README
Android Donations Lib
Android Donations Lib supports donations by Google Play Store, Flattr, PayPal, and Bitcoin.
It is used in projects, such as OpenKeychain, AdAway, FasterGPS, and NTPSync.
NOTE: Google mailed me to remove PayPal donation capability when publishing on Google Play! Thus, you should build "product flavors" defined by the example: One version with Google Play donation capability and one with Paypal, Flattr, and Bitcoin!
How to use
Add dependency to your build.gradle:
repositories { jcenter() } dependencies { compile 'org.sufficientlysecure:donations:2.6' }
Instantiate the fragment where you want to use it. Check out the example app for this: DonationsActivity.java
Don't forget to pass through results in
onActivityResult()
back to the fragment as shown in DonationsActivity.java.When publishing the app you must create managed in-app products for your app in the Google Play Store that matches the ones you defined in
private static final String[] GOOGLE_CATALOG
Build flavors
- Keep in mind that Google forbits other payment methods besides Google Play. Thus, in the example, two build flavors are used. Check out ExampleApp/build.gradle. The build script adds
DONATIONS_GOOGLE
to the auto generated BuildConfig.java. - Add
<uses-permission android:name="android.permission.INTERNET" />
to product flavors that use Flattr - Add
<uses-permission android:name="com.android.vending.BILLING" />
to product flavors that use Google Play In-app billing
Screenshots
Product Flavor: Google | Product Flavor: Fdroid |
---|---|
![]() |
![]() |
Translations
Help translating on Transifex.
Build Example App with Gradle
- Have Android SDK "tools", "platform-tools", and "build-tools" directories in your PATH (http://developer.android.com/sdk/index.html)
- Export ANDROID_HOME pointing to your Android SDK
- Download Android Support Repository, and Google Repository using Android SDK Manager
- Execute
./gradlew build
Add the lib to your project
Changelog
2.6
- Force Intent chooser for PayPal
- Min SDK 14
2.5
- Sync translations
2.4
- Fix NPE without billing service
2.3
- Publish to JCenter
2.2
- Updated build files
- Added bitcoin support (thanks to Oleg Vaskevich)
2.1
- Permissions are now defined per product flavor, they were removed from library's AndroidManifest
2.0
- Now uses Gradle Build System (http://tools.android.com/tech-docs/new-build-system)
- No xml configuration needed anymore!
- Fragment can be instantiated and used in any Activity.
- You can build "product flavors" defined by the ExampleApp: One version with Google Play Donation capability and one with Paypal and Flattr! (Google mailed me to remove PayPal donation capability when publishing on Google Play!)
Contribute
Fork Android Donations Lib and do a pull request. I will merge your changes back into the main project.