首页 > 移动平台
AppleWatch___学习笔记(二)UI搭建和逻辑处理
1.UI搭建 直接开发,你会发现Apple Watch并不支持AutoLayout,WatchKit里有个类叫做WKInterfaceGroup,乍一看像是UIView,但是这货其实是用来布局的。从 Storyboard中拉一个WKInterfaceGroup出来,在属性检查器(Attribute....
分类:移动平台   时间:2015-12-01 12:52:30    收藏:0  评论:0  赞:0  阅读:356
Android 调用系统通讯录
这个过程有三步:1)许可向你的应用程序的manifest中添加读取通讯录数据的许可 2)调用Contact Picker在你的activity中,创建一个Intent,用来请求系统查找一个能够执行一个从Contacts URI的项目中发出的PICK动作的activity,Intent intent....
分类:移动平台   时间:2015-12-01 12:52:20    收藏:0  评论:0  赞:0  阅读:298
android项目获取经纬坐标
package com.example.zuobiao;import java.util.List;import android.location.Location;import android.location.LocationListener;import android.location.Lo...
分类:移动平台   时间:2015-12-01 12:51:50    收藏:0  评论:0  赞:0  阅读:283
iOS Assigning to 'id<XXXDelegate>' from incompatible type 'BViewController *__strong'
在使用代理的时候, BViewController *BVC = [[BViewController alloc]init]; self.delegate = BVC;出现这样的警告Assigning to 'id' from incompatible type 'BViewContro...
分类:移动平台   时间:2015-12-01 12:50:50    收藏:0  评论:0  赞:0  阅读:357
Android Studio快捷键快速入门
调整,Settings->IDE Settings->Editor->Appearance->Show line numbers 显示代码行数Settings->IDE Settings->Editor->Show quick doc on mouse move 悬浮显示docKeymap->Mai...
分类:移动平台   时间:2015-12-01 12:49:40    收藏:0  评论:0  赞:0  阅读:382
Android Studio一些常用的快捷键
Android Studio一些常用的快捷键
分类:移动平台   时间:2015-12-01 12:47:21    收藏:0  评论:0  赞:0  阅读:278
AppleWatch___学习笔记(一)开发思路和框架
一、开发须知 如果你没有开发过 iphone,直接来做watch,我建议你不要这么做,不是不可以,而是目前所有的第三方应用都必须基于iphone的扩展,原生的watch应用,苹果目前还没有开放给开发者,因此实际上,我们在watch上可以做的事情十分有限,或许后续apple会开放更多接口,但是目前,....
分类:移动平台   时间:2015-12-01 12:43:01    收藏:0  评论:0  赞:0  阅读:254
[Android Pro] android 4.4 Android原生权限管理:AppOps
reference : http://m.blog.csdn.net/blog/langzxz/45308199reference : http://blog.csdn.net/hyhyl1990/article/details/46842915Android原生是有应用程序权限管理的,即是AppO...
分类:移动平台   时间:2015-12-01 12:42:50    收藏:0  评论:0  赞:0  阅读:663
CF-Approximating a Constant Range
DescriptionWhen Xellos was doing a practice course in university, he once had to measure the intensity of an effect that slowly approached equilibrium...
分类:移动平台   时间:2015-12-01 12:41:30    收藏:0  评论:0  赞:0  阅读:302
android项目手势识别GestureDetector
GestureDetector一般我们会用ontouch来接收屏幕上的触摸事件,但是没办法接收滑动事件,我们可以通过这个GestureDetector来进行手势识别首先呢要把ontouch的事件交给GestureDetector // 手势来接管ontouch @Override public .....
分类:移动平台   时间:2015-12-01 12:38:20    收藏:0  评论:0  赞:0  阅读:312
iOS中几种定时器
在软件开发过程中,我们常常需要在某个时间后执行某个方法,或者是按照某个周期一直执行某个方法。在这个时候,我们就需要用到定时器。然而,在iOS中有很多方法完成以上的任务,到底有多少种方法呢?经过查阅资料,大概有三种方法:NSTimer、CADisplayLink、GCD。接下来我就一一介绍它们的用法。...
分类:移动平台   时间:2015-12-01 12:37:20    收藏:0  评论:0  赞:0  阅读:324
Android studio 添加debug keystore
Hi If you don't want to go for hard code all of this stuff , then go for below easy steps->Your project ->Your Module ->Right click on your module ...
分类:移动平台   时间:2015-12-01 12:37:10    收藏:0  评论:0  赞:0  阅读:571
android 屏幕单击位置测试
package com.example.yanlei.yl;import android.graphics.Color;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import an...
分类:移动平台   时间:2015-12-01 12:31:21    收藏:0  评论:0  赞:0  阅读:363
android 图片浏览器滑动切换图片
android 图片浏览器滑动切换图片
分类:移动平台   时间:2015-12-01 12:29:00    收藏:0  评论:0  赞:0  阅读:240
android 拍照预览
android 拍照预览
分类:移动平台   时间:2015-12-01 12:27:00    收藏:0  评论:0  赞:0  阅读:267
【转】移动端input输入placeholder垂直不居中
在移动端编写input输入框时候,为了输入文字与输入框垂直居中,一般情况下,会将input的line-height的高度等于height。但在移动端输入的时候会发现,虽然输入内容确实是垂直居中了,但是光标的位置是靠上的,导致感官上的不美观。于是对input设置的时候,首先确定字体的大小如font-s...
分类:移动平台   时间:2015-12-01 12:24:30    收藏:0  评论:0  赞:1  阅读:2637
android开发一些好的网站收集
1.在Eclipse中直接打开sqlite查看数据的插件http://www.coderzheaven.com/2011/04/18/sqlitemanager-plugin-for-eclipse/2.在线制作Buttonhttp://angrytools.com/android/button/3...
分类:移动平台   时间:2015-12-01 12:23:30    收藏:0  评论:0  赞:0  阅读:313
用虚拟机搭建IOS开发环境的一些要点
1.光盘镜像需要下载懒人安装版,后缀是.cdr2.虚拟机用VMware12或11都行,很多地方有下载3.设置好光盘,启动虚拟机时,如果弹出错误“不可恢复错误:(vcpu-0)”那么,只要找到并打开安装目录下的 XXXX.vmx 文件,使用记事本打开后,在 smc.present = "TRUE" 后...
分类:移动平台   时间:2015-12-01 12:20:00    收藏:0  评论:0  赞:0  阅读:239
IOS推荐学习网站
1> 个人博客:技术大牛唐巧:http://blog.devtang.com/blog/archives/王巍:http://www.onevcat.com破船之家:http://beyondvincent.com池建强:http://www.cnblogs.com/chijianqiang/2> ...
分类:移动平台   时间:2015-12-01 12:17:50    收藏:0  评论:0  赞:0  阅读:249
javascript中函数的call,apply及bind方法
call 方法调用一个对象的一个方法,以另一个对象替换当前对象。call([thisObj[,arg1[, arg2[, [,.argN]]]]])参数thisObj可选项。将被用作当前对象的对象。arg1, arg2,, argN可选项。将被传递方法参数序列。说明call 方法可以用来代替另一个对...
分类:移动平台   时间:2015-12-01 12:17:31    收藏:0  评论:0  赞:0  阅读:230
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!