This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* OUTER LOOP - THIS IS THE LOOP OF CLIENT | |
*/ | |
for (Auth0Client client : clientList) { | |
log("checking client:" + client.name); | |
/** | |
* INNER LOOP - FOR EACH CLIENT YOU ARE LOOPING THROUGHT THE LIST OF RULES | |
* AND CHECKING THE CLIENT NAME IN THE SCRIPTS FIELD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mqes; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.SharedPreferences; | |
import android.content.pm.PackageManager; | |
import android.preference.PreferenceManager; | |
import android.util.Log; | |
import org.eclipse.paho.client.mqttv3.IMqttActionListener; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mqes; | |
import android.app.AlarmManager; | |
import android.app.PendingIntent; | |
import android.app.Service; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.IntentFilter; | |
import android.content.SharedPreferences; |