@EService public class ServiceWithReceiver extends Service { @Receiver(actions = "org.androidannotations.ACTION_1") protected void onAction1() { } @Override public IBinder onBind(Intent intent) { return null; } }
@EService public class MySimpleIntentService extends IntentService {
@EService public class MyService extends IntentService {
@EService public class MyService extends IntentService { @OrmLiteDao(helper = DatabaseHelper.class) UserDao userDao; @OrmLiteDao(helper = DatabaseHelper.class) Dao<Car, Long> carDao; @OrmLiteDao(helper = DatabaseHelper.class) RuntimeExceptionDao<Car, Long> runtimeExceptionDao; public MyService() { super(MyService.class.getSimpleName()); } @Override protected void onHandleIntent(Intent intent) { } }
@EService public class AuthenticatorService extends Service { @Bean MovirtAuthenticator authenticator; @Override public IBinder onBind(Intent intent) { return authenticator.getIBinder(); } }
@EService public class SyncService extends Service { @Bean SyncAdapter syncAdapter; @Override public void onCreate() { super.onCreate(); Log.d("SyncService", "Creating sync service"); } @Override public IBinder onBind(Intent intent) { return syncAdapter.getSyncAdapterBinder(); } }
@EService public class NotificationService extends Service{ public static final String ACTION = "action";
@EService public class gpsMonitor extends Service implements LocationListener, SharedPreferences.OnSharedPreferenceChangeListener {
@EService public class BackendService extends LocationBackendService implements WifiReceivedCallback { private static final String TAG = "WiFiBackendSrv";
@EService public class SelfUpdateService extends IntentService
@EService public class AutomaticInstallerService extends IntentService
@EService public class UpdaterService extends IntentService