posted by Solver Full-stack Developer 2011.06.14 11:50

1. read

 Properties ini = new Properties();
 String mode="";
 ini.load(new FileInputStream("/sdcard/init.ini")); 
 mode=ini.getProperty("version"); 


2.write

Properties ini = new Properties();
ini.put("version", "default"); // property Add
ini.setProperty("version", "single"); 
ini.store(new FileOutputStream("/sdcard/FTPTemp/init.ini",true), "Initialize"); //save
신고
posted by Solver Full-stack Developer 2011.06.02 15:34
Animation slideLeftIn = AnimationUtils.loadAnimation(this, R.anim.push_left_in);
신고