今天要实现一个功能, 通过iTunes导入文件到应用中, 并且在应用中对这个文件进行编辑。类似我们平时经常使用的 PDF阅读器那样的东西, 我们可以自己导入我们的电子书。源码下载:https://github.com/colin1994/iTunesTest.git下面具体介绍下实现过程。先看效果图。图1. 未实现功能前, iTunes截图图2. 实现功能后, iTunes截图图3. 实现功能后,...
分类:
移动开发 时间:
2014-06-11 06:53:02
阅读次数:
265
Windows PowerShell Web Access(PSWA)是 Windows
Server 2012 中的新功能,充当 Windows PowerShell 网关,允许远程计算机基于 Web 方式(HTTPS)访问和操作目标计算机的
Windows PowerShell,以执行 Po.....
分类:
数据库 时间:
2014-06-10 22:04:59
阅读次数:
395
//登录csdn// String uri =
"https://passport.csdn.net/account/login";// String html =
HttpUtil.DownHtml(uri); // // // // String lt = getGrou...
分类:
编程语言 时间:
2014-06-10 21:48:54
阅读次数:
300
原题地址:https://oj.leetcode.com/problems/divide-two-integers/题意:Divide
two integers without using multiplication, division and mod
operator.解题思路:不许用乘、除和求...
分类:
编程语言 时间:
2014-06-10 21:43:00
阅读次数:
267
原题地址:https://oj.leetcode.com/problems/container-with-most-water/题意:Givennnon-negative
integersa1,a2, ...,an, where each represents a point at coordina...
分类:
编程语言 时间:
2014-06-10 20:05:44
阅读次数:
213
原题地址:https://oj.leetcode.com/problems/palindrome-number/题意:Determine
whether an integer is a palindrome. Do this without extra space.click to show
spo...
分类:
编程语言 时间:
2014-06-10 16:06:52
阅读次数:
286
https://www.coursera.org
点击打开链接...
分类:
其他好文 时间:
2014-06-10 15:33:24
阅读次数:
198
1.下载npm源代码:https://github.com/isaacs/npm/tags2.
npm源代码解压到D:\npmjs目录中。 在命令提示符窗口中执行下面的操作,完成npm的安装:D:\>cd npmjsD:\npmjs>node
cli.js install -gf 另外:node c...
AFNetworking对Path的定义问题:
如果把这一串:https://graph.qq.com/user/get_user_init 定义成baseURL
那么后面加的任何Path,都会在Path前面加上一个/
这个跟NSURL有关系,AF的baseURL是用NSURL实现的,NSURL会把你给的字符串拆分成scheme,host,path,query这些东西
然后AF再处...
Json编码,在python里就是一句话:
json.dumps(user_data)
但是Erlang没有自带的Json模块,只能自己造轮子:
先下载mochijson2:
https://github.com/mochi/mochiweb/blob/master/src/mochijson2.erl
用erlc编译
然后,上代码:
get_json_data() ->
...
分类:
Web程序 时间:
2014-06-10 06:46:21
阅读次数:
309