[Online Courses, Schools, and Other External Resour] PMoonPlus:
Hi guys i'm done app and wont to help you to create table app

package sl.luga.week;

import android.content.ContentValues;

import android.content.Context;

import android.database.Cursor;

import android.database.sqlite.SQLiteDatabase;

import android.database.sqlite.SQLiteDatabase.CursorFactory;

import android.database.sqlite.SQLiteOpenHelper;

import android.util.Log;

public class DB

{

public static final String COLUMN_ID = "_id";

private static final String DB_CREATE = "create table time(_id integer primary key autoincrement, time text);";

private static final String DB_CREATE3 = "create table works(_id integer primary key, weedk);";

private static final String DB_CREATE4 = "create table numd(_id text);";

private static final String DB_NAME = "less";

private static final int DB_VERSION = 4;

public DB(Context paramContext)

{

this.mCtx = paramContext;

}

public void addRecPr(String paramString)

{

ContentValues localContentValues = new ContentValues();

localContentValues.put("predm", paramString);

this.mDB.insert("predmets", null, localContentValues);

}

public void addRecUr(String paramString)

{

ContentValues localContentValues = new ContentValues();

localContentValues.put("week", paramString);

this.mDB.insert("week", null, localContentValues);

}

public void addRecVr(String paramString)

{

ContentValues localContentValues = new ContentValues();

localContentValues.put("time", paramString);

this.mDB.insert("vtime", null, localContentValues);

}

public void changeRecPr(long paramLong, String paramString)

{

ContentValues localContentValues = new ContentValues();

localContentValues.put("res", paramString);

this.mDB.update("time", localContentValues, "_id = " + paramLong, null);

}

public void changeRecUr(int paramInt, String paramString)

{

ContentValues localContentValues = new ContentValues();

localContentValues.put("wsd", paramString);

this.mDB.update("wsd", localContentValues, "_id = " + paramInt, null);

}

public void changeRecVr(long paramLong, String paramString)

{

ContentValues localContentValues = new ContentValues();

localContentValues.put("time", paramString);

this.mDB.update("time", localContentValues, "_id = " + paramLong, null);

}

public void close()

{

if (this.mDBHelper != null) {

this.mDBHelper.close();

}

}

public void delete(int paramInt)

{

this.mDB.delete("predmets", "_id = " + paramInt, null);

}

public boolean deleteQuote(long paramLong)

{

if (this.mDB.delete(days", "_id=" + paramLong, null) > 0) {}

for (boolean bool = true;; bool = false) {

return bool;

}

}

public Cursor getAllData()

{

SQLiteDatabase localSQLiteDatabase = this.mDB;

String[] arrayOfString = new String[2];

arrayOfString[0] = "_id";

arrayOfString[1] = "days";

return localSQLiteDatabase.query("days", arrayOfString, null, null, null, null, null);

}

public Cursor getAllDataPr(long paramLong)

{

SQLiteDatabase localSQLiteDatabase = this.mDB;

String[] arrayOfString = new String[2];

}

public Cursor getCi(String paramString)

{

SQLiteDatabase localSQLiteDatabase = this.mDB;

String[] arrayOfString = new String[1];

arrayOfString[0] = paramString;

return localSQLiteDatabase.query("trays", arrayOfString, null, null, null, null, null);

}

public Cursor getUr(String paramString)

{

SQLiteDatabase localSQLiteDatabase = this.mDB;

String[] arrayOfString = new String[1];

arrayOfString[0] = paramString;

return localSQLiteDatabase.query("days", arrayOfString, null, null, null, null, null);

}

public Cursor getVr(String paramString)

{

SQLiteDatabase localSQLiteDatabase = this.mDB;

String[] arrayOfString = new String[1];

arrayOfString[0] = paramString;

return localSQLiteDatabase.query("weeks", arrayOfString, null, null, null, null, null);

}

public Cursor getVrNaKo(String paramString, long paramLong1, long paramLong2)

{

SQLiteDatabase localSQLiteDatabase = this.mDB;

String[] arrayOfString = new String[1];

arrayOfString[0] = paramString;

return localSQLiteDatabase.query("time", arrayOfString, "_id=" + paramLong1 + " OR " + "_id" + "=" + paramLong2, null, null, null, null);

}

public void open()

{

this.mDBHelper = new DBHelper(this.mCtx, "wsd", null, 4);

this.mDB = this.mDBHelper.getWritableDatabase();

}

private class DBHelper

extends SQLiteOpenHelper

{

public DBHelper(Context paramContext, String paramString, SQLiteDatabase.CursorFactory paramCursorFactory, int paramInt)

{

super(paramString, paramCursorFactory, paramInt);

}

public void onCreate(SQLiteDatabase paramSQLiteDatabase)

{

paramSQLiteDatabase.execSQL("create table days(_id integer primary key autoincrement, days text);");

paramSQLiteDatabase.execSQL("create table time(_id integer primary key, time text);");

paramSQLiteDatabase.execSQL("create table wsd(_id integer primary key, wsd text);");

paramSQLiteDatabase.execSQL("create table clam(_id text);");

ContentValues localContentValues1 = new ContentValues();

int i = 10;

ContentValues localContentValues2;

if (i >= 70) {

localContentValues2 = new ContentValues();

}

ContentValues localContentValues3;

int k;

for (int j = 1;; j++)

{

if (j >= 9)

{

localContentValues3 = new ContentValues();

k = 10;

if (k < 90) {

break label226;

}

return;

for (int i1 = 1;; i1++)

{

if (i1 >= 9)

{

i += 10;

break;

}

int i2 = i + i1;

localContentValues1.put("_id", Integer.valueOf(i2));

localContentValues1.put("wsd", "");

paramSQLiteDatabase.insert("wsd", null, localContentValues1);

Log.d("myLogs", "��������� � wsd " + i2);

}

}

localContentValues2.put("_id", j + " ����");

Its r class eclipse:fingers-crossed::good: