原文地址:IOS6屏幕旋转详解(自动旋转、手动旋转、兼容IOS6之前系统)作者:wzyfly在iOS6之前的版本中,通常使用shouldAutorotateToInterfaceOrientation来单独控制某个UIViewController的方向,需要哪个viewController支持旋转,...
分类:
移动开发 时间:
2014-07-19 15:29:25
阅读次数:
331
本文属于原创作品,转载请注明出处并放于明显位置,原文地址:http://www.cnblogs.com/albert1017/p/3849585.html前言 在学习Android的Binder机制时,看了http://blog.csdn.net/universus/article/detail.....
分类:
移动开发 时间:
2014-07-19 15:33:54
阅读次数:
471
1、android4.2.2 '/root/origin_android/mokesoures/out/target/common/obj/APPS/ApplicationsProvider_intermediates/classes.dex' as 'classes.dex'.../root/or...
分类:
移动开发 时间:
2014-07-19 15:35:32
阅读次数:
253
错误报告:Exception raised during rendering: java.lang.System.arraycopy([CI[CII)VException details are logged in Window > Show View > Error Log问题分析:进入xml源文...
分类:
移动开发 时间:
2014-07-19 16:18:41
阅读次数:
311
首先声明这篇文章里大部分内容为来自网络,我只是做一个整理。 本人电脑型号神舟A560。 部分硬件信息CPU i3 ,集显HD3000,AR9285无线网卡,AR8151网卡。 现在可以变色龙启动Mac os10.9,声卡正常,可以正常连接有线网络,但...
分类:
移动开发 时间:
2014-07-19 16:23:39
阅读次数:
319
原因:1.新页面的Activity中,public voidonCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentVie...
分类:
移动开发 时间:
2014-07-19 16:24:23
阅读次数:
202
一、现实需求描述一般的,一个Android应用在开发到了一定阶段以后,功能模块将会越来越多,APK安装包也越来越大,用户在使用过程中也没有办法选择性的加载自己需要的功能模块。此时可能就需要考虑如何分拆整个应用了。二、解决方案提出一般有两种方式,一种是将应用按照功能分拆成多个应用,用户需要哪个就下载哪...
分类:
移动开发 时间:
2014-07-19 16:25:20
阅读次数:
350
ios7新增加的icon尺寸:76 x 76:Size for iPad 2 and iPad mini (standard resolution)120 x 120 :Size for iPhone and iPod touch (high resolution)152 x 152:Size fo...
分类:
移动开发 时间:
2014-07-19 16:26:03
阅读次数:
317
为 Activity 设置切换动画我们知道,我们可以在 AndroidManifest.xml 文件中,通过 android:theme 属性设置 Activity 的主题。主题中定义了关于 Activity 外观的很多特性。同时,主题中还可以定义 Activity 的切换动画。这是应用 Activ...
分类:
移动开发 时间:
2014-07-19 16:26:26
阅读次数:
318
XMl文件中:添加android:scrollbars="vertical"添加android:maxLines="10" //设置一页最多显示10行activity文件中:textview = (TextView)findViewById(R.id.httpCLient_textView); .....
分类:
移动开发 时间:
2014-07-19 16:36:18
阅读次数:
197
在对同时有数字英文汉字的字符串对其时,总有细微偏差,原因是没用等宽字体,等宽字体有如下:http://zh.wikipedia.org/wiki/%E7%AD%89%E5%AE%BD%E5%AD%97%E4%BD%93同时温习了一下数字的格式化:http://www.cnblogs.com/daba...
分类:
移动开发 时间:
2014-07-19 16:39:27
阅读次数:
699
Intent的中文意思是“意图,目的”的意思,可以理解为不同组件之间通信的“媒介”或者“信使”。目标组件一般要通过Intent来声明自己的条件,一般通过组件中的元素来过滤。Intent在由以下几个部分组成:动作(action),数据(data),分类(Category),类型(Type),组件(Co...
分类:
移动开发 时间:
2014-07-19 17:20:55
阅读次数:
413
EditText有一个属性:android:textCursorDrawable,这个属性是用来控制光标颜色的android:textCursorDrawable="@null","@null"作用是让光标颜色和text color一样
分类:
移动开发 时间:
2014-07-19 17:28:03
阅读次数:
303
package com.example.helloworld; import android.os.Bundle;import android.app.Activity;import android.content.Intent;import android.view.Menu;import and...
分类:
移动开发 时间:
2014-07-19 00:39:34
阅读次数:
207
Android开发的过程中,每次调用startService(Intent)的时候,都会调用该Service对象的onStartCommand(Intent,int,int)方法,然后在onStartCommand方法中做一些处理。然后我们注意到这个函数有一个int的返回值,这篇文章就是简单地讲讲i...
分类:
移动开发 时间:
2014-07-19 00:38:50
阅读次数:
218
在TestViewController1中弹出TestViewController2在TestViewController中点击按钮或者什么触发方法里面写入以下代码TestViewController2 *test2 = [[TestViewController alloc] init];UINav...
分类:
移动开发 时间:
2014-07-19 00:38:07
阅读次数:
353
android中ImageView的ScaleType属性 ScaleType的值分别代表的意义:ImageView是Android中的基础图片显示控件,该控件有个重要的属性是ScaleType,该属性用以表示显示图片的方式,共有8种取值 ScaleType.CENTER::图片大小为原始大小,.....
分类:
移动开发 时间:
2014-07-19 18:00:53
阅读次数:
236