TrackLayer

public class TrackLayer extends Layer

Fields

DB_CREATE_TRACKPOINTS

static final String DB_CREATE_TRACKPOINTS

DB_CREATE_TRACKS

static final String DB_CREATE_TRACKS

FIELD_ACCURACY

public static final String FIELD_ACCURACY

FIELD_COLOR

public static final String FIELD_COLOR

FIELD_ELE

public static final String FIELD_ELE

FIELD_END

public static final String FIELD_END

FIELD_FIX

public static final String FIELD_FIX

FIELD_ID

public static final String FIELD_ID

FIELD_LAT

public static final String FIELD_LAT

FIELD_LON

public static final String FIELD_LON

FIELD_NAME

public static final String FIELD_NAME

FIELD_SAT

public static final String FIELD_SAT

FIELD_SENT

public static final String FIELD_SENT

FIELD_SESSION

public static final String FIELD_SESSION

FIELD_SPEED

public static final String FIELD_SPEED

FIELD_START

public static final String FIELD_START

FIELD_TIMESTAMP

public static final String FIELD_TIMESTAMP

FIELD_VISIBLE

public static final String FIELD_VISIBLE

TABLE_TRACKPOINTS

public static final String TABLE_TRACKPOINTS

TABLE_TRACKS

public static final String TABLE_TRACKS

mAuthority

String mAuthority

mColor

protected static int mColor

mCursor

protected Cursor mCursor

mSQLiteDatabase

SQLiteDatabase mSQLiteDatabase

Constructors

TrackLayer

public TrackLayer(Context context, File path)

Methods

delete

public int delete(Uri uri, String selection, String[] selectionArgs)

getColor

public int getColor(long id)

getColor

public static int getColor(Context context, Uri tracksUri, long id)

getName

public String getName()

getTracks

public Map<Integer, GeoLineString> getTracks()

getType

public String getType(Uri uri)

insert

public Uri insert(Uri uri, ContentValues values)

query

public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, String limit)

reloadTracks

public void reloadTracks(int mode)

update

public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs)