上一页 1 2 3 4 5 6 7 8 ··· 14 下一页
摘要: openfire:http://www.igniterealtime.org/Xmpp:http://xmpp.org/IOS(xmppframework):https://github.com/robbiehanson/XMPPFrameworkAndroid(asmack):https://gi... 阅读全文
posted @ 2014-04-28 16:06 crane13 阅读(337) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-04-28 15:59 crane13 阅读(492) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-04-28 15:57 crane13 阅读(300) 评论(0) 推荐(0)
摘要: 项目中遇到Fragment嵌套应用的问题子Fragment中要用getChildFragmentManager()方法获取FragmentManager,否则会出问题! 阅读全文
posted @ 2014-04-28 13:57 crane13 阅读(146) 评论(0) 推荐(0)
摘要: UFO Fled:https://play.google.com/store/apps/details?id=cn.crane.game.flappyufoUFO Fled -- 点击屏幕帮助UFO躲避小行星以及陨石的攻击。茫茫宇宙之中,有众多的高等文明存在,为了生存,他们之间战火不断。然而对于文明... 阅读全文
posted @ 2014-04-25 11:40 crane13 阅读(393) 评论(0) 推荐(0)
摘要: import java.io.File;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.IOException;import java.io.InputStream;import ... 阅读全文
posted @ 2014-04-25 11:32 crane13 阅读(180) 评论(0) 推荐(0)
摘要: import java.io.ByteArrayOutputStream;import java.io.InputStream;import java.net.HttpURLConnection;import java.net.URL;import java.util.List;import org... 阅读全文
posted @ 2014-04-25 11:29 crane13 阅读(202) 评论(0) 推荐(0)
摘要: 快捷键的设置在,Xcode主菜单->Xcode->Preferences->Key bindings 中查看与修改。快捷键:command+shift+R 打开控制台command+W 关闭控制台(谁有焦点就关闭谁)command+R 编译并运行程序 Build and Gocommand+shif+E 打开或关闭File Name视图command+[或] 把选定的多行代码或光标所在行的代码,左移或右移command+L 跳到某行调试快捷键:command+shift+Y 打开调试窗口command+Y 调试运行程序c... 阅读全文
posted @ 2014-03-11 22:29 crane13 阅读(345) 评论(0) 推荐(0)
摘要: 去评分:跳到手机中已安装的市场评分页面Uri uri = Uri.parse("market://details?id="+getPackageName()); Intent intent = new Intent(Intent.ACTION_VIEW,uri); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent);分享:Intent sendIntent = new Intent(); sendIntent.setAction(Intent.ACTION_SEND); ... 阅读全文
posted @ 2014-03-09 21:56 crane13 阅读(285) 评论(0) 推荐(0)
摘要: AlarmManager的常用方法有三个: (1)set(int type,long startTime,PendingIntent pi); 该方法用于设置一次性闹钟,第一个参数表示闹钟类型,第二个参数表示闹钟执行时间,第三个参数表示闹钟响应动作。 (2)setRepeating(int type,long startTime,long intervalTime,PendingIntent pi); 该方法用于设置重复闹钟,第一个参数表示闹钟类型,第二个参数表示闹钟首次执行时间,第三个参数表示闹钟两次执行的间隔时间,第三个参数表示闹钟响应动作。 (3)setInexactR... 阅读全文
posted @ 2013-05-31 13:04 crane13 阅读(398) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 14 下一页