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 insertSounds(SQLiteDatabase db, String name, String quote, int sound_id_1) {
        ContentValues soundValues = new ContentValues();
        soundValues.put("pNAME", name);
        soundValues.put("QUOTE", quote);
        soundValues.put("SOUND_ID_1", sound_id_1);
        db.insert("SOUNDS", null, soundValues);
    }
}