onClick事件是Android开发中最常见的事件,本文介绍了一个小技巧,能防止view被误操作快速重复点击时,而重复产生事件。...
分类:
移动平台 时间:
2015-03-21 01:11:24
收藏:
0 评论:
0 赞:
0 阅读:
453
耗时操作演练代码演练
编写耗时方法
- (void)longOperation {
for (int i = 0; i 直接调用耗时方法
[self longOperation];
运行测试效果在后台执行...
分类:
移动平台 时间:
2015-03-21 01:10:04
收藏:
0 评论:
0 赞:
0 阅读:
367
UIVisualEffectView实现两种模糊效果:UIBlurEffect 和UIVibrancyEffect两者都是继承自UIView,前者放在任意的View里边都能对下册的视图渲染出模糊效果,后者是在前者的基础上对毛玻璃效果上层的视图做出高亮突出处理代码如下:@IBOutlet weak v...
分类:
移动平台 时间:
2015-03-21 01:06:24
收藏:
0 评论:
0 赞:
0 阅读:
575
android.intent.action.ALL_APPSandroid.intent.action.ANSWERandroid.intent.action.ATTACH_DATAandroid.intent.action.BUG_REPORTandroid.intent.action.CALLa...
分类:
移动平台 时间:
2015-03-21 01:05:24
收藏:
0 评论:
0 赞:
0 阅读:
370
这是一款基于CSS3的手机端侧滑菜单,一共有4种侧滑动画特效。这款CSS3菜单的特点是鼠标划过时即可以各种动画方式展开和隐藏菜单项,该动画方式由CSS3中的transition-delay属性来完成,具体效果大家可以看演示。原味地址:http://www.xuecss3.com/htmlcss-8-...
分类:
移动平台 时间:
2015-03-21 01:03:44
收藏:
0 评论:
0 赞:
0 阅读:
331
Leaflet makes creating maps in the browserdead simple. With some HTML and 3 lines of JavaScript, we can quickly have a map displaying// create a map i...
分类:
移动平台 时间:
2015-03-21 00:57:34
收藏:
0 评论:
0 赞:
0 阅读:
269
转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudApple TransportationTime Limit:1 Second Memory Limit:32768 KBThere's a big apple tree in the forest. I...
分类:
移动平台 时间:
2015-03-20 23:42:44
收藏:
0 评论:
0 赞:
0 阅读:
522
一般的android连接mac 很方便不用安装驱动就可以啦,可是不知道为什么特殊情况下有的android手机(小米2,华为等)就是连接不上,下来就说说特殊情况下如何连接。使用USB连接安卓手机后可以做2件事情:1.关于本机-->更多信息->概系统览->系统报告->usb->你所连接的device--...
分类:
移动平台 时间:
2015-03-20 23:38:24
收藏:
0 评论:
0 赞:
0 阅读:
654
https://leetcode.com/problems/trapping-rain-water/Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute ...
分类:
移动平台 时间:
2015-03-20 23:29:44
收藏:
0 评论:
0 赞:
0 阅读:
378
内容简介本文通过建立一个简单的Servlet服务器来分析安卓上用HTTP和服务器通信的细节,旨在演示C/S模式下服务器端和客户端的工作过程。目录part.1 用MyEclipse建立一个简单的servlet服务器part.2 安卓HTTP的POST和GET请求方法part.3 本例中C/S双方工作机...
分类:
移动平台 时间:
2015-03-20 23:28:15
收藏:
0 评论:
0 赞:
0 阅读:
328
异常结果图原因在红笔的划出那部分我们看出是因为没有调用父类的方法。调用父类的方法就可以解决了,例如我这个所引发的@Override public void onActivityCreated(Bundle savedInstanceState) { ArrayAdapter arrayAdapte....
分类:
移动平台 时间:
2015-03-20 23:26:34
收藏:
0 评论:
0 赞:
0 阅读:
665
参考链接:
http://www.codekk.com/open-source-project-analysis/detail/Android/grumoon/Volley%20%E6%BA%90%E7%A0%81%E8%A7%A3%E6%9E%90
Volleu-Demo下载地址:
https://github.com/android-cn/android-open-project-...
分类:
移动平台 时间:
2015-03-20 22:09:04
收藏:
0 评论:
0 赞:
0 阅读:
546
最近在处理SD卡的读写问题,本地Elipse能跑的程序提交到服务器上的时候,报错,找不到import的类,还有一些方法也是找不到,利用sourceInsight搜了源码发现都是用了@hide标记的类和方法。
/**
* Description of a storage volume and its capabilities, including the
* filesystem path w...
分类:
移动平台 时间:
2015-03-20 22:08:34
收藏:
0 评论:
0 赞:
0 阅读:
647
Android输入框字符数量输入限制实现方式...
分类:
移动平台 时间:
2015-03-20 22:08:14
收藏:
0 评论:
0 赞:
0 阅读:
340
导入官方jar renderscript-v8.jar 报这个错误 android.support.v8.renderscript.RSRuntimeException: Error loadin 或者 java.lang.UnsatisfiedLinkError: Couldn't load RSSupport from loader dalvik.system.PathClassLoad...
分类:
移动平台 时间:
2015-03-20 22:07:44
收藏:
0 评论:
0 赞:
0 阅读:
2660
window.onload = function(){
onerror=handleErr11111111;
var txt="";
function handleErr11111111(msg,url,l){
txt="本页中存在错误。\n\n"
txt+="错误:" + msg + "\n"
// txt+="URL: " + url + "\n"
txt+="行:" +...
分类:
移动平台 时间:
2015-03-20 22:03:44
收藏:
0 评论:
0 赞:
0 阅读:
318
GCD默认已经提供了全局的并发队列供整个应用使用,所以可以不用手动创建。
创建全局队列的函数为
dispatch_queue_t q = dispatch_get_global_queue(long identifier, unsigned long flags)
参数类型为:
long identifier:ios 8.0 告诉队列执行任务的“服务质量 quality...
分类:
移动平台 时间:
2015-03-20 22:02:04
收藏:
0 评论:
0 赞:
0 阅读:
450
问题描述系统中实现了一个自定义的PagedList/// /// Paged list interface /// public interface IPagedList { int PageIndex { get; } int PageSiz...
分类:
移动平台 时间:
2015-03-20 21:51:34
收藏:
0 评论:
0 赞:
0 阅读:
413
B. Drazil and His Happy Friendstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDrazil has many f...
分类:
移动平台 时间:
2015-03-20 21:48:14
收藏:
0 评论:
0 赞:
0 阅读:
339
Android简介Android系统架构(图片源自维基百科)Android大致分为四层架构,五块区域。Linux内核层Android系统基于Linux2.6,这一层为Android设备的各种硬件提供底层的驱动,如显示驱动,银屏驱动,照相机驱动,蓝牙驱动等。 2.系统运行库层通过一些C/C++库来为....
分类:
移动平台 时间:
2015-03-20 21:44:44
收藏:
0 评论:
0 赞:
0 阅读:
344