1.

在android 的PreferenceList中 value 和defultValue 默认的是string 的值,就是会所他妈的只能设置<string/>和<string-array/>的值,对于带int,integer 的他就不支持,会报错的!!

在第一次保存的时候,可以完好的保存到xml中,但是读取的时候会跑出转型异常错误

详见:http://www.poemcode.net/2009/06/android_develop_10/

更多相关文章

  1. 在 ubuntu 下编译 android 找不到头文件问题解决
  2. Android(安卓)4.0.1 源码下载,模拟器编译和运行
  3. Android(安卓)Studio 错误: 非法字符: '\ufeff' 解决方案|错误:
  4. android studio 错误: 找不到符号 符号: 方法 xxx() 位置: 类 xx
  5. Android(安卓)5.1编译大于2G的OTA包是会出 Android(安卓)Overflo
  6. 解决 Android(安卓)Studio:Failed to resolve: com.android.suppo
  7. Your content must have a ListView whose id attribute is 'and
  8. React Native 运行android程序报SDK文件不存在错误
  9. 利用monkey测试android,入门级用户可能遇见的错误及解决办法

随机推荐

  1. Android(安卓)RecyclerView的StaggeredGr
  2. Ubuntu Android 的 USB 调试模式
  3. 基于 Android 的学习之旅-----环境搭建
  4. Android自底部平滑向上滑出面板的Android
  5. Cocos2d-x2.1.4的android环境配置及使用
  6. Android 开发入门问题集:启动模拟器、安装
  7. Android NDK带来什么(转)
  8. Android 中文 API(123) ―― AbsListView(
  9. android 精典博文内容推荐
  10. Android实现在xml文件中引用自定义View的