6.3.1.7.8. MapContentProviderHelper

public class MapContentProviderHelper extends MapBase

6.3.1.7.8.1. Fields

6.3.1.7.8.1.1. DATABASE_VERSION

protected static final int DATABASE_VERSION

6.3.1.7.8.1.2. DBNAME

protected static final String DBNAME

6.3.1.7.8.1.3. mDatabaseHelper

protected DatabaseHelper mDatabaseHelper

6.3.1.7.8.2. Constructors

6.3.1.7.8.2.1. MapContentProviderHelper

public MapContentProviderHelper(Context context, File path, LayerFactory layerFactory)

6.3.1.7.8.3. Methods

6.3.1.7.8.3.1. getDatabase

public SQLiteDatabase getDatabase(boolean readOnly)

6.3.1.7.8.3.2. getLayersByAccount

public static void getLayersByAccount(LayerGroup layerGroup, String account, List<INGWLayer> layerList)

6.3.1.7.8.3.3. getVectorLayerByPath

public static Layer getVectorLayerByPath(LayerGroup layerGroup, String pathName)
Parameters:
  • pathName – The exact name of the folder which contains a layer. Must be without slashes.

6.3.1.7.8.3.4. onUpgrade

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