NOISHIXZEN SUBSCRIBE
I have been noticed many of you unsubscribed my channel that's why in this tutorial I have provided only an application there you will find codes and you can build by yourself.
This is SendNotification Project without firebase or any third-party plugin like One signal.
Now you can send notification easily using this code.
Many of you didn't understand why it won't work becuz you didn't watch full video make sure watch complete video.
Requirements:-
Sketchware Pro or Sketchware Original
Codeware App for extra Libs
Extra Codes
Tutorial:-
First open Sketchware and create a Project>
Now Add one linear as a linear 1 then add 4 edit texts add one button
//codeWare
//NoishiXzen
//setsmallicon as a default icon
com.application.isradeleon.notify.Notify.create(getApplicationContext())
.setTitle(str)
.setContent(str2)
.setSmallIcon(R.drawable.app_icon)
.setColor(R.color.colorPrimary)
.setLargeIcon(str5)
.setBigPicture(str6)
.show();
//Notes: here change the string name only and for color you can use color palette.
Here is the none modified code:-
//codeWare
//NoishiXzen
com.application.isradeleon.notify.Notify.create(getApplicationContext())
.setTitle("Jill Zhao")
.setContent("Hi! So I meet you today?")
.setSmallIcon(R.drawable.app_icon)
.setColor(R.color.colorPrimary)
.setLargeIcon("https://images.pexels.com/photos/139829/pexels-photo-139829.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=150&w=440")
.circleLargeIcon()
.setBigPicture("https://images.pexels.com/photos/1058683/pexels-photo-1058683.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940")
.show();
Now, install extra Libs for that you need to install Codeware apk
Apk link:- Codeware
Installation:
First open Codeware
Then From the homepage
Tap on "Notify"
Download
and Select the project.
It added now open your Sketchware Project and Run the apk.
Note:- Make sure turn on App Compact.
App: TestApp
Project: NotificationSender
For many requests I have uploaded the project file but guys please stay don't un-subscribe my channel.
.
.
Thanks for watching.
Subscribe my channel for new contents.
Does receiver get notification when app is closed?
ReplyDeleteno because it doesnt have background process permission for that you have to install specific library
Delete