码迷,mamicode.com
首页 >  
搜索关键字:implementing screen    ( 3207个结果
Android中Parcelable接口用法
1. Parcelable接口 Interface for classes whose instances can be written to and restored from a Parcel。 Classes implementing the Parcelable interface must also have a static field called CREATOR, ...
分类:移动开发   时间:2015-03-09 21:01:37    阅读次数:224
13.screen对象
screen对象用于获取用户的屏幕信息。语法:window.screen.属性对象属性:
分类:其他好文   时间:2015-03-09 15:54:05    阅读次数:101
unity3d 参考坐标系
【狗刨学习网】 参考坐标系(Reference Coordinate System)列表是让你指定用于变换(移动move、旋转rotate和缩放scale)的坐标系。选项包括视图坐标view,屏幕坐标screen,世界坐标world,父坐标parent,局部坐标local,网格坐标grid和拾取坐标pick。 在屏幕坐标系下,所有的视图(包括***图perspective)...
分类:编程语言   时间:2015-03-08 18:51:12    阅读次数:473
Android获取屏幕分辨率官方推荐的新方法
WindowManager wm = this.getWindowManager(); Point screenAttribute = new Point(); wm.getDefaultDisplay().getSize(screenAttribute); Toast.makeText(this, "Screen Width:" + screenAttribute.x +",Scre...
分类:移动开发   时间:2015-03-08 15:47:56    阅读次数:159
ios 中的半屏幕底部弹出框
static UIView *modalView;if (modalView) { [modalView removeFromSuperview]; modalView = nil; return; } CGRect screen = [...
分类:移动开发   时间:2015-03-06 18:33:11    阅读次数:311
crt批量备份网络设备脚本
利用vbs脚本通过secureCRT远程登录来批量备份网络设备脚本使用:打开secureCRT然后选择脚本,运行此脚本就可此脚本调用e:/设备备份/ip.txt文件,此文件内格式:ip地址用户名密码设备名#$language="VBScript" #$interface="1.0" crt.Screen.Synchronous=True SubMain ConstForRe..
分类:其他好文   时间:2015-03-06 17:25:37    阅读次数:223
【起航计划 022】2015 起航计划 Android APIDemo的魔鬼步伐 21 App->Launcher Shortcuts 为某个非主Activity在Home Screen上建立一个快捷方式
Android 操作系统对于含有下列属性的Activity会在应用程序管理器(Launcher)显示一项,一般这个Activity对应于某个应用的主Activity。此外,如果用户想在设备的Home Screen上添加应用的快捷方式,可以在Launcher中长按这个应用的图标,Android系统会自...
分类:移动开发   时间:2015-03-06 12:34:58    阅读次数:160
启动服务成功后OK对齐显示(函数调用)
#屏幕的大小 SCREEN=`stty-F/dev/consolesize`2>/dev/null#默认显示的是横排为25竖排为80 COLUMNS=${SCREEN#*} [-z$COLUMNS]&&COLUMNS=80#当不存在/dev/console文件时候,直接设置COLUMNS为80 SPA_COL=$[$COLUMNS-14]#总长度-尾部显示字符的大小(由于显示为[OK]或..
分类:其他好文   时间:2015-03-05 19:38:39    阅读次数:179
DispatchTouchEvent & OnInterceptTouchEvent & onTouchEvent的含义和区别
1.DispatchTouchEvent      Pass the touch screen motion event down to the target view, or this view if it is the target.      传递触摸事件到目标视图,或者他就是目标视图。 情况1:return true 则事件只...
分类:其他好文   时间:2015-03-05 19:29:35    阅读次数:212
Scrapy安装
Scrapy安装介绍一、 Scrapy简介Scrapy is a fast high-level screen scraping and web crawling framework, used to crawl websites and extract structured data from t...
分类:其他好文   时间:2015-03-05 14:40:26    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!