mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-26 03:02:24 -05:00
modified comments
This commit is contained in:
parent
79f0172770
commit
a555697ff8
@ -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);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user