码迷,mamicode.com
首页 >  
搜索关键字:context    ( 11739个结果
anroid 广播
广播接收者(BroadcastReceiver)用于接收广播Intent,广播Intent的发送是通过调用Context.sendBroadcast()、Context.sendOrderedBroadcast()来实现的。通常一个广播Intent可以被订阅了此Intent的多个广播接收者所接收,这...
分类:其他好文   时间:2014-07-07 10:03:00    阅读次数:271
string.xml
android string.xml 转译、特殊字符问题xliff:g>标签介绍:%1$s: %2$s这个主要用于程序中,动态的插入内容时候使用,例如,当前时间:%1$s时 %2$s分然后通过程序,context.getString(R.string.time,"10","05");将会输出——当前...
分类:其他好文   时间:2014-07-07 00:33:33    阅读次数:307
朴素贝叶斯新闻分类,新浪SAE碰到的问题
1 如何将高版本的jdk通过Eclipse编译为较低版本的2 当前SAE支持的jdk版本是1.6还有web项目war包不能是3.0版本及以上,必须编译为较低版本3 No context on this server matched or handled this request问题:有的是jdk版本...
分类:其他好文   时间:2014-07-06 14:16:03    阅读次数:220
Spark分析之Master、Worker以及Application三者之间如何建立连接
Master.preStart(){ webUi.bind() context.system.scheduler.schedule(0 millis, WORKER_TIMEOUT millis, self, CheckForWorkerTimeOut) //定时任务检测是否有DEAD WORK.....
分类:移动开发   时间:2014-07-06 12:51:21    阅读次数:249
webx启动流程
由于设置了监听器,所以在项目启动时首先进入com.alibaba.citrus.webx.context.WebxContextLoaderListener,此类继承于ContextLoaderListener,所以首先执行WebxContextLoaderListener的contextInitialized方法。 createContextLoader()是一个很重要的过程,剩下工作都由co...
分类:Web程序   时间:2014-07-04 06:57:01    阅读次数:406
NGUI 学习笔记之一 ScrollView
一、createScrollView1、First, select the panel you want to be your scroll view and right-click anywhere in the Scene View to bring up the context menu, t...
分类:其他好文   时间:2014-07-03 20:46:51    阅读次数:278
web.xml中关于Servlet、Filter、Listener的配置
(一)web.xml不同元素的加载顺序加载顺序与它们在 web.xml 文件中的先后顺序无关。即不会因为 filter 写在 listener 的前面而会先加载 filter。web.xml 的加载顺序是:ServletContext ->context-param -> listener -> f...
分类:Web程序   时间:2014-07-02 22:28:13    阅读次数:232
Android adapter适配器的使用
ListView之SimpleAdapterSimpleAdapter的构造函数是:public SimpleAdapter (Context context, List> data, int resource, String[] from, int[] to)参数context:上下文,比如thi...
分类:移动开发   时间:2014-07-02 22:23:04    阅读次数:273
通过SharePreference来存储登陆状态和账号信息
2014-07-0212:00:19package com.example.getshareperference;import java.util.Map;import android.content.Context;import android.content.SharedPreferences;...
分类:其他好文   时间:2014-07-02 17:20:48    阅读次数:215
在UIView上得到某一点的颜色值
-(UIColor*)colorOfPoint:(CGPoint)point{unsignedcharpixel[4]={0};CGColorSpaceRefcolorSpace=CGColorSpaceCreateDeviceRGB();CGContextRefcontext=CGBitmapContextCreate(pixel,1,1,8,4,colorSpace,kCGImageAlphaPremultipliedLast);CGContextTranslateCTM(context,-point.x..
分类:其他好文   时间:2014-07-02 06:28:29    阅读次数:194
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!