code: public void register(final Context context) {
          final IntentFilter intentFilter = new IntentFilter();
          intentFilter.addAction(UploadService.getActionBroadcast());
          context.registerReceiver(this, intentFilter);
      }
docs: Register this upload receiver.<br>
  If you use this receiver in an {@link android.app.Activity}, you have to call this method inside
  {@link android.app.Activity#onResume()}, after {@code super.onResume();}.<br>
  If you use it in a {@link android.app.Service}, you have to
  call this method inside {@link android.app.Service#onCreate()}, after {@code super.onCreate();}.
  
  @param context context in which to register this receiver