1.API不小于11;2.使用方法:(1)新建对话框的类必须继承于DialogFragment: 对话框中有一按钮,点击按钮后关闭对话框。 代码如下: 1 @SuppressLint("ValidFragment") 2 public class MatchDialog extends Dial.....
分类:
移动开发 时间:
2015-01-23 19:43:52
阅读次数:
160
Intent应该算是Android中特有的东西。你能够在Intent中指定程序要运行的动作(比方:view,edit,dial),以及程序运行到该动作时所须要的资料。都指定好后,仅仅要调用startActivity(),Android系统会自己主动寻找最符合你指定要求的应用程序,并运行该程序。以下列...
分类:
移动开发 时间:
2015-01-16 14:23:00
阅读次数:
286
在创建容器时报下列错误[root@localhostsample]#dockerbuild-tovcer/nginx.SendingbuildcontexttoDockerdaemon2015/01/0706:43:51Posthttp:///var/run/docker.sock/v1.15/build?rm=1&t=ovcer%2Fnginx:dialunix/var/run/docker.sock:nosuchfileordirectory解决方法:[root@l..
分类:
其他好文 时间:
2015-01-07 07:03:41
阅读次数:
378
1、标准文件对话框
就是点击这个按钮就会打开文件的对话框
具体的实现是:
头文件dialog.h:
#include
#include
#include //网格布局
#include
#include
#include "inputdlg.h"
#include "msgboxdlg.h"
using namespace std;
class Dial...
分类:
其他好文 时间:
2015-01-01 16:08:46
阅读次数:
806
老规矩, 先看维基: 远端用户拨入验证服务(RADIUS, Remote Authentication Dial In User Service)是一个AAA协议,意思就是同时兼顾验证(authentication)、授权(authorization)及计费(accounting)三种服务的一种网络...
分类:
其他好文 时间:
2014-12-20 14:14:04
阅读次数:
209
Get https://code.google.com/p/go/source/checkout?repo=net:?dial tcp?74.125.31.113:443: connection?timed out Get https://code.google.com/p/go/source/checkout?repo=net:?dial tcp?74.125.31.110:4...
分类:
其他好文 时间:
2014-12-17 00:26:09
阅读次数:
302
AnActivityis an application component that provides a screen with which users can interact in order to do something, such as dial the phone, take a ph...
分类:
移动开发 时间:
2014-12-16 11:40:05
阅读次数:
266
Android qcril:qcril.c 04974 RIL[0][main] onRequest: UI --- RIL_REQUEST_DIAL (10) ---> RIL qcril.c 03293 RIL[0][event] qcril_send_request_response: U.....
分类:
移动开发 时间:
2014-12-11 20:35:03
阅读次数:
185
今天启动docker之后,发现包这个错: ???~?docker images 2014/12/11 17:11:06 Get http:///var/run/docker.sock/v1.15/images/json: dial unix /var/run/docker.sock: no such file or directory 于是乎看看...
分类:
系统相关 时间:
2014-12-11 19:29:08
阅读次数:
817
1、将MainActivity以对话框的形式显示,首先在AndroidManifest.xml 文件中,申明 activity 的主题使用自定义对话框样式。 2、res/values/styles.xml 样式文件中定义一个对话框主题样式,这里继承了 android:style/Theme.Dial...
分类:
移动开发 时间:
2014-11-14 00:01:28
阅读次数:
257