Android Open Source - tdpforce Db Helper

From Project

Back to project page tdpforce.


The source code is released under:

Apache License

If you think the Android project tdpforce listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.telugudesam.cadre.database;
/*from www. java 2  s .c  om*/
import android.content.Context;

import com.turbomanage.storm.DatabaseHelper;
import com.turbomanage.storm.api.Database;
import com.turbomanage.storm.api.DatabaseFactory;

@Database(name = DbHelper.dbName, version = DbHelper.version)
public class DbHelper extends DatabaseHelper {
  public static final String dbName = "tdp_cadre_box";
  public static final int version = 1;

  public DbHelper(Context ctx, DatabaseFactory dbFactory) {
    super(ctx, dbFactory);

  public UpgradeStrategy getUpgradeStrategy() {
    return UpgradeStrategy.BACKUP_RESTORE;

Java Source Code List