Code example for Messenger

Methods: getBinder

	public IBinder onBind(Intent intent) {
		Log.d(LOG_TAG, "ServicePlatformPubsubRemote onBind");
		return inMessenger.getBinder();
	public void onDestroy() { 
		Log.i(LOG_TAG, "ServicePlatformPubsubRemote terminating");
	 * Get a Android Comms helper object suitably configured. 
	 * Assumes that user has already configured and logged into the XMPP server. 
	 * @return ClientCommunicationMgr 
	private PubsubCommsMgr getAndroidCommsMgr() { 
Connect your IDE to all the code out there  Get Codota for Java