@Override protected Exception doInBackground(Object... params) { /* String username = (String) params[0]; String password = (String) params[1]; */ try { InsertIntoDatabase.InsertFoldersIntoDatabase( OwnCloudReaderMethods.GetFolderTags(context), context); } catch (Exception ex) { return ex; } return null; }
public void WriteAllToDatabaseNow() { InsertIntoDatabase.InsertFoldersIntoDatabase(folders, dbConn); }