Example #1
0
 public void testUpdate() throws Exception {
   PrivacyCalcSQLite service = new PrivacyCalcSQLite(this.getContext());
   CryptInfo ci = service.find(10);
   ci.setHashid(ci.hashCode());
   ci.setFilename("hello.jpg");
   ci.setFilepath("hi");
   ci.setDestpath("happy");
   service.update(ci);
   Log.i(tag, ci.toString());
 }
Example #2
0
 public void testFind() throws Exception {
   PrivacyCalcSQLite service = new PrivacyCalcSQLite(this.getContext());
   CryptInfo ci = service.find(10);
   Log.i(tag, ci.toString());
 }