头文件中如下定义宏:/** * @brief 默认空间名(必填项) */#error
必填项#define DEFAULT_BUCKET @""/** * @brief 默认表单API功能密钥 (必填项) */#error 必填项#define
DEFAULT_PASSCODE @...
分类:
移动开发 时间:
2014-04-28 18:15:07
阅读次数:
684
#import "RootViewController.h"@interface
RootViewController ()@end@implementation RootViewController-
(id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:
移动开发 时间:
2014-04-28 17:25:33
阅读次数:
629
#import "RootViewController.h"@interface
RootViewController ()@end@implementation RootViewController-
(id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:
移动开发 时间:
2014-04-28 17:19:46
阅读次数:
596
04-27 21:56:54.442: E/NetworkInfo(26457):
NetworkInfo: type: mobile[EDGE], state: DISCONNECTED/IDLE, reason:
(unspecified), extra: (none), roaming: fa...
分类:
移动开发 时间:
2014-04-28 16:44:24
阅读次数:
710
NABC模型:N(需求):通过软件控制汽车安全系统,当汽车主人不在时,通过语音识别,并与主人手机连接,通知车主。A(方法):通过盗车者的说话音色判断,避免了盗车者通过改变音调(故意将声音弄尖,或放低),来混淆判断力。及时反馈给车主,随时监听车内状况。B(好处):克服了传统的机械式防盗的笨重特点和GP...
分类:
其他好文 时间:
2014-04-28 16:40:30
阅读次数:
485
--->12\n%@", [[NSString
stringWithUTF8String:__FILE__] lastPathComponent],__LINE__,__PRETTY_FUNCTION__ ,
[NSString stringWithFormat:(s), ##__VA_ARGS__...
分类:
移动开发 时间:
2014-04-28 15:19:16
阅读次数:
579
#import "RootViewController.h"@interface
RootViewController ()@end@implementation RootViewController-
(id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:
移动开发 时间:
2014-04-28 15:11:25
阅读次数:
656
做项目时候会遇到我们用WebView
打开一个web,希望这个web可以调用自己的一些方法,比如我们在进一个web页面,然后当我们点击web上的某个按钮时,希望能判断当前手机端是否已经登录,如果未登录,那么就会跳转到登录页面(登陆页面是另一个Activity)。这个时候,一个简单的做法就是在按钮动作...
分类:
移动开发 时间:
2014-04-28 01:41:42
阅读次数:
662
push
服务器证书钥匙串:登入--》证书,选项里面导出证书命名为cert.p12,跟密钥命名为key.p12需要将上面的2个.p12文件转成.pem格式:openssl
pkcs12 -clcerts -nokeys -out cert.pem -in cert.p12openssl pkcs12...
分类:
移动开发 时间:
2014-04-27 23:12:13
阅读次数:
749
本文中的代码托管在github上:https://github.com/WindyShade/DataSaveMethods相对复杂的App仅靠内存的数据肯定无法满足,数据写磁盘作持久化存储是几乎每个客户端软件都需要做的。简单如“是否第一次打开”的BOOL值,大到游戏的进度和状态等数据,都需要进行本...
分类:
移动开发 时间:
2014-04-27 22:44:13
阅读次数:
819