1.文件存储
文件存储数据使用了Java中的IO操作来进行文件的保存和读取,只不过Android在Context类中封装好了输入流和输出流的获取方法。
创建的存储文件保存在/data/data//files文件夹下。...
分类:
移动开发 时间:
2014-12-10 16:18:56
阅读次数:
212
(一)概述
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
已屏蔽掉触摸冲突,直接上代码
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
上一篇实现了消息的自动路由,这边写了一个小测试,大家可以猜一下运行输出结果是什么?
public class RouterTest
{
public static void DoRouterTest()
{
var contextA = Context.Creat("A");
var contextB ...
分类:
其他好文 时间:
2014-12-10 12:33:22
阅读次数:
144
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
1.所需要的JAR包2.web.xml配置文件,这个和平时的配置是一样的 springConfigLocation /WEB-INF/applicationContext.xml org.springframework.web.context.ContextLoade...
分类:
编程语言 时间:
2014-12-10 10:27:32
阅读次数:
302
类型查询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 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 com.auth.spring.listener.SpringLoaderListener
org.springframework.beans.factory.BeanCreationException: Error crea...
分类:
其他好文 时间:
2014-12-09 17:44:53
阅读次数:
267
问题1:严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerjava.lang.ClassNotFoundException: org.spr...
分类:
系统相关 时间:
2014-12-09 17:19:44
阅读次数:
160