ProjectBasics

General

Category
Free
Tag
Utils
License
N/A
Min SDK
14 (Android 4.0–4.0.2 Ice Cream Sandwich)
Registered
Dec 26, 2017
Favorites
3
Link
https://github.com/OsmAndroid/ProjectBasics
See also
Android-IFx
Flaggr
AQuery
LiteUtilities
KissTools

Additional

Language
Java
Version
1.3.0 (Dec 30, 2017)
Created
Dec 22, 2017
Updated
Feb 7, 2018
Owner
Osman (OsmAndroid)
Contributor
Osman (OsmAndroid)
1
Activity
Badge
Generate
Download
Source code
APK file

Show card

[ ]

ProjectBasics

  • Min SDK 14 (Android 4.0.1 Ice cream sandwich)
  • Written in Java
  • This library performs basic required tasks like Rate App, Share App,etc with a single line of code.

Installation

Add this into your root build.gradle file:

allprojects {
  repositories {
   ...
   maven { url 'https://jitpack.io' }
  }
 }

Add the dependency to your module build.gradle:

dependencies {
         compile 'com.github.OsmAndroid:ProjectBasics:1.3.0'
 }

Usage

ProjectBasics library performs simple tasks which are required in almost every app like:

  * Rate App, Share App, More Apps, Feedback, Follow on Facebook,Copy Text to Clipboard,etc.

The tasks are simple and can be achieved in a single line of code.

  • For example, to launch Play Store to rate your app or any other app:
Task.RateApp(context, "PackageName");
  • More Apps(To show all apps under your Developer account):
Task.MoreApps(context,"DeveloperName");
  • Feedback (Take feedback via mail)
Task.Feedback(context,"your mail id","Subject");
  • Follow on Facebook (Launch your Facebook page in app if available or in browser to like your page)
Task.FollowOnFb(context,"PageId","Page link");
  • Share App

  Task.ShareApp(context,"PackageName","Subject","Description");  

 * Copy Text to Clipboard      Task.CopyText(context,"text to be copied as a string");  

  • Hide Soft Input Keyboard      Task.HideSoftKeyBoard(Activity context);