Notify Me

General

Category
Free
Tag
Job Schedulers
License
N/A
Registered
Jun 24, 2018
Favorites
3
Link
https://github.com/jakebonk/NotifyMe
See also
cwac-wakeful
Boogaloo
android-JobScheduler
Batchman
Trigger

Additional

Language
Java
Version
1.0.0 (Jun 20, 2018)
Created
Jun 20, 2018
Updated
Jun 20, 2018
Owner
Jacob Bonk (jakebonk)
Contributor
Jacob Bonk (jakebonk)
1
Activity
Badge
Generate
Download
Source code
APK file

Show card

NotifyMe

A Android Library for simple notifications. Very easily set a delay or time when you want the notification to popup. Notification will popup through system reboots.

Download library with Jitpack.io

Add this to your build.gradle file for your app.

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

Add this to your dependencies in build.gradle for your project.

 dependencies {
         implementation 'com.github.jakebonk:NotifyMe:1.0.0'
 }

Example

Create a NotifyMe Builder Object

NotifyMe.Builder notifyMe = new NotifyMe.Builder(getApplicationContext());

Then set the fields you want.

  
  notifyMe.title(String title);
  notifyMe.content(String content);
  notifyMe.color(Int red,Int green,Int blue,Int alpha);//Color of notification header
  notifyMe.led_color(Int red,Int green,Int blue,Int alpha);//Color of LED when notification pops up
  notifyMe.time(Calendar time);//The time to popup notification
  notifyMe.delay(Int delay);//Delay in ms
  notifyMe.large_icon(Int resource);
  notifyMe.addAction(Intent intent,String text); //The action will call the intent when pressed
  

After all the fields that you want are set just call build()!

  notifyMe.build();