使用google官方的SwipeRefreshLayout参考:http://blog.csdn.net/easyer2012/article/details/22857807http://stormzhang.github.io/android/2014/03/29/android-swipere...
分类:
移动开发 时间:
2014-04-30 21:33:22
阅读次数:
634
如果用xe6自带的LocationSensor控件,默认优先使用网络位置,为了直接使用GPS位置,在网上搜到了以下代码,经实测证实是可用的。uses
Androidapi.JNI.Location, Androidapi.JNIBridge, Androidapi.JNI.JavaTypes, An...
分类:
编程语言 时间:
2014-04-30 21:22:24
阅读次数:
1004
There are many examples out there demonstrating
how AngularJS and Web API can be used together but almost all of them are in
MVC, so I tried to implem...
分类:
移动开发 时间:
2014-04-30 21:19:35
阅读次数:
625
首先要把andengine.jar复制到libs文件夹里01package
com.hu.anden;0203import org.anddev.andengine.engine.Engine;04import
org.anddev.andengine.engine.camera.Camera;05...
分类:
移动开发 时间:
2014-04-30 20:37:13
阅读次数:
527
package mars.listview;import
java.util.ArrayList;import java.util.HashMap;import
android.app.ListActivity;import android.os.Bundle;import android.view...
分类:
其他好文 时间:
2014-04-30 20:23:44
阅读次数:
474
首先写个php脚本输出json,注意,还要输出回车,方便android的bufferreader读取一行bookid
= $id; $this->bookname = $name; $this->bookinfo = $info; } ...
分类:
移动开发 时间:
2014-04-30 20:19:42
阅读次数:
684
第五章 CSS内容排版5.1 文字排版5.1.1 通栏排版
进行网页通栏排版时,只要直接将段落文字放置于p或者其他对象中,再对段落文字应用间距、行距、字号等样式控制,便形成了排版雏形。5.1.2 分栏排版
CSS2技术对普通段落文字不能够直接实现分栏排版,如果需要实现类似报纸那样的双栏或者三栏排.....
分类:
Web程序 时间:
2014-04-30 19:55:17
阅读次数:
460
量产型页面一般数量较多,而且还会随着网站功能的扩展而不断增加,所以对于这类页面的开发应该优先考虑的是开发效率和文件的组织管理。本文专门就开发此类页面时关于CSS方面的处理做一下心得分享。
分类:
Web程序 时间:
2014-04-29 12:13:46
阅读次数:
322
失败提示:reating a new initrd boot image for the
kernel. update-initramfs: Generating /boot/initrd.img-3.11.0-12-generic
vmware-tools-thinprint initctl: J...
分类:
其他好文 时间:
2014-04-29 11:46:47
阅读次数:
684
方法一:
使用Ubuntu一段时间后,就会发觉由于自动升级,系统里安装了很多内核。像我,竟然安装了下面那么多,这个造成了漫长的启动列表。必须删掉一些不用的。
首先就是使用如下命令,列出所有安装的内核,下表中,带有image的就是内核文件。从中选择要卸载的包,用apt-get来卸载admingu@an...
分类:
其他好文 时间:
2014-04-29 11:42:46
阅读次数:
572