LayerFillService

public class LayerFillService extends Service implements IProgressor

Service for filling layers with data

Fields

ACTION_ADD_TASK

public static final String ACTION_ADD_TASK

ACTION_SHOW

public static final String ACTION_SHOW

ACTION_STOP

public static final String ACTION_STOP

ACTION_UPDATE

public static final String ACTION_UPDATE

BUNDLE_MSG_KEY

protected static final String BUNDLE_MSG_KEY

FILL_NOTIFICATION_ID

protected static final int FILL_NOTIFICATION_ID

KEY_ACCOUNT

public static final String KEY_ACCOUNT

KEY_CANCELLED

public static final String KEY_CANCELLED

KEY_DELETE_SRC_FILE

public static final String KEY_DELETE_SRC_FILE

KEY_INPUT_TYPE

public static final String KEY_INPUT_TYPE

KEY_LAYER_GROUP_ID

public static final String KEY_LAYER_GROUP_ID

KEY_LAYER_PATH

public static final String KEY_LAYER_PATH

KEY_LOOKUP_ID

public static final String KEY_LOOKUP_ID

KEY_MAX_ZOOM

public static final String KEY_MAX_ZOOM

KEY_MESSAGE

public static final String KEY_MESSAGE

KEY_MIN_ZOOM

public static final String KEY_MIN_ZOOM

KEY_NAME

public static final String KEY_NAME

KEY_PATH

public static final String KEY_PATH

KEY_PROGRESS

public static final String KEY_PROGRESS

KEY_REMOTE_ID

public static final String KEY_REMOTE_ID

KEY_RESULT

public static final String KEY_RESULT

KEY_STATUS

public static final String KEY_STATUS

KEY_SYNC

public static final String KEY_SYNC

KEY_TITLE

public static final String KEY_TITLE

KEY_TMS_CACHE

public static final String KEY_TMS_CACHE

KEY_TMS_TYPE

public static final String KEY_TMS_TYPE

KEY_TOTAL

public static final String KEY_TOTAL

KEY_URI

public static final String KEY_URI

KEY_VISIBLE

public static final String KEY_VISIBLE

NGFP_FILE_DATA

protected static final String NGFP_FILE_DATA

NGFP_FILE_META

protected static final String NGFP_FILE_META

NGFP_META

public static final String NGFP_META

NGW_LAYER

public static final int NGW_LAYER

STATUS_SHOW

public static final short STATUS_SHOW

STATUS_START

public static final short STATUS_START

STATUS_STOP

public static final short STATUS_STOP

STATUS_UPDATE

public static final short STATUS_UPDATE

TMS_LAYER

public static final int TMS_LAYER

VECTOR_LAYER

public static final int VECTOR_LAYER

VECTOR_LAYER_WITH_FORM

public static final int VECTOR_LAYER_WITH_FORM

mBuilder

protected NotificationCompat.Builder mBuilder

mHandler

protected Handler mHandler

mIndeterminate

protected boolean mIndeterminate

mIsCanceled

protected boolean mIsCanceled

mIsRunning

protected boolean mIsRunning

mLastUpdate

protected long mLastUpdate

mLayerGroup

protected LayerGroup mLayerGroup

mNotifyManager

protected NotificationManager mNotifyManager

mNotifyTitle

protected String mNotifyTitle

mProgressIntent

protected Intent mProgressIntent

mProgressMax

protected int mProgressMax

mProgressMessage

protected String mProgressMessage

mProgressValue

protected int mProgressValue

mQueue

protected List<LayerFillTask> mQueue

Methods

isCanceled

public boolean isCanceled()

onBind

public IBinder onBind(Intent intent)

onCreate

public void onCreate()

onStartCommand

public int onStartCommand(Intent intent, int flags, int startId)

setIndeterminate

public void setIndeterminate(boolean indeterminate)

setMax

public void setMax(int maxValue)

setMessage

public void setMessage(String message)

setValue

public void setValue(int value)

startNextTask

protected void startNextTask()

updateNotify

protected void updateNotify()