题目:
Roman numerals come from the ancient Roman numbering system. They are based on specific letters of the alphabet which are combined to signify the sum (or, in some cases, the difference) of th...
分类:
其他好文 时间:
2014-06-20 12:27:09
阅读次数:
394
在上一篇《Android多线程研究(5)——线程之间共享数据》中对线程之间的数据共享进行了学习和研究,这一篇我们来看看如何解决多个线程之间的数据隔离问题,什么是数据隔离呢?比如说我们现在开启了两个线程,这两个线程都要同时给同一个全局变量data赋值,各个线程操作它赋值后的变量数据,这里就需要用到隔离。先看一段代码:import java.util.Random;
public class Th...
分类:
移动开发 时间:
2014-06-20 11:25:58
阅读次数:
321
Given a singly linked list where elements are
sorted in ascending order, convert it to a height balanced BST.public class
Solution { /** Convert th...
分类:
其他好文 时间:
2014-06-10 00:22:44
阅读次数:
259
前几天突发奇想做了个很水的应用,名字叫chinese
800(汉语口语800句),现在让别人传上去了(正在传)。今天又改了一下变成了英语口语800句。加了广告条ui
没有优化,我随便整的两个图片,有人会ps的可以再优化一下ui应用含800个音频文件。音频文件我就不传了,我写了个脚本,可以在苹果机上一...
分类:
移动开发 时间:
2014-06-09 18:00:59
阅读次数:
211
yum install "@Chinese
Support"System->Preferences->Input Method,勾选"Enable input method
feature",Input Method选择"Use IBus",Log Out重新登录后"ctrl+空格"即可切换输入法
分类:
其他好文 时间:
2014-06-09 00:54:37
阅读次数:
182
Develop Tools: xCode 5.1I write a demo for app
settings feature. The tutorial url is here.When I add a icon into app icon and
build the code, I got th...
分类:
移动开发 时间:
2014-06-08 20:39:03
阅读次数:
1920
Description
Farmer John wants the cows to prepare for the county jumping competition, so Bessie and the gang are practicing jumping over hurdles. They are getting tired, though, so they want to be ...
分类:
其他好文 时间:
2014-06-08 15:55:10
阅读次数:
199
A perfect number is a number for which the sum of its proper divisors is exactly equal to the number. For example, the sum of the proper divisors of 28 would be 1 + 2 + 4 + 7 + 14 = 28, which means th...
分类:
其他好文 时间:
2014-06-08 04:05:14
阅读次数:
315
因为工作需要,再加上个人爱好,经过分析整理出短彩应用中从发送至收到附件为音频的彩信的下载,预览,播放整个流程,给大家一起分享。
第一步,添加附件:ComposeMessageActivity类下,addAttachement();
private void addAttachment(int type, boolean replace) {
// Calculate th...
分类:
移动开发 时间:
2014-06-08 03:54:59
阅读次数:
244