通过intent调用打电话,打开地图、打开浏览器,创建邮件,创建事件的操作
截图:
代码
package com.example.hellointent;
import java.util.Calendar;
import java.util.List;
import org.apache.http.protocol.HTTP;
import android.net.Uri;
...
分类:
其他好文 时间:
2014-06-05 08:01:16
阅读次数:
281
很多时候,应用程序或者是游戏需要用上暂停功能,unity提供了不少便捷的方式,列在下面:
1、在editor中,按下pause按钮即可暂停
2、如果在代码中控制,可以通过设置Time.timeScale = 0来实现暂停。
3、如果你通过Time.timeScale = 0设置了暂停,但是你在某些地方还需要有动画之类的,那么可以在实现动画的地方用上Time.realtimeSince...
分类:
其他好文 时间:
2014-06-05 04:33:36
阅读次数:
210
HDU 3649 New Game
题目大意:
首先告诉你0或1,0表示红色先手,1表示黑色先手,接下来四个数字表示 红方 A,B,C,D四个子的位置,在接下来四个数字表示黑方 A,B,C,D四个子的位置。
游戏规则如下:
(1) the piece red acm can be placed on A1~,A2,A3,A4,A5;the piece black acm A6~A10;
(2) the piece red bahamas can place on B1~B5; the piece bla...
分类:
其他好文 时间:
2014-06-05 04:21:31
阅读次数:
295
24 Point game
时间限制:3000 ms | 内存限制:65535 KB
难度:5
描述
There is a game which is called 24 Point game.
In this game , you will be given some numbers. Your task is to find an expressi...
分类:
其他好文 时间:
2014-06-04 21:06:57
阅读次数:
295
Given an array of non-negative integers, you
are initially positioned at the first index of the array.Each element in the
array represents your maximu...
分类:
其他好文 时间:
2014-06-04 20:58:25
阅读次数:
296
题目大意: 同2993、 这题是根据棋盘,分别输出棋子的位置。解题思路:
模拟再模拟、我写了8000+B 你能信?我是多有耐心呢!代码: 1 #include 2 #include 3 #include 4 #include 5
#include 6 #include ...
分类:
其他好文 时间:
2014-06-03 09:05:24
阅读次数:
311
链接: http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=2116
Description
Wind and his GF(game friend) are playing a small game. They use the computer to randomly generated a nu...
分类:
其他好文 时间:
2014-06-03 02:17:13
阅读次数:
252
Jump Game IIGiven an array of non-negative
integers, you are initially positioned at the first index of the array.Each
element in the array represents...
分类:
其他好文 时间:
2014-05-31 03:14:14
阅读次数:
243
The Saga of Ryzom is a persistent
massively-multiplayer online game (MMORPG) released in September 2004 throughout
Europe and North America, localised...
分类:
其他好文 时间:
2014-05-29 17:55:30
阅读次数:
413