码迷,mamicode.com
首页 >  
搜索关键字:context    ( 11739个结果
应用工具类
public class AbAppUtil { /** * 描述:打开并安装文件. * * @param context the context * @param file apk文件路径 */ public static void in...
分类:其他好文   时间:2014-12-06 16:36:06    阅读次数:246
listview 选择后高亮显示
public class UserTypeParentAdapter extends MyBaseAdapter { private int selectItem = -1; public UserTypeParentAdapter(Context context, List datas...
分类:其他好文   时间:2014-12-06 14:00:33    阅读次数:122
将 android sql文件放生成在sd卡
public abstract class SQLiteOpenHelper { private static final String TAG = SQLiteOpenHelper.class .getSimpleName(); private final Context mContext; private final String mName; private final Cur...
分类:移动开发   时间:2014-12-06 12:52:09    阅读次数:223
小试牛刀 spring的HelloWorld
先导入包:commons-logging-1.1.1.jar : spring依赖的包;spring-beans-4.0.0.RELEASE.jar;spring-context-4.0.0.RELEASE.jar;spring-core-4.0.0.RELEASE.jar;spring-expre...
分类:编程语言   时间:2014-12-06 11:15:45    阅读次数:153
退出应用
- (void)exitApplication {          [UIView beginAnimations:@"exitApplication" context:nil];     [UIView setAnimationDuration:0.5];     [UIView setAnimationDelegate:self];     [UIVie...
分类:其他好文   时间:2014-12-05 19:24:56    阅读次数:123
c#实现房贷计算的方法源码
public void ProcessRequest(HttpContext context) { context.Response.ContentType = "application/json"; string json=...
分类:Windows程序   时间:2014-12-05 18:57:04    阅读次数:372
C# 微支付 JSAPI支付方式 V3.3.6版本
#region 使用微支付统一接口,返回预支付ID/// /// 使用微支付统一接口,返回预支付ID/// /// /// /// private bool PayAccount(HttpContext context,ref string returnMsg){ int UID = 0; int ...
分类:Windows程序   时间:2014-12-05 16:52:53    阅读次数:650
webx中保留原spring servlet模块的配置
虽然很猥琐,但是业务需求要求在webx中保留原来的运行在spring模块上的servlet功能 。几经折腾,总算整合好了。新建一个  webx项目,把webapp下的所有目录 copy到原来模块对应目录中。除了web.xml,其它的邮webx生成的xml都copy到原工程相应目录下。编程webx.xml1.注释            org.springframework.web.context....
分类:编程语言   时间:2014-12-05 12:43:22    阅读次数:211
struts-2.3+spring-4.0+hibernate-4.0整合项目
1.加入spring 1)加入jar包 2)配置web.xml applicationContext.xml (监听器) 3)加入spring的配置文件:aop context tx bean 1.加入hibernate 1.1建立持久化类,和其对应的xxx,hbm。xml文件,生产...
分类:编程语言   时间:2014-12-05 12:14:20    阅读次数:253
Android 解屏幕锁与点亮屏幕(来电时效果)
PowerManager pm=(PowerManager) getSystemService(Context.POWER_SERVICE);//获取电源管理器对象PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.ACQUIRE_CAUSE...
分类:移动开发   时间:2014-12-05 10:51:49    阅读次数:320
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!