http://blog.csdn.net/zoeice/article/details/8068671importjava.util.Vector;importandroid.content.Context;importandroid.graphics.Bitmap;importandroid.gr...
分类:
其他好文 时间:
2014-10-23 19:17:12
阅读次数:
254
http://blog.sina.com.cn/s/blog_63578f140100w56m.htmlUITabBar* tabBar = [[UITabBaralloc]initWithFrame:CGRectMake(40,0.0,240,30)];[mainView addSubview:t...
分类:
移动开发 时间:
2014-10-23 18:58:19
阅读次数:
144
1. #define的保护
所有头文件都应该使用#define 防止头文件被多重包含(multiple inclusion),命名格式
当是:___H_
为保证唯一性,头文件的命名应基于其所在项目源代码树的全路径。例如,项目foo 中的头
文件foo/src/bar/baz.h 按如下方式保护:
#ifndef FOO_BAR_BAZ_H_
#define FOO_BAR_BAZ_H_...
分类:
编程语言 时间:
2014-10-23 12:34:25
阅读次数:
231
下面介绍精灵、动画精灵、按钮精灵、文本的常用使用方法
一、精灵相关
1.添加精灵
//创建精灵
Sprite bar_up = new Sprite(400, 0, RegionRes.getRegion(Res.BAR_UP), getVertexBufferObjectManager());
//将精灵添加至BaseEntityGroup或其子类(如:Scene、L...
分类:
其他好文 时间:
2014-10-22 18:27:15
阅读次数:
175
1 命名规则1.1 基本变量基本变量有三个:ngx_module_t 类型的 ngx_http_foo_bar_module;ngx_command_t 类型的数组 ngx_http_foo_bar_commands;ngx_http_module_t 类型的 ngx_http_foo_bar_mo...
分类:
其他好文 时间:
2014-10-22 17:41:49
阅读次数:
258
[leetcode]Given n non-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....
分类:
移动开发 时间:
2014-10-22 10:05:30
阅读次数:
248
目录(?)[-]iOS 7中默认的导航栏设置导航栏的背景颜色在导航栏中使用背景图片定制返回按钮的颜修改导航栏标题的字体修改导航栏标题为图片添加多个按钮修改状态栏的风格隐藏状态栏总结注:本文译自Customizing Navigation Bar and Status Bar in iOS 7近期,跟...
分类:
移动开发 时间:
2014-10-22 06:18:07
阅读次数:
321
============问题描述============ 最近在做一个应用,实时检测网络信号,日志是系统自动抓取,一个服务检测日志达到一定条件,开始压缩归档,我用asynctask去检测网络信号,将信号值通过progress更新到前台,应用启动后,开启一个服务去检测日志情况。现在的问题是日志达到条件...
分类:
移动开发 时间:
2014-10-22 00:48:29
阅读次数:
236
一、java program progress of excuting:show in next picture
How about the java virtual machine is it,what situation is in the jvm,or how to worke is going?
If you want to slov...
分类:
编程语言 时间:
2014-10-21 23:20:36
阅读次数:
467
https://github.com/ManolescuSebastian/Custom-Progress-Dialog-Android
分类:
移动开发 时间:
2014-10-21 13:46:47
阅读次数:
4062