package org.torproject.android; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public class OnBootReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { Intent serviceIntent = new Intent(); serviceIntent.setAction("org.torproject.android.service.TorService"); context.startService(serviceIntent); } }