public String getDatabaseDirectoryPath() {
    return this.context != null
            && this.context.getDatabasePath("x") != null
            ? this.context.getDatabasePath("x").getParent()
            : "";
  }
public String getDatabaseDirectoryPath ( ) { return this . context != null && this . context . getDatabasePath ( "x" ) != null ? this . context . getDatabasePath ( "x" ) . getParent ( ) : "" ; }
Returns the absolute path to the directory on the Android
filesystem where databases are stored for the current application.

@return the absolute path to the databases directory
(example: "/data/data/com.example/databases")