android - send push notifications to a specific channel -


assuming subscribed more 1 channel, how can send message specific channel?

i used lines:

push.setmessage(msg); push.sendinbackground(); 

i tried use line push.setchannel(specific channel); didn't work....

but it's not enough since sends message channels.

you have set channel push to.

  public void pushdata(string channel, string message) {     parsepush push = new parsepush();     push.setchannel(channel);     push.setmessage(message);     push.sendinbackground(); } 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -