when run the calling "docker run hello-world" occur the ?error as follow: ? ? ? Post http:///var/run/docker.sock/v1.19/containers/create: dial unix /var/run/docker.sock: no such file or direct...
分类:
其他好文 时间:
2015-08-11 10:21:56
阅读次数:
137
我们经常用到 Intent intent = new Intent(Intent.ACTION_DIAL); // 或者Intent intent = new Intent("android.intent.action.DIAL");// Intent.ACTION_DIAL是内置常量,值为"android.intent.action.DIAL" startA...
分类:
移动开发 时间:
2015-08-07 16:43:25
阅读次数:
267
Intent在进行activity之间的跳转的时候有一种方式是通过设置ACTION的方式来进行跳转的,这个ACTION是设置在manifest文件里Intent-filter里的,我们可以通过跳转自定义的activity以及系统内部已经写好的activity,在跳转通话的时候,有两个方式,一个是.....
分类:
其他好文 时间:
2015-08-02 07:47:06
阅读次数:
284
1.DT: Dial Tone(跟GW无关) 拨号音 公网 GW SIP(提机)2.RBT: ringer busy tone 回铃音 公网 GW SIP ->invite ALERT -RBT---------------------------->3. SDT:second d...
分类:
其他好文 时间:
2015-07-29 11:35:48
阅读次数:
133
http://www.th7.cn/system/mac/201405/56653.shtmlMac 下 docker安装 以及 处理错误Cannot connect to the Docker daemon. Is 'docker -d' running on this host? 和 dial ...
分类:
系统相关 时间:
2015-07-25 13:41:17
阅读次数:
197
package main
import (
"go-ssh/ssh"
"log"
"os"
)
func main() {
check := func(err error, msg string) {
if err != nil {
log.Fatalf("%s error: %v", msg, err)
}
}
client, err := ssh.Dial("t...
分类:
编程语言 时间:
2015-07-08 16:30:21
阅读次数:
333
1、跳转到拨号界面 Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:" + phoneNumber));2、直接拨号 Intent intent = new Intent(Intent.ACTION_CALL, Uri...
分类:
其他好文 时间:
2015-07-01 23:29:24
阅读次数:
175
Android APP拨打电话:
Intent intent=new Intent(Intent.ACTION_DIAL,Uri.parse("tel:"+888888));
startActivity(intent);
}
Android APP短信分享:
Intent sendIntent = new Intent(Intent.ACTION_VIEW);
sendIntent.putExtra("sms_body", "#短信分享#");
sendIntent.setType("vnd.andro...
分类:
移动开发 时间:
2015-06-03 17:42:49
阅读次数:
175
写在前面从事Android开发至今,一提及Android开发中使用的对话框就想起AlertDialog或者PopupWindow,我在上一篇博客中也总结了这两种对话框的使用大全,有兴趣的可靠look look Android 对话框AlertDialog,PopupWindow使用大全。由于最近在总结Android对话框的使用,就无意在网上看到Android3.0之后出现了一个新的对话框—-Dial...
分类:
移动开发 时间:
2015-05-20 16:24:38
阅读次数:
309
最近公司项目,换到了golang 下面来开发,遇到了redis存储链表的问题,困扰了我好几天,后面静下心来,好好读了一下源码,发现官方的例子,最终还是羊毛出在羊身上c, err := dial() if err != nil { panic(err) } defer ...
分类:
其他好文 时间:
2015-05-12 11:02:30
阅读次数:
147