使用google官方的SwipeRefreshLayout参考:http://blog.csdn.net/easyer2012/article/details/22857807http://stormzhang.github.io/android/2014/03/29/android-swipere...
分类:
移动开发 时间:
2014-04-30 21:33:22
阅读次数:
634
http://acm.nyist.net/JudgeOnline/problem.php?pid=708状态转移方程的思路:对于一个数N,可以是N
- 1的状态+1 得到,另外,也可以是(n / 2) * (1 + 1)得到,同理对于任意的奇数p,都有如果n可以整除p,都有f(n / p) + f(...
分类:
其他好文 时间:
2014-04-30 21:26:26
阅读次数:
519
如果用xe6自带的LocationSensor控件,默认优先使用网络位置,为了直接使用GPS位置,在网上搜到了以下代码,经实测证实是可用的。uses
Androidapi.JNI.Location, Androidapi.JNIBridge, Androidapi.JNI.JavaTypes, An...
分类:
编程语言 时间:
2014-04-30 21:22:24
阅读次数:
1004
There are many examples out there demonstrating
how AngularJS and Web API can be used together but almost all of them are in
MVC, so I tried to implem...
分类:
移动开发 时间:
2014-04-30 21:19:35
阅读次数:
625
首先要把andengine.jar复制到libs文件夹里01package
com.hu.anden;0203import org.anddev.andengine.engine.Engine;04import
org.anddev.andengine.engine.camera.Camera;05...
分类:
移动开发 时间:
2014-04-30 20:37:13
阅读次数:
527
set nocompatible " 关闭 vi 兼容模式syntax on " 自动语法高亮set
number " 显示行号set ruler " 打开状态栏标尺set shiftwidth=4 " 设定 > 命令移动时的宽度为 4set
textwidth=80 " 设置每行80个字符自动换行...
分类:
其他好文 时间:
2014-04-29 11:42:46
阅读次数:
603
平台信息:内核:linux2.6/linux3.0系统:android/android平台:S5PV310(samsungexynos4210/4412)作者:xubin341719(欢迎转载,请注明作者)android开logo,这一块在工作改动的也是比较多的,也比较简单,不同的公司,不同型号的产...
分类:
移动开发 时间:
2014-04-29 11:35:46
阅读次数:
711
转自:http://www.oschina.net/question/158170_293681.前言Maven,发音是[`meivin],"专家"的
意思。它是一个很好的项目管理工具,很早就进入了我的必备工具行列,但是这次为了把project1项目完全迁移并应用maven,所以对maven进行 了...
分类:
其他好文 时间:
2014-04-29 11:32:47
阅读次数:
666
Androidapi.JNI.JavaTypes,
Androidapi.JNI.GraphicsContentViewText, Androidapi.JNI.Location,
Androidapi.JNIBridge, Androidapi.JNI.Os, Androidapi.Helper....
分类:
其他好文 时间:
2014-04-29 11:28:45
阅读次数:
356
1、判断sd卡是否存在boolean sdCardExist =
Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED);2、TextView部分文字设置颜色TextView
tv = ne...
分类:
移动开发 时间:
2014-04-29 11:18:47
阅读次数:
501