forked from Genshin/SpreeWarehouseAndroid
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
must change settings menu and get settings saved in local sql
- Loading branch information
Showing
3 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" path="gen"/> | ||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | ||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" path="gen"/> | ||
<classpathentry kind="output" path="bin/classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package org.genshin.warehouse; | ||
|
||
import android.content.Context; | ||
import android.database.sqlite.SQLiteDatabase; | ||
import android.database.sqlite.SQLiteDatabase.CursorFactory; | ||
import android.database.sqlite.SQLiteOpenHelper; | ||
|
||
public class DataStoreHelper extends SQLiteOpenHelper { | ||
|
||
public static final String TABLE_WAREHOUSE_SETTINGS = "warehousesettings"; | ||
public static final String COLUMN_ID = "id"; | ||
public static final String COLUMN_SERVER = "server"; | ||
//public static final String COLUMN_ | ||
|
||
public DataStoreHelper(Context context, String name, CursorFactory factory, | ||
int version) { | ||
super(context, name, factory, version); | ||
// TODO Auto-generated constructor stub | ||
} | ||
|
||
@Override | ||
public void onCreate(SQLiteDatabase db) { | ||
// TODO Auto-generated method stub | ||
|
||
} | ||
|
||
@Override | ||
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { | ||
// TODO Auto-generated method stub | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters