当有内置SD卡,且不打开shared sdcard功能的情况下,需要在SD卡中预置一些客户资源。
这些资源end user可见,也可删除。在资源被user删除之后,执行恢复出厂设置功能,需要恢复这些预置资源。
1. 预置同样的资源到user不可见的分区,如/system下。
在alps\vendor\mediatek\project_name\artifacts\out\target...
分类:
移动开发 时间:
2014-10-09 17:06:28
阅读次数:
325
#include #include int main() { unsigned int x; std::stringstream ss; ss > x; // output it as a signed type std::cout (x) << std::end...
分类:
其他好文 时间:
2014-10-09 14:17:23
阅读次数:
201
public class Solution { public int ladderLength(String start, String end, Set dict) { if (start == null || end == null || dict == null || start....
分类:
其他好文 时间:
2014-10-09 14:17:14
阅读次数:
202
数组内部制造控制函数current():取得数组当前位置的值key():取得数组当前位置的索引值next():将数组指针向后移一位prev():将数组指针向前移动一位end():将数组指针移动到最后一个元素reset():将数组指针移动到第一个元素键值操作函数array_values():获得数组所有元素的键值,并..
分类:
Web程序 时间:
2014-10-09 02:39:08
阅读次数:
235
代码:@interface HttpProcessor : NSObject { NSMutableData *buffer;}@property BOOL finished;@property (strong, nonatomic) NSString *html;@end@implement...
分类:
其他好文 时间:
2014-10-09 02:00:57
阅读次数:
141
变量unordered_map cloneMap;
DFS:
UndirectedGraphNode *cloneGraph(UndirectedGraphNode *node) {
if (node == NULL) return NULL;
if (cloneMap.find(node) != cloneMap.end())...
分类:
其他好文 时间:
2014-10-09 01:23:57
阅读次数:
158
声明一个协议头文件#ifndef Dog_Play_h#define Dog_Play_h@protocol Play @required- (void)brak;- (void)tail;- (void)go;@end#endif定一个persons类.#import #import "Play....
分类:
其他好文 时间:
2014-10-09 01:16:37
阅读次数:
133
#import "ViewController.h"#import "Fish.h"#import "Cat.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super v....
分类:
其他好文 时间:
2014-10-09 01:02:17
阅读次数:
261
一、coroutine.create创建协程
参数是协程的主函数,返回一个thread对象
co = coroutine.create(function()
print("coroutine execute!")
end)
二 协程状态
协程有4种状态:挂起(suspended)、运行(running)、死亡(dead)和正常(normal)
coroutine.status(co)...
分类:
其他好文 时间:
2014-10-08 17:13:35
阅读次数:
290
代码:#import "MainViewController.h"@interface MainViewController ()@end@implementation MainViewController- (void)viewDidLoad{ [super viewDidLoad]; ...
分类:
其他好文 时间:
2014-10-08 11:29:15
阅读次数:
179