File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
AndroidBillingLibrary/src/net/robotmedia/billing/model Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ protected static final Transaction createTransaction(Cursor cursor) {
92
92
return purchase ;
93
93
}
94
94
95
- private class DatabaseHelper extends SQLiteOpenHelper {
95
+ public static class DatabaseHelper extends SQLiteOpenHelper {
96
96
public DatabaseHelper (Context context ) {
97
97
super (context , DATABASE_NAME , null , DATABASE_VERSION );
98
98
}
@@ -105,10 +105,10 @@ public void onCreate(SQLiteDatabase db) {
105
105
private void createTransactionsTable (SQLiteDatabase db ) {
106
106
db .execSQL ("CREATE TABLE " + TABLE_TRANSACTIONS + "(" +
107
107
COLUMN__ID + " TEXT PRIMARY KEY, " +
108
- COLUMN_PRODUCT_ID + " INTEGER , " +
108
+ COLUMN_PRODUCT_ID + " TEXT , " +
109
109
COLUMN_STATE + " TEXT, " +
110
110
COLUMN_PURCHASE_TIME + " TEXT, " +
111
- COLUMN_DEVELOPER_PAYLOAD + " INTEGER , " +
111
+ COLUMN_DEVELOPER_PAYLOAD + " TEXT , " +
112
112
COLUMN_SIGNED_DATA + " TEXT," +
113
113
COLUMN_SIGNATURE + " TEXT)" );
114
114
}
You can’t perform that action at this time.
0 commit comments