Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import android.content.ContentValues;

import android.database.sqlite.SQLiteDatabase;

public class Main {
    private static void insertToSUJamesWeekends(SQLiteDatabase db, String startStopName, String toStopName,
            int timeGap) {
        ContentValues routevalues = new ContentValues();
        routevalues.put("START_STOP_JAMES_TO_SU", startStopName);
        routevalues.put("TO_STOP", toStopName);
        routevalues.put("TIME_GAP", timeGap);
        db.insert("TOSU_JAMES_WEEKEND", null, routevalues);

    }
}