We've got an error on this line ` var database = uri.getPath().substring(1);` because the URL doesn't contain a database name
Activity