Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tfg.politmiro.totbolets
Class DataBase

    java.lang.Object
      SQLiteOpenHelper
          com.tfg.politmiro.totbolets.DataBase

    public class DataBase

extends SQLiteOpenHelper

Author:
  Polit Miro Base de dades del projecte on creem les dues taules necessaries per l'aplicacio

Constructor Summary
`DataBase(Context context)`

Method Summary
`static void` | `deletethis(Context context)` Metode que ens permet eliminar una taula si Žs necessari
`void` | `onCreate(SQLiteDatabase database)`
`void` | `onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DataBase

    public DataBase(Context context)

Method Detail

### onCreate

    public void onCreate(SQLiteDatabase database)

### onUpgrade

    public void onUpgrade(SQLiteDatabase db,
                          int oldVersion,
                          int newVersion)

### deletethis

    public static void deletethis(Context context)

  Metode que ens permet eliminar una taula si Žs necessari

  Parameters:
    `context` -

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD