Replace endlessjabbersdk jar with source

Pulled from https://github.com/celeronpm/YappySDK at commit
07f41007613b98ddc8765984f6e7189e30a63a75
This commit is contained in:
Daniel Martí
2015-08-19 21:26:57 -07:00
parent 744fc050e7
commit 4f840b5746
8 changed files with 447 additions and 1 deletions
@@ -0,0 +1,22 @@
package com.mariussoft.endlessjabber.sdk;
import android.content.Context;
import android.content.Intent;
public class EndlessJabberReceiver extends WakefulBroadcastReceiver {
public static final String EndlessJabber_INTENT = "com.mariussoft.endlessjabber.action.extend";
@Override
public void onReceive(Context context, Intent intent) {
if (intent.getAction().equals(EndlessJabber_INTENT)) {
// This is the Intent to deliver to our service.
Intent service = new Intent(context, EndlessJabberWakefulService.class);
service.putExtras(intent.getExtras());
startWakefulService(context, service);
}
}
}