继续刚刚的讲,完成开发环境的搭配之后,我们就可以开始自己开发自己的应用程序了。
1、先熟悉一下整个开发环境的目录结构。PS:至于eclipse的使用在这里就不多说了,如果不会的,请自己去百度找相关的知识。
先新建一个项目:
然后:
就那个Required SDK一般选2.2之外,其他的所有都可以默认。
然后就可以看到目录结构了。
具体的我就不废话了,因为...
分类:
移动开发 时间:
2014-06-05 06:12:06
阅读次数:
271
Once an algorithm is given for a problem and
decided to be correct, an important step is to determine how much in the way of resources,such as time or space, the algorithm will require.
...
分类:
其他好文 时间:
2014-06-05 02:14:29
阅读次数:
306
第一次使用session,需要:
$this->load->library('session');
的同时,还需要修改配置文件:config.php 找到 $config['encryption_key'] = ‘’
将$config['encryption_key'] 的内容随便设置,就可以用了。
附录:
1.添加session内容:
$this->session->set_us...
分类:
其他好文 时间:
2014-06-05 01:18:12
阅读次数:
201
Follow up for "Search in Rotated Sorted
Array":What ifduplicatesare allowed?Would this affect the run-time complexity?
How and why?Write a function to...
分类:
其他好文 时间:
2014-06-04 20:17:05
阅读次数:
249
Given two wordsword1andword2, find the minimum
number of steps required to convertword1toword2. (each operation is counted as 1
step.)You have the fol...
分类:
其他好文 时间:
2014-06-04 20:12:15
阅读次数:
199
Follow up for "Remove Duplicates":What if
duplicates are allowed at mosttwice?For example,Given sorted array A
=[1,1,1,2,2,3],Your function should ret...
分类:
其他好文 时间:
2014-06-04 19:12:47
阅读次数:
273
使用echo或者printf时,可以添加输出文本的颜色设置echo -e "Maximum
\e[1;31m" $max_threads "\e[0mthreads allowed!" >>
$term_dir/summary或者printf("\033[;34mfile\033[0m")31开始代...
分类:
系统相关 时间:
2014-06-03 09:11:52
阅读次数:
306
这里仅仅说明一个可能造成该问题的解决办法,也是我遇到的原因。这句话的意思是说,eclipse须要至少1.6版本号或以上的JVM
,而你仅仅有1.5.2版本号的JVM。想想就认为非常奇怪,我装的但是JDK1.7,怎么可能出现这样的问题。然后cmd执行java -version
结果出乎意料的显示了jd...
分类:
其他好文 时间:
2014-06-03 08:49:17
阅读次数:
218
[root@oraserver ~]# vi /etc/pam.d/login 将以下内容注释掉:
#session required /lib/security/pam_limits.so
分类:
系统相关 时间:
2014-05-31 04:53:50
阅读次数:
343
1.[Required] : 必须输入[Required(ErrorMessage =
"请输入用户名")] 2.[StringLength] : 限制字符串长度[StringLength(10, ErrorMessage =
"长度不能超过10个字符")] 3.[Range] : 限制取值范围.....
分类:
Web程序 时间:
2014-05-29 09:14:45
阅读次数:
352