private void endCall() { try { /* * 1.得到字节码文件 * 2.得到对应的方法getService * 4.执行这个方法 * 以上是反射过程 * 5。拷贝aidl文件 * 6.生成java代码 * 7,执行end...
分类:
移动开发 时间:
2015-12-07 20:27:02
阅读次数:
358
无平方因子数的分布(Ⅰ)Daoyi PengMay 23, 2015● 卷积方法余项估计定义 1 乘性函数 $n\mapsto \mu^2(n)$, 其部分和\begin{equation*} Q(x):=\sum_{n\leqslant x}\mu^2(n)\end{equation*}等于不超过...
分类:
其他好文 时间:
2015-12-07 17:50:12
阅读次数:
101
*********毫秒为单位**********************//开始时间long beginTime=System.currentTimeMillis();//结束时间 long endTime=System.currentTimeMillis();long timeSpan=end.....
分类:
编程语言 时间:
2015-12-07 15:47:24
阅读次数:
138
传递要查找的数组,数组大小以及要查找的值,返回该值在数组中的索引int find1(int *a, int n,int key){ assert(a); int *end = a + n, *beg = a; for (; beg #include#include#includ...
分类:
其他好文 时间:
2015-12-07 14:03:46
阅读次数:
163
#import "ViewController.h"@interfaceViewController ()@end@implementation ViewController- (void)viewDidLoad { [superviewDidLoad]; UICollectionViewFl...
分类:
其他好文 时间:
2015-12-06 12:58:42
阅读次数:
174
统一设置导航栏与状态栏代码:#import "AppDelegate.h"#import "SZMMainTabBarController.h"@interface AppDelegate ()@end@implementation AppDelegate- (BOOL)application:(U...
分类:
其他好文 时间:
2015-12-06 11:16:11
阅读次数:
146
XML文件有多种样式,标准的是把数据存在字节点上,还有的就是把数据直接存储在属性里面#import"ViewController.h"@interface ViewController (){ NSMutableArray * listArr; NSString *elementTag;}@end@...
分类:
Web程序 时间:
2015-12-06 07:21:14
阅读次数:
180
在OC中并没有多继承的概念, 但是我们可以通过协议来实现多继承实例如下:#import @protocol Add - (int)addA:(int)a b:(int)b;@end#import @protocol Sub - (int)subA:(int)a b:(int)b;@end#impor...
分类:
其他好文 时间:
2015-12-05 19:16:36
阅读次数:
140
Not all of the shortcuts are useful.Only remeber the most useful.移动类Ctrl + a - Jump to the start of the line //跳到行首Ctrl + e - Jump to the end of the l...
分类:
系统相关 时间:
2015-12-05 14:28:14
阅读次数:
158
主要是一下步骤1.delete space in front of str2.check if str startsWith other characters3.check if str is positive4.check the end of str5.check if overflowpubl...
分类:
其他好文 时间:
2015-12-05 09:40:53
阅读次数:
117