private void restoreInfoFields() { try { // FIXME - use correct android system ObjectInputStream stream = AndroidUtil.readObjectStream(this, "infofields"); infoView.setChecked((String[]) stream.readObject()); stream.close(); } catch (Exception e) { // TODO Auto-generated catch block // e.printStackTrace(); } }
private void saveInfoFields() { // Save our list of recipients - FIXME, use the correct android saving // system try { ObjectOutputStream stream = AndroidUtil.writeObjectStream(this, "infofields"); stream.writeObject(infoView.getChecked()); stream.close(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } }