Android Context Get getAndroidDBDir(Context context)

Here you can find the source of getAndroidDBDir(Context context)

Description

get Android DB Dir

License

Open Source License

Declaration

protected static File getAndroidDBDir(Context context) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import android.content.Context;
import android.os.Environment;

import java.io.File;

public class Main {
    protected static File getAndroidDBDir(Context context) {
        return new File(Environment.getDataDirectory(), "//data//"
                + context.getPackageName() + "//databases//");
    }/*from  w w  w  .jav a2  s .c  o  m*/
}

Related

  1. getDataColumn(Context context, Uri uri, String selection, String[] selectionArgs)
  2. getPath(final Context context, final Uri uri)
  3. cachedJson(Context context, URI uri)
  4. cacheJson(Context context, URI uri, String jsonSource)
  5. getSharedPreferences(Context context)
  6. getAnimId(Context paramContext, String paramString)
  7. getApp(Context ctx, String packageName)
  8. getAppKey(Context context)
  9. getAppVersion(Context context)