在Xcode中创建项目时会弹出Source Control选项,勾选Create git
repository选项可以帮助我们对照以前项目中代码中修改的部分,为开发提供方便。在项目完成到一定程度时,点击屏幕上方Source
Control选项,然后点击commit选项,会弹出一个窗口在Enter c...
分类:
其他好文 时间:
2014-05-22 15:03:33
阅读次数:
260
1.
自己不太喜欢Eclipse按回车后自动插入参数的默认选项。可以在Window-Preferences-Java-Editor-Content
Assist选项里,将Fill method arguemnts and show guessed arguemnts复选框取消即可。2. 字体大小和颜...
分类:
系统相关 时间:
2014-05-21 20:47:16
阅读次数:
440
今天编写代码如下:发现2个radiobutton居然都可以选中。这我真的晕了。。后来偶然发现原来是没有设置Id的原因。。。
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizont...
分类:
其他好文 时间:
2014-05-21 17:12:25
阅读次数:
246
在前面有提到批量添加联系人:Android批量添加联系人到通讯录,通话记录和通讯录一样都是直接操作ContentProvider。为了使批量更新、插入、删除数据更加方便,android系统引入了 ContentProviderOperation类,使用ContentProviderOperation的理由
1.所有的操作都在一个事务中执行,这样可以保证数据完整性
2.由于批量操作在一个事务中执...
分类:
移动开发 时间:
2014-05-21 17:05:17
阅读次数:
300
介绍一个grid layout 顺序显示的代码
LayoutAnimation1.java
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use th...
分类:
其他好文 时间:
2014-05-21 16:58:47
阅读次数:
214
代理模式【PROXY PATTERN】
header("Content-type: text/html; charset=UTF-8");
/**
* 什么是代理模式呢?我很忙,忙的没空理你,那你要找我呢就先找我的代理人吧,
* 那代理人总要知道被代理人能做哪些事情不能做哪些事情吧,那就是两个人具备同一个接口,
* 代理人虽然不能干活,但是被代理的人能干活呀。
*/...
分类:
Web程序 时间:
2014-05-21 15:47:31
阅读次数:
339
承接 Mule ESB-Content-Based Routing Tutorial(1)
五、运行应用程序
完成创建,配置,并保存你的新的应用程序,您就可以在嵌入Mule的服务器上运行(包括在Mule Studio中,作为捆绑下载的一部分)。
1、在Package Explorer窗格中,右键单击Basic Tutorial.mflow文件,然后选择Run A...
分类:
其他好文 时间:
2014-05-21 12:35:09
阅读次数:
353
描述list layout item有上倒下依次显示的代码实现形式
LayoutAnimation2.java
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may no...
分类:
其他好文 时间:
2014-05-21 09:02:15
阅读次数:
250
怎样实现图片滚动器的效果。
今天就总结下。这里我也不多说什么。直接源代码。不懂的直接提问我。
第一种实现方式:利用Gallery,但是这个现在已经过时了。我这里不多介绍了。只贴一个核心类。
package com.drocode.swithcer;
import java.util.TimerTask;
import android.content.Context;
import...
分类:
移动开发 时间:
2014-05-21 08:50:10
阅读次数:
357
介绍list item倒序显示
LayoutAnimation3.java
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e...
分类:
其他好文 时间:
2014-05-21 08:25:44
阅读次数:
278