I create simple \"ParseStarterProject\" as default of parse.com project. It works. I send notification from one device to other device successfully via setchann
Create a class that extends BroadcastReceiver
, here we call it MyCustomReceiver
. Declare the usage of this receiver in your manifest:
I'm not sure what you mean by you have problems with "MyCustomReceiver class on the main activity", in your comment to @kingspeech's answer.
In the worst case, you can create your own Receiver which extends the ParseBroadcastReceiver (and reference the extended class in the manifest). Then it should work by default, but you'll be able to hook into onReceive(Context, Intent)