modified comments

This commit is contained in:
PhilippC 2013-03-19 04:22:39 +01:00
parent 79f0172770
commit a555697ff8
2 changed files with 2 additions and 17 deletions

View File

@ -278,22 +278,6 @@ namespace keepass2android
} }
/*
public void LoadData (Context mCtx, string mFileName, string mPass, string mKey, UpdateStatus mStatus)
{
KeePassLib.PwDatabase pwDatabase = new KeePassLib.PwDatabase();
KeePassLib.Serialization.IOConnectionInfo iocInfo = KeePassLib.Serialization.IOConnectionInfo.FromPath("/sdcard/keepass2androidtest.kdbx");
KeePassLib.Serialization.IOConnectionInfo iocInfoSave = KeePassLib.Serialization.IOConnectionInfo.FromPath("/sdcard/keepass2androidtestSaved.kdbx");
KeePassLib.Keys.CompositeKey key = new KeePassLib.Keys.CompositeKey();
key.AddUserKey(new KeePassLib.Keys.KcpPassword("test"));
pwDatabase.Open(iocInfo, key, new LogToButton(this));
pwDatabase.RootGroup.AddGroup(new KeePassLib.PwGroup(true, true, "generatedFromKp2ANeu", KeePassLib.PwIcon.Folder), true);
pwDatabase.SaveAs(iocInfoSave,false,new LogToButton(this));
pwDatabase.Close();
//KeePassLib.Serialization.KdbxFile f = new KeePassLib.Serialization.KdbxFile(pwDatabase);
}
*/
} }

View File

@ -344,6 +344,7 @@ namespace keepass2android
// Add to recent files // Add to recent files
FileDbHelper dbHelper = App.fileDbHelper; FileDbHelper dbHelper = App.fileDbHelper;
//TODO: getFilename always returns "" -> bug?
dbHelper.createFile(mIoc, getFilename()); dbHelper.createFile(mIoc, getFilename());
GroupActivity.Launch(activty); GroupActivity.Launch(activty);