安卓对文本文件进行写(读)数据

上传者: 28584897 | 上传时间: 2021-05-09 21:02:27 | 文件大小: 3.84MB | 文件类型: RAR
在文本框中输入所需要存入txt文件的内容,通过点击确认按钮即可实现将数据I信息存入到文本文件中; 通过点击读取按钮,可以实现将文本中信息读出来并显示在TextView组件中 通过点击清楚文本内容的按钮可以实现清空文本内容的作用

文件下载

资源详情

[{"title":"( 66 个子文件 3.84MB ) 安卓对文本文件进行写(读)数据","children":[{"title":"fileDemo","children":[{"title":"bin","children":[{"title":"fileDemo.apk <span style='color:#111;'> 1.19MB </span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'> 2.14MB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"jarlist.cache <span style='color:#111;'> 360B </span>","children":null,"spread":false},{"title":"R.txt <span style='color:#111;'> 64.93KB </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v7-appcompat-e4c189b747e7511dba26fffa85c011c6.jar <span style='color:#111;'> 261.04KB </span>","children":null,"spread":false},{"title":"appcompat_v7-edbc8322de7630b91ee97262d8584171.jar <span style='color:#111;'> 166B </span>","children":null,"spread":false},{"title":"android-support-v4-4323acf1ddca4f8a65636a2e9051b2b2.jar <span style='color:#111;'> 460.95KB </span>","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"android","children":[{"title":"support","children":[{"title":"v7","children":[{"title":"appcompat","children":[{"title":"R$layout.class <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"R$bool.class <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 4.41KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 4.55KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 8.83KB </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 1015B </span>","children":null,"spread":false},{"title":"R$styleable.class <span style='color:#111;'> 19.90KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"R$integer.class <span style='color:#111;'> 657B </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 4.01KB </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 813B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 19.54KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"com","children":[{"title":"example","children":[{"title":"filedemo","children":[{"title":"MainActivity.class <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"R$bool.class <span style='color:#111;'> 848B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 3.80KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 4.62KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 8.80KB </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 394B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 951B </span>","children":null,"spread":false},{"title":"R$styleable.class <span style='color:#111;'> 20.33KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"R$integer.class <span style='color:#111;'> 633B </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 789B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 19.58KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 473.43KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 862B </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 331B </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 423B </span>","children":null,"spread":false}],"spread":true},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 388B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 225B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 699B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 381B </span>","children":null,"spread":false}],"spread":true}],"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"android","children":[{"title":"support","children":[{"title":"v7","children":[{"title":"appcompat","children":[{"title":"R.java <span style='color:#111;'> 85.95KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"com","children":[{"title":"example","children":[{"title":"filedemo","children":[{"title":"BuildConfig.java <span style='color:#111;'> 162B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 431.08KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"filedemo","children":[{"title":"MainActivity.java <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 844B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 607B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 862B </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 1.36MB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明