@@ -0,0 +1,765 @@
+package org.opendroidphp.app.services;%0A%0Aimport android.content.BroadcastReceiver;%0Aimport android.content.Context;%0Aimport android.content.Intent;%0Aimport android.content.SharedPreferences;%0Aimport android.preference.PreferenceManager;%0A%0Apublic class StartServiceAtBootReceiver extends BroadcastReceiver %7B%0A    @Override%0A    public void onReceive(Context context, Intent intent) %7B%0A%0A        if (intent.getAction().equals(Intent.ACTION_BOOT_COMPLETED)) %7B%0A%0A            SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context);%0A%0A            if (preferences.getBoolean(%22enable_server_on_boot%22, false)) %7B%0A%0A                Intent i = new Intent(context, ServerService.class);%0A                context.startService(i);%0A            %7D%0A        %7D%0A    %7D%0A%7D

Connect to web server when device (re)boot