Changeset View
Changeset View
Standalone View
Standalone View
src/it/reyboz/bustorino/data/OldDB.java
- This file was moved from src/it/reyboz/bustorino/middleware/OldDB.java.
Show All 10 Lines | BusTO ("backend" components) | ||||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
GNU General Public License for more details. | GNU General Public License for more details. | ||||
You should have received a copy of the GNU General Public License | You should have received a copy of the GNU General Public License | ||||
along with this program. If not, see <http://www.gnu.org/licenses/>. | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||||
*/ | */ | ||||
package it.reyboz.bustorino.middleware; | package it.reyboz.bustorino.data; | ||||
import android.content.Context; | import android.content.Context; | ||||
import android.database.sqlite.SQLiteDatabase; | import android.database.sqlite.SQLiteDatabase; | ||||
import android.database.sqlite.SQLiteOpenHelper; | import android.database.sqlite.SQLiteOpenHelper; | ||||
import java.io.File; | |||||
public class OldDB extends SQLiteOpenHelper { | public class OldDB extends SQLiteOpenHelper { | ||||
private static final String DATABASE_NAME_OLD = "bustorino.db"; | private static final String DATABASE_NAME_OLD = "bustorino.db"; | ||||
private int oldVersion = -1; | private int oldVersion = -1; | ||||
public OldDB(Context c) { | public OldDB(Context c) { | ||||
super(c, DATABASE_NAME_OLD, null, 1337); | super(c, DATABASE_NAME_OLD, null, 1337); | ||||
} | } | ||||
Show All 33 Lines |
Public contents are in Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) or GNU Free Documentation License (at your option) unless otherwise noted. · Contact / Register