感谢原作者 ? ?原文出处:?http://iiiyu.com/2013/05/23/learning-ios-notes-twenty-three/ 单元测试 什么是单元测试 wiki解释 简单说来就是为你的方法多专门写一个测试函数。以保证你的方法在不停的修改开发中...
分类:
移动平台 时间:
2015-06-04 13:56:40
收藏:
0 评论:
0 赞:
0 阅读:
351
1 源文件LedHalService.cpp
#include
#include
#include
#include
#include
#include
struct led_control_device_t *led_hal_device = NULL;
static jboolean led_setOn(JNIEnv* env, jobject th...
分类:
移动平台 时间:
2015-06-04 13:53:14
收藏:
0 评论:
0 赞:
0 阅读:
247
公司研发SDK,需要类似有米官告插屏的动画效果,研究了下,写了一个DEMO,注释很详细了。
package com.example.animationactivity;
import android.animation.Animator;
import android.animation.AnimatorSet;
import android.animation.ObjectAnima...
分类:
移动平台 时间:
2015-06-04 13:52:09
收藏:
0 评论:
0 赞:
0 阅读:
203
record...
分类:
移动平台 时间:
2015-06-04 13:47:29
收藏:
0 评论:
0 赞:
0 阅读:
383
1.第一种可以调用系统内部的短信程序.之前我曾经出现过一个bug就是报错:android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.SENDTO ...
分类:
移动平台 时间:
2015-06-04 13:42:09
收藏:
0 评论:
0 赞:
0 阅读:
398
NSString* localPath = [[NSBundle mainBundle] pathForResource:@"1" ofType:@"jpg"]; NSURL* fileUrl = [NSURL fileURLWithPath:localPath]; CIImage* ...
分类:
移动平台 时间:
2015-06-04 13:41:40
收藏:
0 评论:
0 赞:
0 阅读:
329
转自:http://www.cnblogs.com/wengzilin/p/4359360.html网上此类帖子博客不少,不过自己没整理过的东西始终是别人,现开此贴加以总结,持续更新!站在巨人的肩膀上才能站得高看得远。第一部分:UI类1、毛玻璃模糊效果RNFrostedSidebar一个iOS 7设...
分类:
移动平台 时间:
2015-06-04 13:41:19
收藏:
0 评论:
0 赞:
0 阅读:
377
iOS中对于cocoapods的应用还是很多的,因为我们需要使用一些比较好的第三方。那么关于cocoapods的安装,在这里我也是借花献佛,从别人那里拿来了安装的方法。其实对于安装,网上有很多的方法,我的和别人的也没有什么区别,但是我在这里以一个小白的角度来说一些注意事项1,安装是用的终端 很多人大...
分类:
移动平台 时间:
2015-06-04 13:37:49
收藏:
0 评论:
0 赞:
2 阅读:
6165
打开另一个Activity这篇文章你会学到的东西:1、如何给按钮添加响应事件。 2、创建一个Intent。3、创建一个新的Activity。4、点击按钮,打开另一个Activity。5、接收Intent。6、用Intent在Activity之间传输信息。如果你完成了前面的几节课程,你已经创建好了一....
分类:
移动平台 时间:
2015-06-04 13:36:29
收藏:
0 评论:
0 赞:
0 阅读:
333
1.什么是Afinal框架?Afinal是一个开源的android的orm和ioc应用开发框架,其特点是小巧灵活,代码入侵量少。在android应用开发中,通过Afinal的ioc框架,诸如ui绑定,事件绑定,通过注解可以自动绑定。通过Afinal的orm框架,无需任何配置信息,一行代码就可以对an...
分类:
移动平台 时间:
2015-06-04 13:32:49
收藏:
0 评论:
0 赞:
0 阅读:
337
1 6 7 10 11 12 13 14 15 16 19 20 ...
分类:
移动平台 时间:
2015-06-04 13:31:19
收藏:
0 评论:
0 赞:
0 阅读:
261
原因: 原来用的是ActionBarActivity,继承自 ActionBarActivity的类必须指定固定的集中Theme风格,而这些 Theme 风格是需要导入V7中的 appcompat LIB库工程,编译后再引用才能引用使用。 解决1: 将E:\android\adt-bu...
分类:
移动平台 时间:
2015-06-04 13:26:09
收藏:
0 评论:
0 赞:
0 阅读:
819
if Application.MessageBox('删除不能恢复,确认删除吗?', '删除提示', MB_OKCANCEL + MB_ICONQUESTION)=mrOk thenbegin ShowMessage('你选择的OK!');end;1. 警告信息框 Application.Me...
分类:
移动平台 时间:
2015-06-04 13:25:19
收藏:
0 评论:
0 赞:
0 阅读:
415
使用dispatch_semaphore_t 实现dispatch_semaphore_t sema = dispatch_semaphore_create(0); //创建信号量__block ALAssetsGroup *ret = nil;ALAssetsLibraryGroupsEnume....
分类:
移动平台 时间:
2015-06-04 13:22:39
收藏:
0 评论:
0 赞:
0 阅读:
702
本文解析仅仅是为了知道pack-ubi-256M.sh自动生成ubi文件系统的原理
分类:
移动平台 时间:
2015-06-04 13:20:29
收藏:
0 评论:
0 赞:
0 阅读:
277
plist文件里面添加AppDelegate://显示状态栏 [[UIApplication sharedApplication]setStatusBarHidden:NO]; //将状态栏颜色设为白色 [[UIApplication sharedApplication] setS...
分类:
移动平台 时间:
2015-06-04 13:20:09
收藏:
0 评论:
0 赞:
0 阅读:
216
1 CRect rc; 2 Graphics graphics(pDC->m_hDC); 3 GetClientRect(&rc); 4 CRgn m_rgn; 5 6 if (m_pBgImage) 7 { 8 ...
分类:
移动平台 时间:
2015-06-04 13:19:29
收藏:
0 评论:
0 赞:
0 阅读:
314
- (double)calculateStart:(CLLocationCoordinate2D)start end:(CLLocationCoordinate2D)end { double meter = 0; double startLongitude = start...
分类:
移动平台 时间:
2015-06-04 13:18:39
收藏:
0 评论:
0 赞:
0 阅读:
214
1 public void ProcessRequest(HttpContext context) 2 { 3 context.Response.ContentType = "text/html"; 4 HttpBrowserCapa...
分类:
移动平台 时间:
2015-06-04 13:16:39
收藏:
0 评论:
0 赞:
0 阅读:
225
解决办法: ????1 进入到sdk所在的目录的tools文件夹下,打开andriod可执行文件: ????/home/zhangdengjie/desk/developer/adt-bundle-linux-x86-20131030/sdk/tools/ ????2 如图,修改指定的部分 ???...
分类:
移动平台 时间:
2015-06-04 12:10:20
收藏:
0 评论:
0 赞:
0 阅读:
576