首页 > 全部
Android开源框架(一):AndroidAnnotations
Android开源框架(一):AndroidAnnotations AndroidAnnotations是一个能够让你快速进行Android开发的开源框架,它能让你专注于真正重要的地方。 使代码更加精简,使项目更加容易维护,它的目标就是“Fast Android Development.Easy maintainance”。 通过一段时间的使用发现,相比原生的Android开发,确实能够让你少些很多代码,它的首页也给出了一个简单 的例子,通过例子也可以看到代码比之前几乎少写了一半。...
分类:移动平台   时间:2014-01-23 09:57:51    收藏:0  评论:0  赞:0  阅读:448
02 Unity3d脚本功能--《程序员学Unity3d》
脚本功能绝对是Unity3d的一个大亮点。它可以让程序员用编码的思维来控制场景里的各种元素,从而体现出强大的业务处理以及交互功能。想一想,写一个“蹦蹦跳跳”的脚本文件,绑定到某个物体,该物体就实现了“蹦蹦跳跳”的效果,而且还能在脚本里控制指定的物体。当UI与脚本相互独立,那我们就可以直接拿别人写好的脚本或者做好的UI来用,实现快速开发。...
分类:其他   时间:2014-01-23 10:07:51    收藏:0  评论:0  赞:0  阅读:381
ImageView控件设置及特性集合演示
目前ImageView控件仅支持png,jpg,gif,bmp这四种格式的图片显示。 分两个部份记录: 一。代码设置ImageView图片 二。集中展示ImageView控件各属性显示效果的例子 一。代码设置ImageView图片: 方法一:直接从res中取出图片 ImageView imgView = (ImageView)findViewById(R.id.ImageView0...
分类:其他   时间:2014-01-23 10:43:51    收藏:0  评论:0  赞:0  阅读:583
Basic remains
http://poj.org/problem?id=2305 //package poj2305; import java.io.*; import java.math.*; import java.util.*; public class Main { public static void main(String[] args) { // TODO Auto-generated me...
分类:其他   时间:2014-01-23 10:52:51    收藏:0  评论:0  赞:0  阅读:440
Combination Sum II
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each number in C may only be used once in the combina...
分类:其他   时间:2014-01-23 10:19:51    收藏:0  评论:0  赞:0  阅读:357
LeetCode OJ:Restore IP Addresses
Restore IP Addresses   Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example: Given "25525511135", return ["255.255.11.135",...
分类:其他   时间:2014-01-23 10:33:51    收藏:0  评论:0  赞:0  阅读:367
敏捷开发之道(三)极限编程XP续
上次的博文敏捷开发之道(二)极限编程XP中,我们了解了XP的实践中的其中四个,今天我们来一起学习一下剩余的实践。...
分类:其他   时间:2014-01-23 11:11:51    收藏:0  评论:0  赞:0  阅读:376
Android动画学习Demo(1) 关于ViewAnimation的用法及总结
在Android系统中,提供了两种动画框架: 1)View Animation(视图动画),而View Animation 里面又包含了下面两种模式 1.1)Tween Animation (也称之为Tween Animation) 1.2)Frame Animation (也称之为Drawable Animation) 2)Property Animation(属性动画),这是在Android 3.0(API Level 11)之后才支持的框架。 所以,不考虑层次,只考虑实现,Android中就存在以...
分类:移动平台   时间:2014-01-23 10:42:51    收藏:0  评论:0  赞:0  阅读:528
UVALive - 4356 Fire-Control System
题意:在平面上有n个点,求一个圆心在原点的扇型,至少有k个点在里面,要求扇型面积尽量小 思路:首先先枚举半径,然后找到半径小于等于枚举值的点,其中要求点要连续,按正弦值的从小到大排序,因为我们要包括从大到小的连续查找,所以我们开一个两倍的储存数组,然后从我们找到的符合要求的点中,求出最小的扇型面积,注意当大于n的时候需要加一个圆的面积了,还有就是精度的问题,看了别人的才注意过来 #includ...
分类:其他   时间:2014-01-23 10:51:51    收藏:0  评论:0  赞:0  阅读:462
ios7下,NSURLSessionUploadTask和NSURLSessionDownloadTask的奇怪行为
关于NSURLSessionUploadTask和NSURLSessionDownloadTask的奇怪现象总结...
分类:其他   时间:2014-01-23 09:56:51    收藏:0  评论:0  赞:0  阅读:431
hdu 1505 City Game(0和1 中的最大子矩阵)
City Game Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3834    Accepted Submission(s): 1588 Problem Description Bob is a strateg...
分类:其他   时间:2014-01-23 11:05:51    收藏:0  评论:0  赞:0  阅读:432
paip.提升性能----java 无锁结构(CAS, Atomic, Threadlocal, volatile, 函数式编码, 不变对象)
paip.提升性能----java 无锁结构(CAS, Atomic, Threadlocal, volatile, 函数式编码, 不变对象)   1     锁的缺点... 1 2     CAS(CompareAnd Swap/Set)操作automic数据类型AtomicLong,AtomicReference(Java提供的CAS操作)    1 3     Thre...
分类:其他   时间:2014-01-23 10:41:51    收藏:0  评论:0  赞:0  阅读:510
LeetCode OJ:Reverse Linked List II
Reverse Linked List II   Reverse a linked list from position m to n. Do it in-place and in one-pass. For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4, return 1->4->3->2->5->NULL. ...
分类:其他   时间:2014-01-23 10:46:51    收藏:0  评论:0  赞:0  阅读:395
Octal Fractions
http://poj.org/problem?id=1131 import java.math.BigDecimal; import java.io.*; import java.math.*; import java.util.*; public class Main { public static void main(String[] args) { // TODO Auto-ge...
分类:其他   时间:2014-01-23 10:24:51    收藏:0  评论:0  赞:0  阅读:367
LeetCode OJ:Subsets II
Subsets II   Given a collection of integers that might contain duplicates, S, return all possible subsets. Note: Elements in a subset must be in non-descending order.The solution set mus...
分类:其他   时间:2014-01-23 10:10:51    收藏:0  评论:0  赞:0  阅读:419
cocos2dx游戏开发简单入门视频教程 (cocos2d-x)- 第4天
第1天的地址: http://blog.csdn.net/xingxiliang/article/details/18557631 书接上回:今天我们让我们的游戏加点背景音乐,而且可以切换场景。 avi版本可以方便的在手机,pc上查看。下载地址:http://pan.baidu.com/s/1ELk78 1. 播放背景音乐,实时音乐 #include "SimpleA...
分类:其他   时间:2014-01-23 10:22:51    收藏:0  评论:0  赞:0  阅读:436
LeetCode OJ:Decode Ways
Decode Ways   A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given an encoded message containing digits, de...
分类:其他   时间:2014-01-23 11:08:51    收藏:0  评论:0  赞:0  阅读:413
How to create custom snippet in Visual studio
How to create custom snippet in Visual studio...
分类:其他   时间:2014-01-23 10:45:51    收藏:0  评论:0  赞:0  阅读:370
AppIntent论文阅读
AppIntent:Analyzing Sensitive Data Transmission in Android for Privacy Leakage Detection APPIntent:分析敏感数据传播在Android设备中隐私泄露的检测 【概括】 AppIntent:使用了事件空间限制符号执行,有效的减小了搜索空间,并且使用动态分析平台将传播的敏感数据中关于隐私泄露的行...
分类:移动平台   时间:2014-01-23 10:36:51    收藏:0  评论:0  赞:0  阅读:559
LeetCode 判断一个数是否为平衡二叉树 Balanced Binary Tree
简单题,以前居然没有贴上来 package Level1; import Utility.TreeNode; /** * Balanced Binary Tree Given a binary tree, determine if it is height-balanced. * * For this problem, a height-balanced binary tree...
分类:其他   时间:2014-01-23 10:09:51    收藏:0  评论:0  赞:0  阅读:442
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!