Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.bea...
分类:
编程语言 时间:
2014-10-10 21:54:44
阅读次数:
192
转载请注明出处:http://blog.csdn.net/droyon/article/details/39891355一、所有、正在执行、已停用、USB存储设备、已下载TAB页界面元素标注。1、图标。boolean ensureIconLocked(Context context, Package...
分类:
其他好文 时间:
2014-10-10 21:38:34
阅读次数:
251
android获取屏幕的高度和宽度用到WindowManager这个类,两种方法: 1、WindowManager wm = (WindowManager) getContext().getSystemService(Context.WINDOW_SERVICE);int width = wm.ge...
分类:
移动开发 时间:
2014-10-10 21:01:54
阅读次数:
166
requestWindowFeature(featrueId),它的功能是启用窗体的扩展特性。参数是Window类中定义的常量。一、枚举常量1.DEFAULT_FEATURES:系统默认状态,一般不需要指定2.FEATURE_CONTEXT_MENU:启用ContextMenu,默认该项已启用,一般...
(转自:http://blog.csdn.net/ithomer/article/details/7366396)一、bindService简介bindService是绑定Service服务,执行service服务中的逻辑流程。service通过Context.startService()方法开始,...
分类:
移动开发 时间:
2014-10-10 18:37:54
阅读次数:
240
(转自:http://blog.csdn.net/ithomer/article/details/7365147)一、 BroadcastReceiver简介BroadcastReceiver,用于异步接收广播Intent,广播Intent是通过调用Context.sendBroadcast()发送...
分类:
移动开发 时间:
2014-10-10 18:21:55
阅读次数:
239
public static String getDeviceInfo(Context context) { try{ org.json.JSONObject json = new org.json.JSONObject(); android.telephony.Teleph...
分类:
移动开发 时间:
2014-10-10 17:49:44
阅读次数:
215
好久没用到,突然遇到此问题还用了点时间.在JS里面通过URL向Handler传中文值的时候,在Handler里面取值出来后会发现是乱码的~~.这就需要个编码解码过程.JS:编码 escape(中文值)Handler:context.Server.UrlDecode(context.Request["...
分类:
Web程序 时间:
2014-10-10 16:43:14
阅读次数:
238
在真机调试ios6的时候有出现如下的错误:: CGContextSetFillColorWithColor: invalid context 0x0: CGContextSetStrokeColorWithColor: invalid context 0x0经过查找发现这是iOS的系统bug,不会产...
分类:
其他好文 时间:
2014-10-10 15:17:10
阅读次数:
476
Context(应用场景):1、须要使用ConcreteStrategy提供的算法。2、内部维护一个Strategy的实例。3、 负责动态设置执行时Strategy详细的实现算法。4、负责跟Strategy之间的交互和数据传递。Strategy(抽象策略类):1、 定义了一个公共接口,各种不同的算法...
分类:
编程语言 时间:
2014-10-10 14:53:00
阅读次数:
243