原文出自:方杰|http://fangjie.sinaapp.com/?p=141转载请注明出处学习Android也有一段时间了,感觉大部分的Android应用都有很多类似的组件,所以就打算做了这样一个开源项目,目的是整合一些Android开发常用的组件Demo,方便以后项目中直接拿来用。git地址...
分类:
移动开发 时间:
2014-05-19 09:14:14
阅读次数:
390
查看数据表SHOW TABLE;查看数据表详细结构SHOW CREATE
TABLE表名\G;创建数据表CREATE TABLE 表名(数据名 类型,数据名1 类型2); CREATE TABLE department ( d_id
INT(10) , d_name ...
分类:
数据库 时间:
2014-05-18 20:10:36
阅读次数:
283
1、MySQL常用命令 create database name; 创建数据库 use
databasename; 选择数据库 drop database name 直接删除数据库,不提醒 show tables; 显示表 describe
tablename; 表的详细描述 select 中加上d...
分类:
数据库 时间:
2014-05-18 20:09:16
阅读次数:
502
参照网页:
http://www.php100.com/manual/PostgreSQL8/sql-set-transaction.htmlshow
transaction isolation level ; 查看事务隔离级别testdb=# show transaction isolation ...
分类:
数据库 时间:
2014-05-18 19:35:44
阅读次数:
470
1
HIVE入门操作
1.1
连接环境
登陆成功显示如下:
输入 quit;
可退出hive环境
1.2
查看数据库
show databases;
1.3
创建数据库
create database mng;
1.4
链接数据库
use mng;
成功显示如下:...
分类:
其他好文 时间:
2014-05-18 18:44:37
阅读次数:
311
package com.dhy.phonedial;
import android.app.Activity;
import android.app.Fragment;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.LayoutInflate...
分类:
移动开发 时间:
2014-05-18 15:58:42
阅读次数:
342
定义一个时间类
class Time//时间类
{
public:
void set_time( );//设置时间
void show_time( );//显示时间
int add_a_sec();//增加1秒
int add_a_minute();//增加1分钟
int add_a_hour();//增加1个小时
int add_seconds(int n);//增...
分类:
其他好文 时间:
2014-05-18 04:33:46
阅读次数:
294
异常类型为:android.view.WindowManager$BadTokenException:
Unable to add window
我在fragment中public
View onCreateView(LayoutInflater
inflater, ViewGroup
container,Bundle
savedInstanceState) {中试图调用对话框静态工...
分类:
其他好文 时间:
2014-05-18 04:27:35
阅读次数:
240
简介:为什么要用Fragment?使用Fragment可以在一个Activity中实现不同的界面。Fragment与Fragment之间的动画切换,远比Activity与Activity之间的动画切换变化方式多。很多时候,我们通过使用一个Activity,切换多个Fragment。本次博客,主要列举一下Fragment与它的Activity之间进行数据交换的方式。1.Fragment中通过getA...
分类:
移动开发 时间:
2014-05-18 02:53:20
阅读次数:
426
控制焦点Focus on Control 的取值:Alternative
fragment(denoted “alt”) 与 if…then…else对应Option fragment (denoted “opt”) 与
Switch对应Parallel fragment (denoted “par...
分类:
其他好文 时间:
2014-05-17 22:05:02
阅读次数:
298