码迷,mamicode.com
首页 >  
搜索关键字:context    ( 11739个结果
Android数据保存的3种方式 SharedPreferences存储、文件存储、数据库存储SQLite 未完
1.文件存储  文件存储数据使用了Java中的IO操作来进行文件的保存和读取,只不过Android在Context类中封装好了输入流和输出流的获取方法。 创建的存储文件保存在/data/data//files文件夹下。...
分类:移动开发   时间:2014-12-10 16:18:56    阅读次数:212
Servlet学习笔记(九):监听器Listener详解
(一)概述 1、Listener 用于监听 java web程序中的事件,例如创建、修改、删除Session、request、context等,并触发响应的事件。 2、 Listener 对应观察者模式,事件发生的时候会自动触发该事件对应的Listeer。 Listener 主要用于对 Session、request、context 进行监控。servlet2.5 规范中共有 8 种Listener 。 (二)实现 1、不同功能的Listener 需要实现不同的 Listener 接口,一个Liste...
分类:其他好文   时间:2014-12-10 14:17:59    阅读次数:314
仿iphone开关按钮
已屏蔽掉触摸冲突,直接上代码 package com.pobing.extra.views; import com.example.iphonebut.R; import android.animation.ObjectAnimator; import android.content.Context; import android.graphics.Canvas; import androi...
分类:其他好文   时间:2014-12-10 14:15:35    阅读次数:211
分布式异步消息框架构建笔记4——分布是消息路由
上一篇实现了消息的自动路由,这边写了一个小测试,大家可以猜一下运行输出结果是什么? public class RouterTest { public static void DoRouterTest() { var contextA = Context.Creat("A"); var contextB ...
分类:其他好文   时间:2014-12-10 12:33:22    阅读次数:144
edittext实现粘贴表情
1 package com.sixin.view; 2 3 import com.sixin.utile.FaceDataUtil; 4 import android.annotation.SuppressLint; 5 import android.content.Context; 6 imp.....
分类:其他好文   时间:2014-12-10 12:09:06    阅读次数:162
hibernate4+spring3+struts2搭建框架实例
1.所需要的JAR包2.web.xml配置文件,这个和平时的配置是一样的 springConfigLocation /WEB-INF/applicationContext.xml org.springframework.web.context.ContextLoade...
分类:编程语言   时间:2014-12-10 10:27:32    阅读次数:302
Entity Framework Linq 简单笔记
类型查询public class bbb:xxx{}var items = from c in context.Dbset where c is bbb select c;var items= from c in context.Dbset.OfType() select c;
分类:其他好文   时间:2014-12-10 00:17:57    阅读次数:163
[转载]Context and Interception : The .NET Context
转载自:Context and Interception : The .NET ContextEvery new app domain starts with a single context, called the default context. The default context prov...
分类:Web程序   时间:2014-12-09 19:11:28    阅读次数:231
Exception sending context initialized event to listener instance of class
详细错误信息如下:严重: Exception sending context initialized event to listener instance of class com.auth.spring.listener.SpringLoaderListener org.springframework.beans.factory.BeanCreationException: Error crea...
分类:其他好文   时间:2014-12-09 17:44:53    阅读次数:267
关于eclipse中maven项目的问题
问题1:严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerjava.lang.ClassNotFoundException: org.spr...
分类:系统相关   时间:2014-12-09 17:19:44    阅读次数:160
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!