Android配置文件 [英] Android Config File
本文介绍了Android配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么是最好的方式和如何设置一个应用程序的配置文件?
What is the best way and how to set up a config 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页面上使用共享首选项的非常详细的指南
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
这篇关于Android配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文