一、沙盒和应用程序包?iOS应用程序只能在为该改程序创建的文件系统中读取文件,不可以去其它地方访问,此区域被称为沙盒?iOS常用目录:–Bundle–Documents–Library/Caches–Library/Preference–tmp显示mac隐藏文件:defaults write com...
分类:
移动开发 时间:
2015-09-20 00:15:13
阅读次数:
492
<?xml?version="1.0"?encoding="utf-8"?>
<PreferenceScreen
????xmlns:android="http://schemas.android.com/apk/res/android">
????<PreferenceCategory
????????android:title="My?Prefere...
分类:
移动开发 时间:
2015-09-15 18:38:40
阅读次数:
211
NSUserDefaults用于存储数据量小的数据,例如用户配置。并不是所有的东西都能往里放的,只支持:NSString, NSNumber, NSDate, NSArray, NSDictionary存放于一个plist文件中。这个文件位于在 app同级目录的/Library/Preference...
分类:
其他好文 时间:
2015-09-15 16:15:08
阅读次数:
123
BGP选路原则:1、Prefer highest weight (local to router).首选权重最高的路由2、Prefer highest local preference (global within AS).本地优先级最高的路由3、Prefer route originated by...
分类:
其他好文 时间:
2015-09-15 09:26:08
阅读次数:
203
一、什么是数据持久化数据持久化及数据的永久存储,将数据保存在硬盘中,程序关闭,内存释放后,重新打开程序,可以继续访问之前保存的数据。二、数据持久化方式常见的数据持久化方式有以下几项:沙盒preference归档 / 反归档SQLiteCoreData这篇只讲沙盒,preference,归档/反归档。...
分类:
移动开发 时间:
2015-09-12 17:36:40
阅读次数:
254
其实Preference组件大家一定不陌生,因为Android系统的Setting应用及我们市面上一些符合Android设计思想的应用的设置界面一般都会用它来实现,而且Google原生Android代码中大量的使用了Preference组件。简单说,Preference组件其实就是Android常见UI组件与SharePreferences的组合封装实现。...
分类:
移动开发 时间:
2015-09-10 00:35:30
阅读次数:
385
1 myeclipse配置的tomcat无法debug启动,报错为:A configuration error occurred during startup. Please verify the preference field with prompt:cannot connect to VM 解...
分类:
其他好文 时间:
2015-09-06 16:15:46
阅读次数:
223
1、先找到xml文件对应的DTD文件。例如: D:\struts-2.1.8\src\core\src\main\resources\struts-2.0.dtd2、window->preference->XML->XML catalog->add3、location填写dtd文件所在位置,key....
分类:
其他好文 时间:
2015-09-06 12:27:07
阅读次数:
152
1071. Speech Patterns (25)时间限制300 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者HOU, QimingPeople often have a preference among synonyms of the same word. ...
分类:
其他好文 时间:
2015-09-04 12:29:31
阅读次数:
173
读取数据: 保存数据: +++++++++++++++++++方法详解++++++++++++++++++++++++++++++ SharedPreferences综述: 使用getSharedPreferences(String, int) 方法提供获取和修改preference的接口 对于任意...
分类:
移动开发 时间:
2015-09-04 12:20:49
阅读次数:
145