Android
Set up Pulses in your Android application
Install the SDK
To install the SDK, add the following dependency to your build.gradle
file:
Initialize the SDK
Connect to Pusher
Subscribe to a channel
Bind to an event
Publish an event from the server
To publish an event from the server, you can use the trigger
method. Run the following command:
If there isn’t an example in a language that you are familiar with then refer to Pusher’s Channels server libraries page to check if anyone has created one in your language.