从sdk3.2.5升级到sdk 7.1中间废弃了很多的方法,还有一些逻辑关系更加严谨了。
1,警告:“xoxoxoxo” is deprecated
解决办法:查看xoxoxoxo的这个方法的文档,替换掉这个方法即可。
2,警告:Declaration of "struct sockaddr" will not be visible outside of this function
...
分类:
移动开发 时间:
2014-12-25 16:30:27
阅读次数:
228
http://unix.stackexchange.com/questions/111433/iptables-redirect-outside-requests-to-127-0-0-1I have a service running on 127.0.0.1 with port 2222. I ...
分类:
其他好文 时间:
2014-12-24 13:09:55
阅读次数:
122
原文:ResolveUrl in ASP.NET - The Perfect SolutionIf you are looking for ResolveUrl outside of Page/Control, and even if you are not, this is for you.Int...
分类:
Web程序 时间:
2014-12-21 16:27:26
阅读次数:
151
从一个Activity中要通过intent调出另一个Activity的话,需要使用 FLAG_ACTIVITY_NEW_TASK否则的话,会有force close:03-01 18:49:37.888 E/AndroidRuntime( 2706): FATAL EXCEPTION: main03...
分类:
其他好文 时间:
2014-12-16 16:43:32
阅读次数:
161
有时候我们重写父类的init方法时不注意将init后面的第一个字母写成了小写,在这个方法里面又调用父类的初始化方法(self = [super init];)时会报错,错误信息如下:error:Cannot assign to 'self' outside of a method in the...
分类:
其他好文 时间:
2014-12-03 22:45:04
阅读次数:
109
很多人使用startActivity时候,会碰到如下的异常:
Caused by: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really...
分类:
其他好文 时间:
2014-12-03 12:28:34
阅读次数:
138
1.Dynamic NAT(动态NAT,动态一对一) 实例一: 传统配置方法: nat (Inside) 1 10.1.1.0 255.255.255.0 global (Outside) 1 202.100.1.100-202.100.1.200 新配置方法(Network Object NAT)...
分类:
Web程序 时间:
2014-12-02 17:07:31
阅读次数:
290
配置等级策略,保证outside端口可以访问inside端口access-list 100 extended permit icmp any anyaccess-list 100 extended permit ip any anyaccess-group 100 in interface ou.....
分类:
其他好文 时间:
2014-11-29 21:25:29
阅读次数:
325
var message = "Hi";{ var message = "Bye"; }console.log(message); //ByeThe message inside the block still has impact on the outside.If you add ...
分类:
其他好文 时间:
2014-11-19 23:58:43
阅读次数:
443
简单的实现谷歌的代理:架构就是下面这么简单。=================my server outside GFW | your browser visit my server at port 8080=================代码如下:#coding=utf-8from twis.....
分类:
Web程序 时间:
2014-11-18 13:14:41
阅读次数:
234