public static string GetHttpResponse(string url) {
string content = ""; // Create a new HttpWebRequest object.Make sure that // a
default proxy is se....
分类:
其他好文 时间:
2014-05-16 21:43:22
阅读次数:
360
android:fillViewport=trueScrollView下面的组件如果有android:layout_height="fill_parent"或android:layout_height="wrap_content"那么必须将ScrollView的android:fillViewpor...
分类:
移动开发 时间:
2014-05-16 18:09:45
阅读次数:
368
用过AJAX的朋友肯定知道javascript是使用UTF-8国际编码,即每个汉字用3个字节来存储,但是这就造成了用AJAX来send数据的时候出现乱码。有一种解决办法就是使用encodeURIComponent加上修改Content-Type为application/x-www-form-urle...
分类:
其他好文 时间:
2014-05-16 09:45:00
阅读次数:
361
Image帮助类的output方法中,在下面的代码header("Content-type:
image/" . $type);前增加代码:ob_end_clean();
分类:
Web程序 时间:
2014-05-16 07:01:32
阅读次数:
308
1、使用新建线程结合handler来更新UI线程中的 ListView,快速点击“刷新”,会出现下面的错误:
??
The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not mod...
分类:
其他好文 时间:
2014-05-15 02:30:17
阅读次数:
254
05-14 22:16:42.808: E/AndroidRuntime(22906): FATAL
EXCEPTION: main05-14 22:16:42.808: E/AndroidRuntime(22906):
java.lang.RuntimeException: Unable to s...
分类:
其他好文 时间:
2014-05-14 23:16:55
阅读次数:
405
CMS,Content Management System,一个很普通的网站内容管理系统,本文章旨在从一定的高度把CMS的功能概念做一个分解论述 ,希望读者可以有所感!...
分类:
其他好文 时间:
2014-05-14 21:28:40
阅读次数:
276
当scrollview中包含listView时,滑动的时候会出现问题。。最常见的问题是listview滑动不了。。。问题原因是在加载listview时它的高度应该按照adapter所绑定的数据来确定,而不是fill_parent或者是wrap_content...
项目中用到了就把它抽取出来做个记录
import android.view.View;
import android.view....
分类:
移动开发 时间:
2014-05-14 21:13:11
阅读次数:
433
颜色是从哪里铺?从盒子的border内边开始铺满盒子内部整个区域铺到盒子的border内边缘铺的面积呢?以前有个错误的思想,盒子width height
是content区的总宽应该是div的 width + padding-left + padding-right总长应该是div的 height ...
分类:
Web程序 时间:
2014-05-14 08:26:44
阅读次数:
328
三个属性都用来适应视图的水平或垂直大小,一个以视图的内容或尺寸为基础的布局比精确地指定视图范围更加方便。1)fill_parent设置一个构件的布局为fill_parent将强制性地使构件扩展,以填充布局单元内尽可能多的空间。这跟Windows控件的dockstyle属性大体一致。设置一个顶部布局或...
分类:
移动开发 时间:
2014-05-14 07:02:27
阅读次数:
424