Code example for SQLiteDatabase

Methods: getPathisOpen

0
			throw new RuntimeException(e);
		} 
    } 
     
    private void checkDatabaseIsOpen() { 
    	if (!mDatabase.isOpen()) {
            throw new IllegalStateException("database " + mDatabase.getPath() + " already closed");
        } 
    } 
 
    public PreparedStatement getStatement() {
    	return actualDBstatement;
    } 
     
    /** 
     * Bind a double value to this statement. The value remains bound until 
     * {@link #clearBindings} is called. 
     * 
     * @param index The 1-based index to the parameter to bind 
     * @param value The value to bind 
     */