摘要: private void readXml() throws XmlPullParserException, IOException { XmlPullParser parser = XmlPullParserFactory.newInstance().newPullParser... 阅读全文
posted @ 2015-10-23 17:14 一路向北中 阅读(151) 评论(0) 推荐(0)
摘要: private void createXml() throws IOException { ArrayList arrayList = new ArrayList(); for (int i = 0; i < 10; i++) { Peopl... 阅读全文
posted @ 2015-10-23 17:13 一路向北中 阅读(133) 评论(0) 推荐(0)
摘要: public void click(View view) throws Exception { SharedPreferences sf = getSharedPreferences("my",Context.MODE_PRIVATE); SharedPrefer... 阅读全文
posted @ 2015-10-23 13:54 一路向北中 阅读(110) 评论(0) 推荐(0)
摘要: public String getSdcardInfo() { File path = Environment.getExternalStorageDirectory(); StatFs stat = new StatFs(path.getPath()); ... 阅读全文
posted @ 2015-10-23 13:37 一路向北中 阅读(266) 评论(0) 推荐(0)
摘要: public String getROMInfo() { File path = Environment.getDataDirectory(); StatFs stat = new StatFs(path.getPath()); long block... 阅读全文
posted @ 2015-10-23 13:20 一路向北中 阅读(241) 评论(0) 推荐(0)
摘要: //判断SDcard是否挂载 if (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) { //取得SDcard卡目录 File ... 阅读全文
posted @ 2015-10-23 08:51 一路向北中 阅读(313) 评论(0) 推荐(0)