码迷,mamicode.com
首页 >  
搜索关键字:security context    ( 17701个结果
蛋疼的Android BaseAdapter
1 package com.moniter.helperclasses; 2 3 import java.util.List; 4 5 import android.content.Context; 6 import android.view.LayoutInflater; 7 import ...
分类:移动开发   时间:2014-06-18 14:27:29    阅读次数:175
spring security运行流程图
spring security流程图...
分类:编程语言   时间:2014-06-18 11:45:45    阅读次数:235
Spring 的@Scheduled注解实现定时任务执行和调度
Spring 的@Scheduled注解实现定时任务执行和调度 首先要配置我们的spring.xml   ---  即spring的主配置文件(有的项目中叫做applicationContext.xml或context.xml) xmlns 多加下面的内容、 [html] view plaincopy xmlns:task="http...
分类:编程语言   时间:2014-06-18 11:19:51    阅读次数:430
openerp学习笔记 context 的应用
1.在Action中定义,context用于传递搜索条件和分组条件,在搜索视图中默认显示: 示例代码: Leaves Summary hr.holidays form tree,form {'search_default_group_type': 1, ...
分类:其他好文   时间:2014-06-18 10:22:52    阅读次数:333
Android源码分析之SharedPreferences
在Android的日常开发中,相信大家都用过SharedPreferences来保存用户的某些settings值。Shared Preferences 以键值对的形式存储私有的原生类型数据,这里的私有的是指只对你自己的app可见的,也就是说别的app是无法访问到的。 客户端代码为了使用它有2种方式,一种是通过Context#getSharedPreferences(String prefNam...
分类:移动开发   时间:2014-06-17 18:56:59    阅读次数:350
IntentService源码分析
和HandlerThread一样,IntentService也是Android替我们封装的一个Helper类,用来简化开发流程的。接下来分析源码的时候 你就明白是怎么回事了。IntentService是一个按需处理用Intent表示的异步请求的基础Service类,本质上还是Android Service。 客户端通过Context#startService(Intent);这样的代码来发起一...
分类:其他好文   时间:2014-06-17 18:56:21    阅读次数:307
获取当前Activity名称
//获取当前的Activity名称package.classname privateStringgetTopActivity(Activitycontext){ ActivityManageram=(ActivityManager)getSystemService(Context.ACTIVITY_SERVICE); List<RunningTaskInfo>runningTasks=am.getRunningTasks(1); RunningTaskInforti=runn..
分类:其他好文   时间:2014-06-17 17:19:50    阅读次数:245
Android中将xml布局文件转化为View树的过程分析(下)-- LayoutInflater源码分析
在Android开发中为了inflate一个布局文件,大体有2种方式,如下所示: // 1. get a instance of LayoutInflater, then do whatever you want LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOU...
分类:移动开发   时间:2014-06-17 16:42:35    阅读次数:360
TextView不用获取焦点也能实现跑马灯
1.写一个类继承TextView[java]view plaincopypackagecom.example.tt;importandroid.content.Context;importandroid.graphics.Rect;importandroid.util.AttributeSet;im...
分类:其他好文   时间:2014-06-17 15:43:33    阅读次数:264
SimpleCursorAdapter(Context, int, Cursor, String[], int[]) is deprecated???
ListAdapter bookAdapter = new SimpleCursorAdapter(this,R.layout.booklist,cursor,from,to);提示:The constructor SimpleCursorAdapter(Context, int, Cursor,....
分类:其他好文   时间:2014-06-17 12:58:51    阅读次数:472
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!