Using Pushbots For Android Push Notification
I am trying to use pushbot for android push notification. it works fine if when the application is running. But for instance if the application is not running and a push notificati
Solution 1:
Make sure
- you've copied PushBots.jar file into libraries folder of your android project.
- Extended the Application Class, and initialized PushBots in its onCreate method, check out steps 6,7 click here for more details
Here's a sample code:
import com.pushbots.push.Pushbots;
import android.app.Application;
publicclassMyApplicationextendsApplication {
@OverridepublicvoidonCreate() {
super.onCreate();
Pushbots.init(this, "","");
}
}
Post a Comment for "Using Pushbots For Android Push Notification"