Android开放共享preference xml文件 [英] android open sharedPreference xml file

查看:109
本文介绍了Android开放共享preference xml文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

了解如何共享preferences的作品后,我在创建一个/data/data/com.your.package.name/shared_$p$pfs/$p$pfs.xml xml文件。但是,使用Eclipse的文件浏览器我能找到它,但不要打开它,看看它的内容。怎么做?

After understanding how sharedPreferences works, I create an xml file at /data/data/com.your.package.name/shared_prefs/prefs.xml. However, using eclipse's file explorer I am able to find it but not to open it to see its content. How to do it?

推荐答案

在文件浏览器有一个从设备按钮拉文件,先选择文件,然后单击该按钮,将在文件保存到一个位置,从那里你可以访问该文件。附上截图

In file explorer there is button pull file from device, first select the file and then click on that button it will save the file on to a location from where you can access the file. attached is the screen shot

这篇关于Android开放共享preference xml文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆