Hi , I want to make a simple android app in which I can subscribe to a new channel and I can publish message on that channel. I have written code on button's onClick in my MainActivity. That code includes new channel subscription. But I am not getting any output on button onClick. I am chacking my logcat continuously , but there is no affection in log cat.
I am using these 5 permissions too
INTERNET , ACCESSNETWORKSTATE, ACCESSWIFISTATE, com.google.android.c2dm.permission.RECEIVE, WAKE_LOCK
and I've included following libraries too,