移动平台-日排行
Introduction to AndroidAndroid provides a rich application framework that allows you to build innovative apps and games for mobile devices in a Java l...
由于公司之前的技术分享,与eventbus和otto相关,因此主要参考了网上的文章,本文以下内容主要参考angeldeviljy 大神的http://www.cnblogs.com/angeldevil/p/3715934.html 文章,特此对其表示感谢. 如若不同意引用和转载,还请劳烦大神联系我...
今天学习一下Spinner java android web package com.example.spinner;import android.app.Activity;import android.os.Bundle;im...
本人主要讲讲多年来自己对手机评测行业的观察,基于此延伸到自媒体的发展,以及自己的一些新的,观点独立有一定可取之处!...
由于项目需求,需要获取EditText光标当前所在行行号,可是翻遍Android文档、问遍度娘都没发现,于是在博客园中提问,碰见了好心人告诉了我答案,谨以以下代码献给有需要的人 1 private int getCurrentCursorLine(EditText editText) {2 ...
什么是Fragment:Android是在Android 3.0 (API level 11)开始引入Fragment的。可以把Fragment想成Activity中的模块,这个模块有自己的布局,有自己的生命周期,单独处理自己的输入,在Activity运行的时候可以加载或者移除Fragment模块。...
maveneclipse测试我是使用代理上网的。在创建maven时报以下错误:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configur...
IOS提供两种创建图形的途径:1.OpenGL.2.Quartz、Core Animation、UIKit图形支持.UIKit的图形系统1.视图绘画周期:DrawRect方法,在任何时候,当视图的一部分需要重画时会调用。触发调用的四种情况:1>对遮挡您的视图的其它视图进行移动或删除操作。2>将视图的...
第四章:Visual EffectsRounded Corners例子4.1cornerRadius源码在这里下载:http://www.informit.com/title/9780133440751[objc]view plaincopyprint?#import"ViewController....
第五章:TransformsAffine TransformsCGAffineTransform是二维的Creating a CGAffineTransform主要有三种变化方法旋转:CGAffineTransformMakeRotation(CGFloat angle)缩放:CGAffineTra...
MySQL数据库中的类型为longBlob实体类定义为:byte[] 类型映射文件配置为:type="org.springframework.orm.hibernate3.support.BlobByteArrayType异常信息:1 org.hibernate.MappingException: ...
[objc]view plaincopyprint?-(void)drawLayer:(CALayer*)layerinContext:(CGContextRef)ctx{CGFloatwidth=10.0f;//drawathickredcircleCGContextSetLineWidth(ct...
Book DescriptionPublication Date:August 12, 2013Core Animation is the technology underlying Apple’s iOS user interface. By unleashing the full power o...
第六章:Specialized Layers类别用途CAEmitterLayer用于实现基于Core Animation粒子发射系统。发射器层对象控制粒子的生成和起源CAGradientLayer用于绘制一个颜色渐变填充图层的形状(所有圆角矩形边界内的部分)CAEAGLLayer/CAOpenGLL...
使用UIBezierPath类可以创建基于矢量的路径,这个类在UIKit中。此类是Core Graphics框架关于path的一个封装。使用此类可以定义简单的形状,如椭圆或者矩形,或者有多个直线和曲线段组成的形状。1.Bezier Path 基础UIBezierPath对象是CGPathRef数据类...
android 自身提供了zip包的解压接口 1 /** 2 * 解压操作 3 * 4 * @param zipFileString 被解压的文件路径 sdcard/0/a/b/test.zip 5 * @param outPathString 解压的目的路...