1.定义attr.xml中定义 ...
分类:
移动平台 时间:
2015-04-26 13:33:16
收藏:
0 评论:
0 赞:
0 阅读:
239
Android游戏虚拟机算法JNI尽量不要使用setImageBitmap或setImageResource或BitmapFactory.decodeResource来设置一张大图,因为这些函数在完成decode后,最终都是通过java层的createBitmap来完成的,需要消耗更多内存。因此,改...
分类:
移动平台 时间:
2015-04-26 13:32:06
收藏:
0 评论:
0 赞:
0 阅读:
218
IOS中对图片进行重绘处理的方法总结 一、CGImageRef是什么 CGImageRef是定义在QuartzCore框架中的一个结构体指针,用C语言编写。在CGImage.h文件中,我们可以看到下面的定义: typedef?struct?CGImage?*CGImag...
分类:
移动平台 时间:
2015-04-26 12:29:56
收藏:
0 评论:
0 赞:
0 阅读:
248
题目描述Write an algorithm to determine if a number is “happy”.A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares...
分类:
移动平台 时间:
2015-04-26 12:27:16
收藏:
0 评论:
0 赞:
0 阅读:
216
在学习Android应用生命周期章节中,书本上写的有点笼统,较难理解。为了理解的更深,写了个程序测试一下。 1、在layout文件夹中建一个dialog_layout.xml 2、在layout文件夹中再建一个normal_layout.xml 3、修改la...
分类:
移动平台 时间:
2015-04-26 12:18:06
收藏:
0 评论:
0 赞:
0 阅读:
248
一前言在谈到这个话题的时候,脑海里面千头万绪,因为它涉及到了方方面面的知识… 比如Activity管理,窗口添加,Token权限验证等等…既然这么复杂,那么我们就复杂的问题简单化,可以分成下面几个步骤进行讲解。1. Android里面窗口这个概念的分析。2. Android里面窗口的类型3. ...
分类:
移动平台 时间:
2015-04-26 12:16:46
收藏:
0 评论:
0 赞:
0 阅读:
197
从上图中可以看出,Android系统架构为四层结构,从上层到下层分别是应用程序层(Applications)、应用程序框架层 (ApplicationFramework)、系统运行库层(Libraries)以及Linux内核层(LinuxKernel),分别介绍 如下:1.应用程序层(Applica...
分类:
移动平台 时间:
2015-04-26 12:10:06
收藏:
0 评论:
0 赞:
0 阅读:
318
1 通过AppDelegate 实现App进入后台事件方法- (void)applicationDidEnterBackground:(UIApplication *)applicationAPP进入前台的事件方法- (void)applicationWillEnterForeground:(UIA...
分类:
移动平台 时间:
2015-04-26 12:09:36
收藏:
0 评论:
0 赞:
0 阅读:
290
ios的概述:ios 为apple手持设备系统;OS X 为apple的macbook、imac、mac min等的操作系统;应用程序的格式:dmg appiphone 第一代 2007 6月iphone 3G 第二代 2008 7月iphone 3GS 第三代 2009 6月iphone 4...
分类:
移动平台 时间:
2015-04-26 12:08:16
收藏:
0 评论:
0 赞:
0 阅读:
327
为什么要联调A:正在疯狂coding的时候,产品MM过来,焦急的说两周前的一个页面在手机上显示略微错位,但小本上显示正常!B:本着爱折腾的原则,作为大前端,在移动互联网时代的基本技能。联调的方式:1:ADB Chrome extension2:Opera Mobile3:weinre4:Adobe ...
分类:
移动平台 时间:
2015-04-26 12:07:06
收藏:
0 评论:
0 赞:
0 阅读:
223
转:http://blog.csdn.net/crazychickone/article/details/36413671/* 注意:要先导入ObjectC运行时头文件,以便调用runtime中的方法*/#import@implementationNSObject (PropertyListing)...
分类:
移动平台 时间:
2015-04-26 12:03:36
收藏:
0 评论:
0 赞:
0 阅读:
314
1.下载源代码:
2.点击按钮
3.找到下载的source的位置,添上路径
4,这样就可以查看源代码了...
分类:
移动平台 时间:
2015-04-26 10:56:16
收藏:
0 评论:
0 赞:
0 阅读:
212
Android控件监听方面,用接口实现监听是最好的,在Android 本身就提供了各种控件监听接口,我们只要按照这样实现,看起来代码会很整洁。实现的效果也是很好的,下面我列举了常用控件的接口监听,layout ,checkbox,RadioGroup,以及listview的单击或者长按监听。下面请看代码,有注释。
本文项目源码地址: 点击此处下载
转载请注明出处: http://blog.csdn.net/qq_16064871...
分类:
移动平台 时间:
2015-04-26 10:54:36
收藏:
0 评论:
0 赞:
0 阅读:
249
题目链接:happy-number
Write an algorithm to determine if a number is "happy".
A happy number is a number defined by the following process: Starting with any positive integer, replace the numbe...
分类:
移动平台 时间:
2015-04-26 10:53:26
收藏:
0 评论:
0 赞:
0 阅读:
200
ASCE1885的移动开发技术周报(第二期)...
分类:
移动平台 时间:
2015-04-26 10:52:56
收藏:
0 评论:
0 赞:
0 阅读:
215
工具名称、介绍及下载地址:
apktool(获取资源文件)
作用:获取资源文件,可以提取出图片文件和布局文件进行使用查看。
下载地址:
dex2jar(获取源码文件)
作用:将apk反编译成java源码(classes.dex转化成jar文件)。
下载地址:
jd-gui(查看源码)
作用:查看APK中classes.dex转化成出的ja...
分类:
移动平台 时间:
2015-04-26 10:51:16
收藏:
0 评论:
0 赞:
0 阅读:
296
我的就有,要有这个必须具备两点:第一,你使用的AVD必须在android 4.0(API14)以上,因为4.0一下的模拟器都没有这;第二,打开你的Android SDK Manager里面你必须安装了如下插件,才行的,如果你安装了就会出现的我的就有,要有这个必须具备两点:第一,你使用的AVD必须在a...
分类:
移动平台 时间:
2015-04-26 10:49:25
收藏:
0 评论:
0 赞:
0 阅读:
403
题目:Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining...
分类:
移动平台 时间:
2015-04-26 10:48:55
收藏:
0 评论:
0 赞:
0 阅读:
296
android:columnWidth设置列的宽度。关联的方法为:setColumnWidth(int)stretchMode属性值的作用是设置GridView中的条目以什么缩放模式去填充空间。参数stretchMode 可选值:NO_STRETCH,STRETCH_SPACING,STRETCH_...
分类:
移动平台 时间:
2015-04-26 10:43:35
收藏:
0 评论:
0 赞:
0 阅读:
1404
UITableView在iOS中开发的重要地位是毋庸置疑的,基本上应用中用到的比例是一半左右,而且大部分情况都是需要自定义单元格的,这样用户看到的App才能更有美感。之前写过UITableView的基本用法,如果对UITableView不是很熟悉可以参考本人之前的博客,因此很多UITableView...
分类:
移动平台 时间:
2015-04-26 10:36:46
收藏:
0 评论:
0 赞:
0 阅读:
228