This is the javocsoft-toolbox ported to Android Studio
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
gradle/wrapper
toolbox
.gitignore
JavocsoftToolboxAS.iml
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

javocsoft-toolbox

It is an Android commons utility library. For HowTo and usage see the WiKi.

This library contains a set of useful functions, classes and modules ready to use for Android devices with API Level 14+.

This project is a library for Android. While i was making my own projects i always tried to reuse the written code so i created this library. It was very useful so i decided to share it with all. The idea beyond is to make easier programming for Android :)

Contains a set of utility classes, the most important called "ToolBox", with a set of quite large collection of different functions ready to be used just by including this library in your project.

We have the ToolBox.java main class but also there are other utility classes and modules:

  • Encoding utilities that i use (B64)
  • Class "MediaScannerNotifier.java" that allows to add easily a resource to the Android content scanner.
  • ZIP. A class called "Unzipper.java" allowing us to work with ZIP files in a easy way.
  • SMS. The class "SMSObserver.java" to be able to be aware of sent/received SMS in the mobile having the possibility to do something when sending/receiving a SMS.
  • SMS. The class "CMTShortNumberInformation.java" that allows to recognize if a short number is one of the CMT recognized additional tarification number (like SMS Premium) having the option to know the price of the message.
  • SMS. The class "CMTInfoHelper.java" that allows to download automatically the CMT short-numbers information. This will give you the possibility of knowing the owner company of a given short-number.
  • HTTP Operations. The class "HttpOperations.java" that allows to make HTTP POST/GET request easily.
  • Facebook Login, Share (SDK v2.1) helper classes to integrate Facebook Login easily in your apps.
  • Google Play Services. A Google Cloud Messaging (GCM) module (obsolete, use Firebase module instead). very easy and fast to use and integrate in your project to allow receiving/sending push notifications from your application.
  • Google Play Services. An Ads module for AdMob. Easy to integrate in your project. Capable of simple banner ads, interstitial and/or Video Rewarded Ads.
  • Google Play Services. Google Analytics v4 helper classes to have working the tracking of your app. Also with a Custom Campaign Receiver to be able to measure your ads campaigns (allowing also getting the campaign info giving the opportunity to do something when is received).
  • Firebase Analytics Module. For easy usage of the Firebase most common Analytics used events.
  • SQLite. Now library allows to use easily SQLite databases in your applications.
  • Google Play Services. Google Drive. Now library allows to use in a really easy way the Drive to store your application data in the cloud.
  • Notifications creation using always the last API but maintaining retro-compatibility.
  • Firebase Cloud Messaging (FCM) Module. This allows to integrate Firebase Cloud Messaging (Push Notifications) in your project in a easy way. You should migrate from GCM to FCM if you still are using GCM.
  • A GsonProcessor. This class allows to work with JSON.
  • The HTMLStyledTextView. A class that allows to show HTML content in a textview.
  • An animation factory class set.
  • An MessengerService class. This, in conjuction with "MessengerIncomingHandler.java" class, will allow to have a messenger service very easily.
  • A class to connect to other applications messenger services. See Mezzenger.java class.
  • The PRNGFixes class. For Android Jelly Bean or minor versions. Applications which use Android's Java Cryptography Architecture (JCA) or the OpenSSL PRNG for key generation, signing, or random number generation may not receive cryptographically strong values on Android devices due to improper initialization of the underlying PRNG. Applications that directly invoke the system-provided OpenSSL PRNG without explicit initialization on Android are also affected.
  • Methods to handle new Android M (v6, API level 23) permissions usage approach allowing to adapt the applications to new permissions system in Android.
  • A ready-to-use localization service. This makes very easy to have a service running in background watching for any location or GPS status changes, see the Wiki :)
  • Geofencing supported.
  • Job Scheduling helpers (Job Services), prepared for Android Oreo new limitations in background tasks. JobServiceSchedulerHelper and FirebaseJobDispatcherHelper.
  • Base JobIntentService class. To make fully compatible in all Android versions your background services.
  • Fingerprint helper class. To be able to authenticate using your fingerprint or to encrypt/decrypt some data with your fingerprint.
  • Much more...

This library is under development because i use it for all my projects so i am all time adding new features :).

Greetings and i hope it will save time in your projects as it does for me.

Project Integration

This is an Android Studio Library project. To integrate in your project, just add a new repository to your project build.gradle:

allprojects {
    repositories {
        jcenter()
        mavenCentral()
        //JavocSoft Repository
        maven {
           url "https://dl.bintray.com/javocsoft/maven"
        }
    }
}

and in your application build.gradle file:

compile 'es.javocsoft:toolbox:1.2.3'

You can also clone the project "JavocsoftToolboxAS" from GitHub (https://github.com/javocsoft/JavocsoftToolboxAS.git).

LICENSE

Copyright 2010-2017 JavocSoft.

JavocSoft Android Toolbox is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

JavocSoft Android Toolbox is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses/.