码迷,mamicode.com
首页 > 移动开发
Intel HAXM is required to run this AVD. VT-x is disabled in BIOS.
IntelHAXMisrequiredtorunthisAVD.VT-xisdisabledinBIOS.进入BIOS开机按F2(或者Fn+F2)Configuration下的IntelVirtualTechnology改为Enabled(按确定进行修改)
分类:移动开发   时间:2016-09-26 18:17:16    阅读次数:726
Android Studio第十四期 - Swipebacklayout最新版
支持了6.0~代码已经整理好,效果如下图:地址:https://github.com/geeklx/MyApplication/tree/master/p011_swipebacklayout
分类:移动开发   时间:2016-09-26 18:12:12    阅读次数:184
CTO对话:云端融合下的移动技术创新
云端融合真的来了?快听CTO们怎么讲云端融合下,技术创新怎么破?快听CTO箴言云喊了很多年,对于很多普通的技术人,心中有很多疑问:云端融合到底意味着什么,对公司的技术体系有什么影响,未来又会走向何方,有哪些技术上的创新机会正在发生和将要发生?在2016AppCan移动开发..
分类:移动开发   时间:2016-09-26 18:12:59    阅读次数:330
android的布局练习
<TableLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"android:stretchColumns="1"tools:context=".MainActivity"><Tabl..
分类:移动开发   时间:2016-09-26 18:11:21    阅读次数:177
在议安卓中的消息机制
每一个Context都有一个Looper处理各个Handler发送过来的消息,Looper处理消息的函数是: 这里msg是Handler传送给Looper的消息,msg绑定了Handler,这样就不会出现Message搞错Handler的情况,在看Handler中的dispatchMessge(.. ...
分类:移动开发   时间:2016-09-26 18:07:33    阅读次数:237
iOS 设置navigationBar背景
- (void)viewWillDisappear:(BOOL)animated { [super viewWillDisappear:animated]; navBarHairlineImageView.hidden = NO; [self.navigationController.navigat ...
分类:移动开发   时间:2016-09-26 18:03:22    阅读次数:258
安全-分析深圳电信的新型HTTP劫持方式
ISP的劫持手段真是花样百出,从以前的DNS(污染)劫持到后来的共享检测,无不通过劫持正常的请求来达到他们的目的。 之前分析过通过劫持HTTP会话,插入iframe来检测用户后端有无共享行为,但后来移动终端的发展导致ISP开始有所收敛,因为即使检测出来也不敢断用户的网了。 可是现在又出了新的花样…… ...
分类:移动开发   时间:2016-09-26 18:00:17    阅读次数:222
uiautomator跑安卓端UI testing
用uiautomator做安卓的app端的UI testing的环境搭建及编jar包和运行case的步骤如下: 1、新建java工程 2、右键properties, 添加junit4的library,并添加android.jar和uiautomator的jar包依赖 3、在工程下新建package, ...
分类:移动开发   时间:2016-09-26 17:58:11    阅读次数:243
iOS 选择的照片或者拍照的图片上添加日期水印
1..引入框架 #import "CLLocation+GPSDictionary.h"#import "NSDictionary+CLLocation.h" #import <AssetsLibrary/AssetsLibrary.h> 2. - (void) imagePickerControl ...
分类:移动开发   时间:2016-09-26 17:55:59    阅读次数:263
ios xcode 下 报出 ”xx“is missing from working copy 的问题
ios xcode 下 报出 ”xx“is missing from working copy 的问题 ...
分类:移动开发   时间:2016-09-26 17:55:05    阅读次数:160
iOS 设置tableview头部不可以向下拉动..
- (void)scrollViewDidScroll:(UIScrollView *)scrollView { CGPoint point = scrollView.contentOffset; if (point.y <= - 64) { self.tableView.contentOffset ...
分类:移动开发   时间:2016-09-26 17:56:02    阅读次数:174
李洪强iOS开发之 - 指定刷新tableview的某一组
李洪强iOS开发之 - 指定刷新tableview的某一组 ...
分类:移动开发   时间:2016-09-26 17:50:01    阅读次数:157
iOS开发之获取系统相册ALAssetLibrary
ALAssetsLibrary包含,ALAssetsLibrary,ALAssetsGroup,ALAsset,ALAssetsFilter,ALAssetRepresentation几个类 1、框架解析 (1) ALAssetsLibrary ALAssetsLibrary类可以实现查看相册列表, ...
分类:移动开发   时间:2016-09-26 17:49:48    阅读次数:311
Android 设置alpha值来制作透明与渐变效果的实例
Android系统支持的颜色是由4个值组成的,前3个为RGB,也就是我们常说的三原色(红、绿、蓝),最后一个值是A,也就是Alpha。这4个值都在0~255之间。颜色值越小,表示该颜色越淡,颜色值越大,表示该颜色越深。如果RGB都是0,就是黑色,如果都为255,就是白色。Alpha也需要在0~255 ...
分类:移动开发   时间:2016-09-26 17:48:33    阅读次数:206
iOS AFNetWorking 下载pdf文档
+ (void)downLoadPdf:(NSString *)url pdf_id:(NSString *)pdf_id block:(APIFilePath)pdfFilePath { NSMutableDictionary *mPdf_dic = [NSMutableDictionary di ...
分类:移动开发   时间:2016-09-26 17:48:33    阅读次数:291
安卓app中嵌入一个H5页面,当手机系统设置字体变大时,如何使H5页面的字体不会随用户自己调整的系统字体变化而变化?
webview.getSettings().setTextZoom(100);WebView加上这个设置后,WebView里的字体就不会随系统字体大小设置发生变化了. https://segmentfault.com/q/1010000006068362?_ea=1015158 ...
分类:移动开发   时间:2016-09-26 17:43:49    阅读次数:172
iOS 汉字转拼音
- (NSString *)getFirstString:(ICCustom *)custom { NSMutableString *source = [custom.merchantAbbreviation mutableCopy]; if(source && custom.merchantAbb ...
分类:移动开发   时间:2016-09-26 17:45:16    阅读次数:216
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!