예제 #1
0
 public long addOrUpdateCellular(Cellular cellular) {
   ContentValues content = new ContentValues();
   content.put("cid", cellular.getCid());
   content.put("lac", cellular.getLac());
   content.put("mcc", cellular.getMcc());
   content.put("mnc", cellular.getMnc());
   content.put("cellgroup", cellular.getCellGroup());
   content.put("lat", cellular.getLat());
   content.put("lon", cellular.getLon());
   content.put("status", cellular.getStatus());
   return addOrUpdate(cellular.getId(), Cellular.NAME, content);
 }