public class DBtrackingPoints
extends java.lang.Object
Constructor and Description |
---|
DBtrackingPoints(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
long |
addLocation(android.location.Location location)
insert a text report item to the location database table
|
void |
close()
close any database object
|
int |
deleteAllRows()
delete all rows from database
|
android.database.Cursor |
getCursor() |
DBhelper |
getDbHelper() |
com.jjoe64.graphview.series.DataPoint[][] |
getGraphSeries()
DataPoint (double x, double y) x = time in hours, y = increased distance in km
DataPoint (double x, double y) x = time, y = speed during time interval
|
int |
getRowCount() |
void |
open()
open database for read and write
|
public void open()
public void close()
public int deleteAllRows()
public long addLocation(android.location.Location location)
location
- public int getRowCount()
public DBhelper getDbHelper()
public android.database.Cursor getCursor()
public com.jjoe64.graphview.series.DataPoint[][] getGraphSeries()