The Java Authentication and Authorization Service (JAAS) is a standard extension to the security in the J2SE Development Kit 5.0. JAAS provides the ab...
分类:
Web程序 时间:
2014-06-21 13:45:27
阅读次数:
310
实现免提开启和关闭需要添加的权限网站模板【】01/**02*免提03*04*@paramcontext05*/06privatevoidtoggleSpeaker(Contextcontext)07{08 AudioManageram=(AudioManager)context.getSystem....
分类:
移动开发 时间:
2014-06-21 13:34:41
阅读次数:
219
转:http://blog.csdn.net/littlebo01/article/details/17554953[python] view plaincopyprint? 使用OpenERP自定义模块开发的时候,你会发现,有一个uid(当前登录用户id)特别好用,不管是在xml的domain.....
分类:
其他好文 时间:
2014-06-21 10:11:16
阅读次数:
270
读写函数分别例如以下:import java.io.FileInputStream;import java.io.FileOutputStream;import java.util.Properties;public Properties loadConfig(Context context, St...
分类:
移动开发 时间:
2014-06-21 08:54:22
阅读次数:
323
转自:http://hi.baidu.com/ittdt/item/d932cf37f486f886c3cf29eanew AlertDialog.Builder(MainEngine.context)//.setTitle("提示").setMessage("确定要退出游戏吗?").setPosi...
分类:
移动开发 时间:
2014-06-21 07:08:44
阅读次数:
210
///一般处理程序 string action = context.Request["action"]; var adapter= new T_UserTableAdapter(); ...
分类:
其他好文 时间:
2014-06-18 08:54:47
阅读次数:
183
源码学习第一天:
org.springframework.beans 和org.springframework.context 包是ioc 容器的基础包。
BeanFactory 接口 :负责通过配置机制管理任何类型对象。
ApplicationContext 接口: 继承BeanFactory
可以和aop ,消息资源处理(国际化),事件发布集成。
webApplicat...
分类:
编程语言 时间:
2014-06-18 07:59:23
阅读次数:
195
在练习spring项目的过程中,出现了如下异常信息:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.springframework.context.support.AbstractApplicationContext.(Abstrac...
分类:
编程语言 时间:
2014-06-18 07:15:20
阅读次数:
236
tomcat
edit configurations配置问题:
在deployment选项卡内加入artifact到服务器,在Application context选择应用的上下文路径。
热部署:
在tomcat配置 Server选项卡内 On Update action 选择Update classes and resource
...
分类:
其他好文 时间:
2014-06-18 07:03:44
阅读次数:
231
/**
* 获取设备采用的时间制式(12小时制式或者24小时制式)
* 注意:
* 在模拟器上获取的时间制式为空
*/
private void getTime_12_24(Context context){
ContentResolver contentResolver = context.getContentResolver();
String time_12_24 ...
分类:
移动开发 时间:
2014-06-18 06:25:10
阅读次数:
216