String apiKey = (args.length > 0) ? args[0] : "a87fe72c6f36272aa4b1";
channelName = (args.length > 1) ? args[1] : "presence-my-channel";
eventName = (args.length > 2) ? args[2] : "my-event";
HttpAuthorizer authorizer = new HttpAuthorizer(
"http://www.leggetter.co.uk/pusher/pusher-examples/php/authentication/src/presence_auth.php");
PusherOptions options = new PusherOptions().setAuthorizer(authorizer).setEncrypted(true);
pusher = new Pusher(apiKey, options);
pusher.connect(this);