码迷,mamicode.com
首页 >  
搜索关键字:context    ( 11739个结果
图片操作,CoreImage、存储、截屏
1.图片的处理,CoreImage添加CoreImage的属性,并生成synthesize@property (nonatomic,strong) CIContext *context;@property (nonatomic,strong) CIFilter *filter1;@property ...
分类:其他好文   时间:2014-07-22 23:14:15    阅读次数:369
javascript执行上下文
What is the Execution Context & Stack in JavaScript?In this post I will take an in-depth look at one of the most fundamental parts of JavaScript, theE...
分类:编程语言   时间:2014-07-22 23:12:16    阅读次数:608
UIView中的动画设置
两种状态的改变通过动画来渐变,设置动画效果,一般采用的方式有以下几种:方式一:[UIView beginAnimations:(NSString *) context:];[UIView setAnimationDuration:];/*****这里插入需要产生动画的片段*****/ [UIV...
分类:其他好文   时间:2014-07-22 23:09:14    阅读次数:270
19 inflate用法
LayoutInflater inflater=(LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);View layout = inflater.inflate(R.layout.main, null);...
分类:其他好文   时间:2014-05-01 13:10:22    阅读次数:310
android重要的对象
Context----------------访问全局信息的apiActivityWindowIntent/BundleImageView----------onclickView-----自定义view
分类:移动开发   时间:2014-05-01 05:59:06    阅读次数:381
好乱的代码
using System;using System.Web;public class Search_Book : IHttpHandler { public void ProcessRequest (HttpContext context) { context.Respo...
分类:其他好文   时间:2014-04-30 23:28:59    阅读次数:372
Android数据储存——文件储存
文件存储数据使用了Java中的IO操作来进行文件的保存和读取。针对文件的操作主要是以下三种: 1.创建或打开文件 2.读取文件 3.删除文件 创建文件: 1.通过Context.openFileOutput获取输出流      /*      * name 打开或创建文件的名称      * mode 打开或创建文件的模式      */     FileOut...
分类:移动开发   时间:2014-04-30 22:23:39    阅读次数:452
jQuery源码分析
var aQuery = function(selector, context) {return new aQuery.prototype.init();//工厂方法创建一个对象}aQuery.prototype = {init: function() {return this;},getAge: ...
分类:Web程序   时间:2014-04-29 16:31:46    阅读次数:511
Android判断屏幕锁屏的方法总结
转载请注明: 由于做一个项目,需要判断屏幕是否锁屏,发现网上方法很多,但是比较杂,现在进行总结一下: 总共有两类方法: 一、代码直接判定 二、接收广播 现在先说第一类方法(代码直接判定): 1、通过PowerManager的isScreenOn方法,代码如下: PowerManager pm = (PowerManager) context.getSystemServ...
分类:移动开发   时间:2014-04-29 13:35:21    阅读次数:386
创建自定义布局,实现接口回调方法
//自定义布局 public class MyLayout extends RelativeLayout{ private Context mContext; private ICallBack mCallBack; public void setCallBack(ICallBack cb){ mCallBack = cb; }...
分类:其他好文   时间:2014-04-29 13:18:21    阅读次数:324
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!