public void createPOIs(ArrayList<POI> pois, long track_id) {
   SQLiteDatabase database = this.getWritableDatabase();
   ContentValues values = new ContentValues();
   for (POI poi : pois) {
     values.put("order_id", poi.order_id);
     values.put("latitude", poi.getLatitude());
     values.put("longitude", poi.getLongitude());
     values.put("altitude", poi.getAltitude());
     values.put("time", poi.getTime());
     values.put("accuracy", poi.getAccuracy());
     values.put("id_track", track_id);
     database.insert(TABLE_POINT, null, values);
   }
 }
  public long createPOI(POI poi, long track_id) {
    SQLiteDatabase database = this.getWritableDatabase();
    ContentValues values = new ContentValues();

    values.put("order_id", poi.order_id);
    values.put("latitude", poi.getLatitude());
    values.put("longitude", poi.getLongitude());
    values.put("altitude", poi.getAltitude());
    values.put("time", poi.getTime());
    values.put("accuracy", poi.getAccuracy());
    values.put("id_track", track_id);

    long POI_id = database.insert(TABLE_POINT, null, values);
    return POI_id;
  }