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 insertStopNames(SQLiteDatabase db, String stopNames) {
        ContentValues stopNameValues = new ContentValues();
        stopNameValues.put("STOP_NAMES", stopNames);
        db.insert("STOPS_LIST", null, stopNameValues);

    }
}