安卓配置文件 [英] Android configuration file
本文介绍了安卓配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
最好的方法是什么以及如何为应用程序设置配置文件?
What is the best way and how do I set up a configuration file for a application?
我希望应用程序能够查看 SD 卡上的文本文件并挑选出它需要的某些信息.
I want the application to be able to look into a text file on the SD card and pick out certain information that it requires.
推荐答案
您可以使用 共享偏好
Google Android 页面上有关于如何使用 Shared Preferences 的非常详细的指南https://developer.android.com/guide/topics/data/data-storage.html#pref
There is a very detailed guide on how to use Shared Preferences on the Google Android page https://developer.android.com/guide/topics/data/data-storage.html#pref
这篇关于安卓配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文