public class AbAppUtil { /** * 描述:打开并安装文件. * * @param context the context * @param file apk文件路径 */ public static void in...
分类:
其他好文 时间:
2014-12-06 16:36:06
阅读次数:
246
public class UserTypeParentAdapter extends MyBaseAdapter { private int selectItem = -1; public UserTypeParentAdapter(Context context, List datas...
分类:
其他好文 时间:
2014-12-06 14:00:33
阅读次数:
122
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
先导入包: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
public void ProcessRequest(HttpContext context) { context.Response.ContentType = "application/json"; string json=...
#region 使用微支付统一接口,返回预支付ID/// /// 使用微支付统一接口,返回预支付ID/// /// /// /// private bool PayAccount(HttpContext context,ref string returnMsg){ int UID = 0; int ...
虽然很猥琐,但是业务需求要求在webx中保留原来的运行在spring模块上的servlet功能 。几经折腾,总算整合好了。新建一个 webx项目,把webapp下的所有目录 copy到原来模块对应目录中。除了web.xml,其它的邮webx生成的xml都copy到原工程相应目录下。编程webx.xml1.注释 org.springframework.web.context....
分类:
编程语言 时间:
2014-12-05 12:43:22
阅读次数:
211
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
PowerManager pm=(PowerManager) getSystemService(Context.POWER_SERVICE);//获取电源管理器对象PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.ACQUIRE_CAUSE...
分类:
移动开发 时间:
2014-12-05 10:51:49
阅读次数:
320