摘要: SDK下载:http://www.easemob.com/downloads.phpAPI简介:http://developer.easemob.com/docs/emchat/rest/userapi.html后台管理登录:https://console.easemob.com/index.htm... 阅读全文
posted @ 2014-07-23 15:59 BetterMan- 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 参考:http://blog.chinaunix.net/uid-9688646-id-1998393.html好久没更新博客了,或许是因为现在的工作比较轻松。这种现象不乐观啊。今天朋友问我,“一个按钮,比如我想让他周一和周三和周六的20:30-21:00这个时间段能点击其余时间不能点击”。我若假思... 阅读全文
posted @ 2014-07-23 12:14 BetterMan- 阅读(840) 评论(0) 推荐(0) 编辑
摘要: package com.storm.ui;import android.content.Context;import android.graphics.Bitmap;import android.graphics.Canvas;import android.graphics.Color;import... 阅读全文
posted @ 2014-05-23 16:24 BetterMan- 阅读(493) 评论(0) 推荐(0) 编辑
摘要: 只显示文章内容打了主题下的single.php文件用上面的代码把文件里的所有内容给替换了显示文章标题以及内容,操作方法同上,代码如下: 阅读全文
posted @ 2014-04-18 17:19 BetterMan- 阅读(182) 评论(0) 推荐(0) 编辑
摘要: listView.setOnScrollListener(new OnScrollListener() { @Override public void onScrollStateChanged(AbsListView view, int scrollSta... 阅读全文
posted @ 2014-04-17 18:49 BetterMan- 阅读(434) 评论(0) 推荐(0) 编辑
摘要: android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. 阅读全文
posted @ 2014-04-08 17:33 BetterMan- 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 首先下载一个无线ADB的APP安装在测试的手机上,前提是你手机必须ROOT过才可以使用。然后打开DOC命令,进入到platform-tools文件夹下,然后输入adb connect 192.168.0.105 回车即可;DOC命令打开指定文件夹,比如你的AndroidSDK在E盘,那么你打开DOC之后,直接输入E: 然后回车即可进入到E盘,然后找到你SDK的目录,我的是在Installpack文件夹下,那么需要 cdInstallpack然后回车,进入下级文件夹,依此类推打开你的platform-tools然后完成你的操作指令。在操作过程中经常遇到的问题如下:最佳解决方案如下:然后查找出是哪 阅读全文
posted @ 2014-03-29 13:28 BetterMan- 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 上传下面压缩文件里的quicktags.js文件到wp-includes\js\目录覆盖即可coolcode 阅读全文
posted @ 2014-03-21 12:51 BetterMan- 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 1. 在style.css中添加如下代码#gotop{ width:38px; height:36px; position:fixed; bottom:25px; right:10px; top:auto; display:block; cursor:pointer; background: url(images/gotop.gif) no-repeat}*html #gotop{ position:absolute; bottom:auto; top:expression(eval(document.documentEleme... 阅读全文
posted @ 2014-03-20 21:31 BetterMan- 阅读(904) 评论(0) 推荐(0) 编辑
摘要: public class CustomToast { public static void customToastShow(Context context,String content,int duration) { Toast toast=new Toast(context);//实例化一个Toast toast.setDuration(duration);//设置Toast持续时间 toast.setGravity(Gravity.BOTTOM, 0, 100);//设置Toast显示位置 LinearLayout... 阅读全文
posted @ 2014-03-20 11:16 BetterMan- 阅读(320) 评论(0) 推荐(0) 编辑