代码已经整理好,如下图:地址:http://down.51cto.com/data/1970025
分类:
移动开发 时间:
2015-01-05 18:55:50
阅读次数:
123
javascript判断手机旋转横屏竖屏// 横屏竖屏函数function orientationChange(){ switch(window.orientation) { case 0: // Portrait case 180: // Upside-down ...
分类:
移动开发 时间:
2015-01-05 18:01:36
阅读次数:
187
所需软件下载地址如下(均为有效资源链接,速度都比较可以):vs2005: http://221.224.22.210/downloadsawyer/VS.Net2005简体中文版.rarwinxpddk: http://210.21.117.86/down/ocx/winxpddk.zipDDKWizard : http://ddkwizard.assarbad.net/downloads/...
实践后的结论:
下面两种都可以获取到音量键的东西, 测试的时候,发现
KeyEvent.KEYCODE_VOLUME_UP 一直按住的时候, 三星的一款平板计数到200,就不在触发该事件;
所以改为 KeyEvent.ACTION_DOWN 时启动一个方法用来计数, KeyEvent.ACTION_UP的停止技数;
1
2
3...
分类:
移动开发 时间:
2015-01-05 11:11:25
阅读次数:
172
MainActivity如下:?12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717...
分类:
移动开发 时间:
2015-01-05 10:54:33
阅读次数:
232
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any point in time. The robot is trying to reach the bott...
分类:
其他好文 时间:
2015-01-05 08:18:16
阅读次数:
214
Unique PathsA robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right a...
分类:
其他好文 时间:
2015-01-05 00:19:55
阅读次数:
231
Binary Tree Upside Down
Total Accepted: 813
Total Submissions: 2515
Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent ...
分类:
其他好文 时间:
2015-01-03 15:58:52
阅读次数:
134
宕机监控报警程序一.需求来源宕机对运维人员来说,最痛苦了。怎样检測一台server是否还在正常执行,假设该server宕机,怎样在第一时间监測到并通知一线运维人员进行维护,最大化降低损失。二.程序功能对指定server进行宕机监測,假设确实宕机,则发送email到139邮箱(绑定手机,实现短信报警)...
分类:
移动开发 时间:
2015-01-02 14:35:20
阅读次数:
203
#NoEnv #NoTrayIcon #SingleInstance force ;~ Send {Alt Down} ;~ Sleep, 20 #IfWinActive ahk_class TTOTAL_CMD
#0::SendTCUserCommand("em_To7zip") return
;...
分类:
其他好文 时间:
2015-01-01 17:18:38
阅读次数:
342