前几天安装了.NET要用到的MSSERVER,之后apache就running none of service。把微软的MSSERVER停用掉服务就没问题。哪部分冲突了
分类:
其他好文 时间:
2014-09-22 12:07:53
阅读次数:
211
//获取屏幕宽度
public static int getScreenWidth(Context context)
{
WindowManager wm = (WindowManager) context
.getSystemService(Context.WINDOW_SERVICE);
Display...
分类:
其他好文 时间:
2014-09-22 10:54:22
阅读次数:
137
private void getRunningAppProcessInfo() {
mActivityManager = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
//获得系统里正在运行的所有进程
List runningAppProcessesList = mActivityManager.getRu...
分类:
其他好文 时间:
2014-09-21 21:06:21
阅读次数:
163
在FreeBSD中修改帐号密码有时候会出现一些错误,针对passwd: pam_chauthtok(): error in service module这样的错误提示,简单整理了以下解决方案:错误提示: 代码如下 复制代码 kiccleaf# passwd kiccleafChanging loca...
分类:
Web程序 时间:
2014-09-21 21:01:11
阅读次数:
202
Flex数据交互方法- httpservice, webservice, RemoteObject, socket.写在前面:使用SOAP Web Service同Flex交互有很多好处,但是它很慢, 使用定制化XML好一点,却不标准化.那么最好的ASP.Net 和flex交互方法是什么?1. HT...
分类:
其他好文 时间:
2014-09-21 19:19:21
阅读次数:
305
如果想要进行IPC通信,一般写一个AIDL接口,再写一个Service子类,然后实现AIDL接口 当做IBinder返回给Activity界面层。
如果不想写AIDL接口文件,只是单I线程中与Service进行通信 我们可以用Android写好的Messenger类来处理,一样能将消息传递给Service进行通信。
先写上基本代码:
public class MyService ...
分类:
移动开发 时间:
2014-09-21 17:23:41
阅读次数:
266
1339 - Ancient CipherAncient Roman empire had a strong government system with various departments, including a secret service department. Important d....
分类:
其他好文 时间:
2014-09-21 00:05:59
阅读次数:
295
服务可用在一下情景:1,用户离开activity后,仍需要继续工作,例如从网络下载文件,播放音乐.2,无论activity出现或离开,都需要持续工作,例如网络聊天应用.3,连接网络服务,正在使用一个远程API提供的服务.4,定时触发的任务1.因为IntentService是Service子类,所以也...
分类:
移动开发 时间:
2014-09-21 00:02:49
阅读次数:
490
检查是否nfs#rpm -qa|grep nfs#rpm -qa|grep rpcbind将nfs rpcbind 设置为开机启动#chkconfig nfs on#chkconfig rpcbind on#启动 nfs rpcbinds#service rpcbind start#service....
分类:
其他好文 时间:
2014-09-20 23:48:59
阅读次数:
417