virtualenv virtualenv 的作用:为单个项目创建独立的python虚拟环境 virtualenv的使用 : 1.通过如下命令安装virtualenv 2.创建虚拟环境: 此命令表示创建一个名为env27的虚拟环境。每个虚拟环境都包含一个独立的env27/bin/python和env
分类:
移动开发 时间:
2016-03-14 21:42:05
阅读次数:
487
Conversion to Dalvik format failed: Unable to execute dex 原因是包存在重复,把没有用到的包删除几个试试。 logcat不能用了,重启吧:先关闭logcat view,再打开;先关闭eclipse,再打开;先关闭手机,再打开;先关闭电脑再打
分类:
移动开发 时间:
2016-03-14 21:35:03
阅读次数:
230
//校验是否全由数字组成 //校验登录名:只能输入5-20个以字母开头、可带数字、“_”、“.”的字串 //校验用户姓名:只能输入1-30个以字母开头的字串 //校验密码:只能输入6-20个字母、数字、下划线 //校验普通电话、传真号码:可以“+”开头,除数字外,可含有“-” //校验手机
分类:
移动开发 时间:
2016-03-14 21:33:28
阅读次数:
291
在横向ProgressBar上增加自定义文本,并用进度显示比例
分类:
移动开发 时间:
2016-03-14 21:31:54
阅读次数:
351
1、检索音视频PHFetchOptions *allPhotosOptions;@property (nonatomic, strong) PHFetchResult *assetsFetchResults;if (allPhotosOptions == nil) { allPhotosOptions = [[PHFetchOptions alloc] init];...
分类:
移动开发 时间:
2016-03-14 18:59:20
阅读次数:
1101
RawText "123" must be wrapped in an explicit component"123"行文本必须包装在一个明确定义组件里...
分类:
移动开发 时间:
2016-03-14 18:58:56
阅读次数:
2026
Jquery Mobile中提供了丰富的事件处理和检测机制。
1.滚动事件
在Jquery Mobile中,使用scrollStart和scrollStop事件来监听用户开始滚动和停止滚动的事件。以scrollStart为例,使用代码如下:
$(document).on("scrollstart",function(){
alert("开始滚动!");
});
2.界面相关的事件
一...
分类:
移动开发 时间:
2016-03-14 18:57:15
阅读次数:
264
user-agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36 user-agent:Mozilla/5.0 (iPhon
分类:
移动开发 时间:
2016-03-14 18:51:19
阅读次数:
251
1.添加代理UIImagePickerControllerDelegate 2.设置点击跳转事件 - (IBAction)picButton:(UIButton *)sender { NSLog(@"我的相册"); if([UIImagePickerController isSour
分类:
移动开发 时间:
2016-03-14 18:44:52
阅读次数:
211
本文译自:Reducing the size of my App Q: 怎样才能让我的程序安装包小一点,让程序的下载和安装更快速? A: 本文收集了一些减小程序安装包大小的相关技巧(当第一次下载和安装程序时)。如果是针对升级程序的话,可以看这篇文章(减小iOS应用程序升级时所需下载的大小)(这与第一
分类:
移动开发 时间:
2016-03-14 18:36:57
阅读次数:
232
Here's to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes. The ones who see things differently. They're
分类:
移动开发 时间:
2016-03-14 18:36:41
阅读次数:
219
本文译自:Apple Watch: WatchKit App Essentials 上一篇文章简单介绍了 WatchKit,在开发 Apple Watch 应用程序时由两部分构成:WatchKit 应用程序和 WatchKit 扩展。 为了程序界面的正常使用,这两部分需要一起运行。用户与应用程序交互
分类:
移动开发 时间:
2016-03-14 18:29:52
阅读次数:
233
CALayer(层)是屏幕上的一个矩形区域,在每一个UIView中都包含一个根CALayer,在UIView上的所有视觉效果都是在这个Layer上进行的。 CALayer外形特征主要包括: 1、层的大小尺寸 2、背景色 3、内容(可以填充图片或者使用Core Graphics绘制的内容) 4、矩
分类:
移动开发 时间:
2016-03-14 18:20:04
阅读次数:
254
1. 摘抄自: http://www.cnblogs.com/top5/archive/2012/05/04/2482328.html
分类:
移动开发 时间:
2016-03-14 18:16:56
阅读次数:
187