Back to project page trust.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCT...
If you think the Android project trust listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package eu.thedarken.trust; /* ww w . j ava2s. com*/ import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class TrustAutostart extends BroadcastReceiver { private static final String TAG = "TR:Autostart"; public static final String KEY_AUTOSTARTSTRING = "AUTOSTART"; @Override public void onReceive(Context context, Intent intent) { Log.d(TAG, "Trust autostart called"); Intent svc = new Intent(context, TrustService.class); svc.putExtra(KEY_AUTOSTARTSTRING, true); context.startService(svc); } }