http://blog.sina.com.cn/s/blog_474928c90100x871.htmlpublic class Ex04_1Activity extends Activity { EditText editText;TextView textView; @Override pu.....
1.判断服务是否在运行public static boolean isServiceRunning(Context context, Class serviceClass) { ActivityManager manager = (ActivityManager) context.ge...
分类:
移动开发 时间:
2014-08-19 10:37:23
阅读次数:
206
有的时候我们的应用可能需要判断当前设备是否联网 1 private void init() { 2 /** 获得系统级联网管理员对象 */ 3 ConnectivityManager manager = (ConnectivityManager) this 4 ...
分类:
移动开发 时间:
2014-08-18 23:21:43
阅读次数:
368
最近SDK出问题了,然后在google下载了一个android-sdk-windows.rar,然后点击SDK Manager,结果一直不能刷新API Level,然后就开始在网上找了好多资料,解决这个问题,修改 HOSTS, HTTP 和 HTTPS 都不能解决,这给我带来了很大的困惑! 加载不出...
分类:
移动开发 时间:
2014-08-18 21:48:32
阅读次数:
292
今天拿到Joel的《软件随想录》,读了一个章节,章节题名——我的第一次BillG审查。 这个章节中,Joel讲述了他在微软任职“excel”Program Manager时的经历。这里说到的BillG审查,说的就是比尔盖茨会审查报告。众...
分类:
其他好文 时间:
2014-08-18 18:59:23
阅读次数:
200
A - Class Statistics Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit Status Practice UVALive 5682Description ///最开始 没有读懂 Largest....
分类:
其他好文 时间:
2014-08-18 18:13:42
阅读次数:
174
我们知道,要连接一个数据库需要知道四个参数:1. 登陆用户名:user;2. 登录密码:password;3. 存放数据库的服务器地址(server_ip)和端口(server_port);4. 数据库名(db_name);我们如果要连接db_name这个数据,除了用户名密码以外,还需要输入类似“s...
分类:
数据库 时间:
2014-08-18 17:49:42
阅读次数:
259
1、SDK Manager 的 Tools ->Options打开SDK Manager的Settings,选中“Force https://… sources to be fetched using http://…”, 强制使用http协议。2、在Windows在C:\WINDOWS\syste...
分类:
移动开发 时间:
2014-08-18 14:29:12
阅读次数:
234
An Introduction to Tracking Statistics with Graphite, StatsD, and CollectDTAGGED IN:UBUNTU,MONITORING,SYSTEM TOOLSThis tutorial is part 1 of 4 in the ...
分类:
其他好文 时间:
2014-08-18 10:43:33
阅读次数:
305
题目链接:点击打开链接
1038 - Race to 1 Again
PDF (English)
Statistics
Forum
Time Limit: 2 second(s)
Memory Limit: 32 MB
Rimi learned a new thing about integers, whic...
分类:
其他好文 时间:
2014-08-18 01:35:13
阅读次数:
283