转载来源http://blog.csdn.net/howlaa/article/details/18305289?utm_source=tuicool&utm_medium=referral
因为一些配置信息,多处用到的。且以后可能变更的,我想写个.prorperties配置文件给管理起来。
我把配置文件放在了assets文件夹下
appConfig.properties:
操作的工具类:
MyProperUtil.Java:
使用:
转载来源http://blog.csdn.net/howlaa/article/details/18305289?utm_source=tuicool&utm_medium=referral
因为一些配置信息,多处用到的。且以后可能变更的,我想写个.prorperties配置文件给管理起来。
我把配置文件放在了assets文件夹下
appConfig.properties:
MyProperUtil.Java: