使用asm.jar将Android手机屏幕投影到电脑
有时候可能需要将手机上的一些操作投影出来,比如一些App Demo的展示等。其实,有专门的硬件设备能干这件事儿,但没必要专门为展示个Demo去花钱买硬件设备。正好,对于Android系统的手机,有一个开源的jar包能干这事儿:Android Screen Monitor(asm.jar),官网 https://code.goo...
分类:
移动开发 时间:
2015-04-02 13:28:57
阅读次数:
138
Ref:Android横竖屏切换小结Ref:Android游戏开发之横竖屏的切换(二十七)
分类:
移动开发 时间:
2015-04-02 13:15:26
阅读次数:
152
//// RootViewController.m// 头部滚动展示视图// 头部滚动广告视图#define SCREEN_SIZE [UIScreen mainScreen].bounds.size#define KImageCnt 5#define KImage_H 250#import "Ro...
分类:
移动开发 时间:
2015-04-01 21:41:24
阅读次数:
164
效果://// RootViewController.m// 头部滚动展示视图//// Created by 寒竹子 on 15/4/1.// Copyright (c) 2015年 摩天居士. All rights reserved.// 头部滚动广告视图#define SCREEN_SIZE [...
分类:
移动开发 时间:
2015-04-01 19:47:51
阅读次数:
157
打开终端输入xrandr得到如下信息Screen 0: minimum 320 x 200, current 2390 x 768, maximum 8192 x 8192LVDS connected primary 1366x768+1024+0 (normal left inverted rig...
分类:
系统相关 时间:
2015-04-01 16:59:57
阅读次数:
219
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,?WindowManager.LayoutParams.FLAG_FULLSCREEN);
?
//设置窗体始终点亮
getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN...
最近开始学习GTK+图形界面编程了,先写一些非常基础的程序。这个程序实现的功能是:获取屏幕的分辨率。/* File: ScreenParam.c
* Date: Mon Mar 23 16:41:27 HKT 2015
* Describe: Print the screen resolution
* Autor: won
*/#include
#include <s...
分类:
其他好文 时间:
2015-03-31 22:20:33
阅读次数:
176
关于手机屏幕尺寸 参考文章:https://github.com/xiangpaopao/blog/issues/8screen.width和screen.height表示手机的分辨率window.outerWidth和window.outerHeight指浏览器外沿大小(而实际上在有些手机上的显示...
分类:
其他好文 时间:
2015-03-31 10:48:41
阅读次数:
147
Let’s imagine that you’re playing the following simple computer game. The screen displays n lined-up cubes. Each cube is painted one of m colors. You are allowed to delete not more than k cubes (that d...
分类:
其他好文 时间:
2015-03-31 09:16:05
阅读次数:
141
window对象location对象navigator对象screen对象history对象一、window对象1、全局作用域2、窗口关系及框架3、窗口位置4、窗口大小5、导航和打开窗口6、间歇调用和超时调用7、系统对话框二、location对象1、查询字符串参数2、位置操作三、navigator对...
分类:
其他好文 时间:
2015-03-30 15:56:23
阅读次数:
104