码迷,mamicode.com
首页 > 移动开发
测试App运行状态
示例代码: 1.首次运行打印出来的消息是: 2016-06-30 17:17:19.610 测试状态改变[53450:338456] application:didFinishLaunchingWithOptions: 2016-06-30 17:17:19.613 测试状态改变[53450:338 ...
分类:移动开发   时间:2016-06-30 18:19:53    阅读次数:146
Android Studio 快捷键
Alt+回车 导入包,自动修正Ctrl+N 查找类Ctrl+Shift+N 查找文件Ctrl+Alt+L 格式化代码Ctrl+Alt+O 优化导入的类和包Alt+Insert 生成代码(如get,set方法,构造函数等)Ctrl+E或者Alt+Shift+C 最近更改的代码Ctrl+R 替换文本Ct ...
分类:移动开发   时间:2016-06-30 18:19:04    阅读次数:241
Android Programming: Pushing the Limits -- Chapter 6: Services and Background Tasks
什么时候使用Service: @、任何与用户界面无关的操作,可移到后台线程,然后由一个Service来控制这个线程。 服务类型: @、First is the one that performs work for the application independent of the user’s i ...
分类:移动开发   时间:2016-06-30 18:18:14    阅读次数:258
ios 跨页返回,从navigationController 删除指定页面
...
分类:移动开发   时间:2016-06-30 18:18:07    阅读次数:445
适配iOS 7 和iOS 8屏幕尺寸宏定义
#define IS_IOS8_0 ([[[UIDevice currentDevice] systemVersion] floatValue] < 8.0) #define WIDTH [UIScreen mainScreen].bounds.size.width #define HEIGHT [ ...
分类:移动开发   时间:2016-06-30 18:17:10    阅读次数:156
ios开发解决遍历删除数组对象报错
// 删除对应数据 // for (OrderModel *order in self.OrderList) { // // NSLog(@"%ld %ld",order.tagBut,(long)btn.tag); // // if (order.tagBut==btn.tag) { // /// ...
分类:移动开发   时间:2016-06-30 18:13:05    阅读次数:166
Creating your first iOS Framework
转自:https://robots.thoughtbot.com/creating-your-first-ios-framework If you’ve ever tried to create your own iOS framework, you know that it’s not for t ...
分类:移动开发   时间:2016-06-30 18:15:12    阅读次数:343
Android Studio 字体大小和背景色的设置
豆绿色的RGB值:#C7EDCC 1.打开Android Studio——>Ctrl+Alt+s 或者 File——>Settings 2.在弹窗中选中“Colors&Fonts”——> 点击Save as,自定义一个主题 ...
分类:移动开发   时间:2016-06-30 18:12:01    阅读次数:157
iOS App Icon Template 5.0
Ref:http://www.iosicontemplate.com Ref:https://appicontemplate.com ...
分类:移动开发   时间:2016-06-30 18:10:11    阅读次数:325
Android Studio设置行宽、格式化断行
1、设置行宽 就是那条右标准线的位置:Setting-->Editor-->Code Style,右侧找到Right margin (columns), 默认值是100,公司的显示器分辨率是1680*1050,设置成120比较合适 2、设置格式化的时候自动断行到行宽位置 这样就不用往右拖看代码了:S ...
分类:移动开发   时间:2016-06-30 18:09:29    阅读次数:453
ios pod库更新到1.0或1.0.1之正确修改podfile文件
今天看到cocopods都更新到1.0.1了,之前什么时候更新到的1.0都没发现,刚刚更新一下之后,立马出现了一大堆的错误。 如果没有更新的话,建议不要更新!!!书写麻烦了! 现在记录如何一步一步去除错误的: 1、pod --version 查看版本号,现在如果看小于1.0.1 输入 pod rep ...
分类:移动开发   时间:2016-06-30 18:10:58    阅读次数:316
iOS 文字转化成图片
//文字转化成图片 -(UIImage *)imageFromText:(NSArray*)arrContent withFont:(CGFloat)fontSize withTextColor:(UIColor *)textColor withBgImage:(UIImage *)bgImage ...
分类:移动开发   时间:2016-06-30 18:05:39    阅读次数:158
(转载)APP测试点总结
以下所有测试最后必须在真机上完整的执行1、安装、卸载测试 在真机上的以及通过91等第三方的安装与卸载 安装在手机上还是sd卡上 2、启动app测试3、升级测试 数字签名、升级覆盖安装、下载后手动覆盖安装、跨版本升级、升级后可以正常使用。 覆盖安装要确保数据库有字段更新的话,能正常更新,否则就容易导致 ...
分类:移动开发   时间:2016-06-30 18:02:59    阅读次数:166
Android Programming: Pushing the Limits -- Chapter 5: Android User Interface Operations
多屏幕 @、Android 4.2 开始支持多屏幕。 @、举例: public class SecondDisplayDemo extends Activity { private Presentation mPresentation; @Override protected void onCrea ...
分类:移动开发   时间:2016-06-30 17:55:12    阅读次数:293
Android Studio 主题、字体大小的设置
1、 Android Studio 主题的设置: 设置Android Studio 自带的主题 设置第三方主题 2、 Android Studio 字体的设置 设置左面包名的字体大小 设置右面代码编辑界面字体大小 1.1 设置Android Studio 自带的主题及包名字体大小: 1.2 导入第三 ...
分类:移动开发   时间:2016-06-30 17:54:51    阅读次数:187
Linux React-Native Android开发环境搭建(附报错信息)
参考:http://wiki.jikexueyuan.com/project/react-native/GettingStarted.html1. 安装nvm参考:https://github.com/creationix/nvm#installationwget -qO- https://raw. ...
分类:移动开发   时间:2016-06-30 17:55:37    阅读次数:229
Android——Android和SVN::::SVN+delete项目
SVN使用笔记(比较详细) http://www.cnblogs.com/merray/p/4182380.html 删除项目 http://jingyan.baidu.com/article/c74d6000813b2b0f6b595d48.html TotoiseSVN的基本使用方法 http: ...
分类:移动开发   时间:2016-06-30 17:55:40    阅读次数:179
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!