SEO 优化部分 页面标题<title>标签(head 头部必须) <title>your title</title> 页面关键词 keywords <meta name="keywords" content="your keywords"> 页面描述内容 description <meta nam ...
分类:
移动开发 时间:
2016-11-11 20:29:35
阅读次数:
242
http://www.cnblogs.com/xitang/p/4239818.html 0)Render Performance 大多数用户感知到的卡顿等性能问题的最主要根源都是因为渲染性能。从设计师的角度,他们希望App能够有更多的动画,图片等时尚元素来实现流畅的用户体验。但是Android系统 ...
分类:
移动开发 时间:
2016-11-11 20:19:31
阅读次数:
288
http://www.android-doc.com/ http://www.android-studio.org/ http://www.androiddevtools.cn/ ...
分类:
移动开发 时间:
2016-11-11 20:12:46
阅读次数:
184
有如下log: android.view.InflateException: Binary XML file line #2: Error inflating class com.hankkin.SelectMutiImgDemo.view.SquareLayout at com.king.phot ...
分类:
移动开发 时间:
2016-11-11 20:13:02
阅读次数:
278
1)当你的format格式是 NSDateFormatter* dateFormatter = [[[NSDateFormatter alloc] init] autorelease];[dateFormatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"]; // ...
分类:
移动开发 时间:
2016-11-11 20:10:04
阅读次数:
229
ios 找出导航栏下面的黑线(可隐藏,改变样式等) http://www.jianshu.com/p/effa4a48f1e3 设置UIImage的渲染模式:UIImage.renderingMode http://blog.csdn.net/djxiaoyu_haha/article/detail ...
分类:
移动开发 时间:
2016-11-11 20:08:43
阅读次数:
238
前段时间公司要求做一个统计,用swift3.0写的,因此整理了一下demo,直接上图 代码下载地址:https://github.com/minyahui/MYHChartView ...
分类:
移动开发 时间:
2016-11-11 20:04:59
阅读次数:
303
DOS命令操作 1、win+R 进入 运行界面 2、使用cmd命令中进入DOS界面 3、找到 海马模拟器adb所在位置 输入 [此路径 ].exe connect 127.0.0.1:26944 后执行 如果遇到海马玩模拟器无法运行app,请参考以下方法 第一种方法: 1.查看进程找到adb.exe ...
分类:
移动开发 时间:
2016-11-11 20:04:05
阅读次数:
301
you have to insert 2 lines "StrictMode" on MainActivity Class, example's below: 在onCreate()方法下一行添加StrictMode 例子: public class MainActivity extends Act ...
分类:
移动开发 时间:
2016-11-11 19:49:39
阅读次数:
243
public Boolean IsMobileDevice() { string[] mobileAgents =new []{ "iphone", "android", "phone", "mobile", "wap", "netfront", "java", "opera mobi", "ope ...
分类:
移动开发 时间:
2016-11-11 19:47:42
阅读次数:
287
http://blog.csdn.net/bd_zengxinxin/article/details/52525781 自己编写App的时候,有时会感觉界面卡顿,尤其是自定义View的时候,大多数是因为布局的层次过多,存在不必要的绘制, 或者onDraw等方法中过于耗时。那么究竟需要多快,才能给用户 ...
分类:
移动开发 时间:
2016-11-11 19:43:09
阅读次数:
318
打开项目的AndroidManifest.xml文件,将android:targetSdkVersion的版本值 修改为低版本, 如android:targetSdkVersion="21"改为“20”或以下的值。 修改完后。( 再Project -> Context Menu -> Android ...
分类:
移动开发 时间:
2016-11-11 19:38:47
阅读次数:
209
前言本篇讲的是使用 “Intent.ACTION_PICK” 来选取图片并进行剪裁加载的操作 , 包括以下两个功能
从本地相册读取图片进行剪裁
从照相机获取图片进行剪裁
注意: 本篇使用一个工具类Pi...
分类:
移动开发 时间:
2016-11-11 17:45:23
阅读次数:
293
本文算是一篇漫谈,谈一谈关于android开发中工程初始化的时候如何在初期我们就能搭建一个好的架构。关于android架构,因为手机的限制,目前我觉得也确实没什么大谈特谈的,但是从开发的角度,看到整齐的代码,优美的分层总是一种舒服的享受的。从艺术的角度看,其实我们是在追求一种美。 本文先分析几个当今 ...
分类:
移动开发 时间:
2016-11-11 17:25:29
阅读次数:
256
Axios是一个基于promise的HTTP库 http://chuansong.me/n/394228451820 Lodash是一个JavaScript的函数工具集 http://www.css88.com/doc/lodash/#_capitalizestring ...
分类:
移动开发 时间:
2016-11-11 17:21:40
阅读次数:
257
代码已经整理好,效果如下图:GravitySnapHelper:/*
*Copyright(C)2016TheAndroidOpenSourceProject
*Copyright(C)2016RúbenSousa
*
*LicensedundertheApacheLicense,Version2.0(the"License");
*youmaynotusethisfileexceptincompliancewiththeLicense.
*Youmayobtainacopyo..
分类:
移动开发 时间:
2016-11-11 15:30:36
阅读次数:
378