首页 > 移动平台
Come on , Android 常用开发工具
转载自:http://codingfish.top/2015/07/07/android-developer-tools-list/Android 网站Android Developer Androuid 官网,不解释。AndroidDevTool 国人维护的Android开发工具的整理。Andro...
分类:移动平台   时间:2015-07-16 11:37:27    收藏:0  评论:0  赞:0  阅读:356
ios关于数据库第三方框架FMDB----进阶用法
概述上一篇讲述了FMDB的最基本用法,用到的例子是缓存一张学生表,表里面都是些简单的字段。然而我们在实际项目开发中,大都使用FMDB缓存数据列表,比如网易新闻的新闻列表,QQ动态列表等。遵循MVC设计模式,我们请求下来的数据一般会建成数据模型,本编要讲的就是如何用FMDB缓存数据模型。下面就以新浪微...
分类:移动平台   时间:2015-07-16 11:32:47    收藏:0  评论:0  赞:0  阅读:442
iOS学习笔记-retain/assign/strong/weak/copy/mutablecopy/autorelease区别
readwrite:是可读可写特性,需要生成getter和setter方法;readonly是之都特性,只会生成getter方法,不会生成setter方法,不希望属性在类外改变时候使用;alloc 对象分配后引用计数为1retain 对象的引用计数+1copy 一个对象变成新的对象(新内存地址) 引...
分类:移动平台   时间:2015-07-16 11:32:37    收藏:0  评论:0  赞:0  阅读:183
<转>如何在iOS 7中设置barTintColor实现类似网易和 Facebook 的 navigationBar 效果
转自:i‘m Allen的博客先给代码:https://github.com/allenhsu/CRNavigationController1. 问题的表现相信很多人在 iOS 7 的适配过程中遇到了类似这样的问题。当你试图通过设置 navigationBar.barTintColor 的时候,你陷...
分类:移动平台   时间:2015-07-16 11:32:17    收藏:0  评论:0  赞:0  阅读:177
web移动端
meta基础知识H5页面窗口自动调整到设备宽度,并禁止用户缩放页面忽略将页面中的数字识别为电话号码忽略Android平台中对邮箱地址的识别当网站添加到主屏幕快速启动方式,可隐藏地址栏,仅针对ios的safari将网站添加到主屏幕快速启动方式,仅针对ios的safari顶端状态条的样式viewport...
分类:移动平台   时间:2015-07-16 11:31:07    收藏:0  评论:0  赞:0  阅读:260
Android UI学习 - GridView和ImageView的使用
GridView: A view that shows items in two-dimensional scrolling grid. The items in the grid come from the ListAdapter associated with this view. 简单说....
分类:移动平台   时间:2015-07-16 11:30:27    收藏:0  评论:0  赞:0  阅读:151
优化移动体验的HTML5技巧
简介连轴转的刷新,不断变向的页面转换,以及tap事件的周期性的延迟仅仅是现在移动web环境令人头疼事情的一小部分。开发者正试图尽可能的靠近原生应用,但却经常被各种兼容问题,系统复位,和僵化的框架打乱步调。在这篇文章中,我们将讨论创建一个移动HTML 5 web app需要的最低限度的东西。主要观点是...
分类:移动平台   时间:2015-07-16 11:29:57    收藏:0  评论:0  赞:0  阅读:268
Android笔记 自定义控件时drawText字符串宽度的3种计算方式
我们经常在做自定义控件的时候,有些控件是需要图文一起显示的,显示文字就肯定要用到drawText 方法,而drawText(str, x, y, paint)有两个参数x 和 y是绘制的坐标,我们必须确定这个坐标之后,才能知道从哪里绘制,有时候我们绘制完一个字符串,而想在这个字符串的后面重新...
分类:移动平台   时间:2015-07-16 11:29:17    收藏:0  评论:0  赞:0  阅读:217
Android ImageView图片自适应
网络上下载下来的图片自适应:android:adjustViewBounds="true"(其详细解释在下面)另外,android:background="@drawable/imageview_background"是给图片加了一个边框,其中imageview_background.xml: I....
分类:移动平台   时间:2015-07-16 11:28:09    收藏:0  评论:0  赞:0  阅读:238
ios awakeFromNib 和 initWithCoder:
During the instantiation process, each object in the archive is unarchived and then initialized with the method befitting its type. Objects that confo...
分类:移动平台   时间:2015-07-16 11:25:47    收藏:0  评论:0  赞:0  阅读:562
Android开发之动画
1.透明动画---AlphaAnimationa.动态java代码实现button按钮的透明效果 1 rootView.findViewById(R.id.btnAnimation).setOnClickListener(new OnClickListener() { 2 ...
分类:移动平台   时间:2015-07-16 11:25:27    收藏:0  评论:0  赞:0  阅读:225
iOS学习笔记-ViewController/生命周期
ViewController是iOS应用程序中重要的部分,是应用程序数据和视图之间的重要桥梁,ViewController管理应用中的众多视图。iOS的SDK中提供很多原生ViewController,以支持标准的用户界面,例如表视图控制器(UITableViewController)、导航控制器(...
分类:移动平台   时间:2015-07-16 11:25:17    收藏:0  评论:0  赞:0  阅读:251
Android系统五大布局详解Layout
我们知道Android系统应用程序一般是由多个Activity组成,而这些Activity以视图的形式展现在我们面前, 视图都是由一个一个的组件构成的。组件就是我们常见的Button、TextEdit等等。那么我们平时看到的Android手机中那些漂亮的界面是怎么显示 出来的呢?这就要用到Andro...
分类:移动平台   时间:2015-07-16 11:24:27    收藏:0  评论:0  赞:0  阅读:292
android network develop(3)----Xml Parser
Normally, there are three type parser in android. Xmlpullparser, DOM & SAX.Google recomand Xmlpullparser to doing this.But to parser xml files or inpu...
分类:移动平台   时间:2015-07-16 11:17:37    收藏:0  评论:0  赞:0  阅读:307
ios上 更改 状态栏(UIStatusBar)
摘要ios上 更改状态栏(UIStatusBar)的颜色iosUIStatusBarstatusBar状态栏更改状态栏颜色目录[-]IOS上 关于状态栏的相关设置(UIStatusBar)知识普及设置statusBar的【前景部分】1.plist设置statusBar2.程序代码里设置statusB...
分类:移动平台   时间:2015-07-16 11:17:17    收藏:0  评论:0  赞:0  阅读:249
IOS的启动画面的适配问题
iPhone4,iPhone4s 分辨率960*640 长宽比1.5iPhone5,iPhone5s 分辨率1136*640 长宽比1.775iPhone6 分辨率1334*750 长宽比1.778iPhone6+ 分辨率1920*1080 长宽比1.777可以看出只有iPhone4和iPh...
分类:移动平台   时间:2015-07-16 11:16:47    收藏:0  评论:0  赞:0  阅读:197
Android ActionBar以及menu的代码设置样式
menu部分xml代码 1 2 3 4 8 9 14 15 16 21 25 29 Menu中overflower菜单图标显示实现【重写onMenuOpened方法,使用反射原理】 1 /** 2 * 显示o...
分类:移动平台   时间:2015-07-16 11:15:27    收藏:0  评论:0  赞:0  阅读:317
Android用ImageView显示本地和网上的图片
ImageView是Android程序中经常用到的组件,它将一个图片显示到屏幕上。在UI xml定义一个ImageView如下:public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceStat...
分类:移动平台   时间:2015-07-16 11:12:07    收藏:0  评论:0  赞:0  阅读:206
Android - dhroid 开发框架
extends:http://www.eoeandroid.com/thread-326973-1-1.html开源中国地址:http://www.oschina.net/p/dhroid开源项目地址:http://git.oschina.net/tengzhinei/dhroid点我下载dhroi...
分类:移动平台   时间:2015-07-16 11:11:17    收藏:0  评论:0  赞:0  阅读:360
如何使用 Android Studio 的 git hub 功能
This article will explain how to use GitHub with Android Studio.Firstly, let’s login togithub.comand create a new repository. From the top right corne...
分类:移动平台   时间:2015-07-16 11:08:57    收藏:0  评论:0  赞:0  阅读:304
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!