This library aims to help making notifications like popups easy.
It has only 2 classes at the moment and unfortunately no developer documentation.
- Support for "danger", "warning" and "success" notifications
- Support for all the 4 corners of the screen (relative to any system tray)
- "fading" animation only :(
- Automatic killing of the notifications
- Automatically stacking notifications to keep a nice and tidy look.
- Automatic reordering of what is showing when a notification is killed.
- (coming up) beeping and custom sound plays
To use this you need to follow the following steps:
-
(advanced) git clone https://github.com/Albocoder/JNotify.git
-
(advanced) cd JNotify && mvn install
-
(advanced) now the jar file will be in the target folder
-
(easy) Download and add JNotify-1.0.2.jar in your build path.
-
To use in your code just: import com.github.albocoder.jnotify.*;
-
Create NotificationManager(String position,String animation,int xpadding,int ypadding) instance
-
Call notify(String type,String title, String msg,String animation,int duration) or notifyNoAutokill(String type,String title, String msg,String animation) method of NotificationManager
Open in the Central Sonatype repository
Latest release version: 1.0.2
Javadoc in jar file in sonatype repository
This is open source initiative. Please contribute to this repository by adding new features and refactoring the code. :)
If you can't contribute with code please consider dropping a star. It really helps a lot :)
Use at your own will just please link this repository at the code comments and/or any place you mention used libraries.
Hey dude! Help me out for a couple of 🍻!