今天编程的时候遇到了一个之前么遇到过的异常,故记录之。事情的经过是这样的,先上图吧错误提示如上图,关于这种错误,我到网上搜索了一下相关资料,是由于错把int类型当字符串类型使用了。也就是说,有些方法是经过重构的,可以传int参数也可以传String参数,比如TextViewtex..
分类:
移动开发 时间:
2015-05-13 06:34:30
阅读次数:
248
应用中经常使用到分享组件,当然,很多第三方都提供了社交分享,像ShareSDK、友盟都有很好的集成。
今天记录一下集成的细节:
①无论分享到哪个平台,都需要到这个平台注册相应的应用。
②以分享到微信、朋友圈、微博为例:
/**
*
*/
public class Constant {
// 微信
public static final String AppID = "wx911...
分类:
其他好文 时间:
2015-05-13 06:28:49
阅读次数:
150
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:
其他好文 时间:
2015-05-13 06:17:42
阅读次数:
157
public class Solution { public String convert(String s, int numRows) { String res = ""; if (s.length() < numRows || numRows == 1) { ...
分类:
其他好文 时间:
2015-05-13 06:17:07
阅读次数:
108
$path='E:/wamp/phplianxi/';$nested_list = readDirSNested($path, 0);echo '';var_dump($nested_list);/*** 递归读取目录内容* @param string $path 需要读取的目录内容* @retur...
分类:
其他好文 时间:
2015-05-13 06:13:15
阅读次数:
106
2015 UESTC Training for Search Algorithm & String
分类:
其他好文 时间:
2015-05-13 06:11:53
阅读次数:
153
2015 UESTC Training for Search Algorithm & String
分类:
其他好文 时间:
2015-05-13 06:11:35
阅读次数:
179
2015 UESTC Training for Search Algorithm & String
分类:
其他好文 时间:
2015-05-13 06:08:25
阅读次数:
116
2015 UESTC Training for Search Algorithm & String
分类:
其他好文 时间:
2015-05-13 06:07:42
阅读次数:
140
2015 UESTC Training for Search Algorithm & String
分类:
其他好文 时间:
2015-05-13 06:06:48
阅读次数:
107