Chinaunix首页 | 论坛 | 博客
  • 博客访问: 836828
  • 博文数量: 182
  • 博客积分: 1992
  • 博客等级: 上尉
  • 技术积分: 1766
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-18 11:49
文章分类

全部博文(182)

文章存档

2019年(1)

2016年(5)

2015年(29)

2014年(38)

2013年(21)

2012年(36)

2011年(52)

我的朋友

发布时间:2014-03-15 11:04:18

JSESSIONID设置在Cookie头中携带过去,服务器根据这个sessionID获取对应的Session,而不是重新创建一个新Session(除了这个Session失效)。以java.net.HttpURLConnection发起请求为例:获取Cookie: URL url = new URL(requrl); HttpURLConnection con= (HttpURLConnection) url.openConnection();&.........【阅读全文】

阅读(1281) | 评论(1) | 转发(0)

发布时间:2014-03-14 14:40:33

去掉dialog中的背景和title,但这个要用style来做点击(此处)折叠或打开        @null  &n.........【阅读全文】

阅读(957) | 评论(0) | 转发(0)

发布时间:2014-02-27 15:15:50

bindService + BIND_AUTO_CREATE会创建多个service对像出来,所以最好是先startService,再bind比较好。如何时非要用这种,那就在unbind时清理service,但这样就不能在后台做事了。......【阅读全文】

阅读(7225) | 评论(0) | 转发(0)

发布时间:2014-02-25 17:05:41

http://www.liurongxing.com/svn-startup-scripts.htmlvi /etc/rc.d/init.d/svnd12345.........【阅读全文】

阅读(634) | 评论(0) | 转发(0)

发布时间:2014-02-21 16:23:32

一值总觉得timer怪怪的,就是不知道怎么解释,这个解释正到好处。TimerTasks are not ideal to use in an android environment because they're not context-aware. If your context goes away, the TimerTask will still wait patiently in the background, eventually firing and potentially crashing your app beca.........【阅读全文】

阅读(2000) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册