Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parse: send push notifications from app

I am wondering how to send a parse push notification directly from my android app to evryone else using my app. Is it possible to do this?

like image 342
Aashir Avatar asked Nov 23 '13 06:11

Aashir


1 Answers

If you want to use Parse, Go to parse dashboard and there you will see the settings for push where you will find this client-side push setting.

ParsePush push = new ParsePush();
String message = "Client message" + Integer.toString(i++);
push.setChannel("Channel Name");
push.setMessage(message);
push.sendInBackground();
like image 70
KP_ Avatar answered Oct 24 '22 09:10

KP_