header('Expires: 0'); header('Last-Modified: '. gmdate('D, d M Y H:i:s') . ' GMT'); header…
/** 获取存储卡路径 */ File sdcardDir=Environment.getExternalStorageDirectory(); /** StatFs 看文件系统空…
/** * * *图片 的放大 缩小 */ public class TouchImageViewActivity extends Activity { /** Called wh…
SELECT id, title,createdate,FROM_UNIXTIME(UNIX_TIMESTAMP(createdate),'%Y-%m-%d') AS create…
package main import ( "os" "encoding/csv" ) func main() { f, err := os…
log4j可以支持将log输出到文件,数据库,甚至远程服务器,这次给大家分享下如何输出到mysql中。 (1)log4j.properties的配置内容如下: log4j.root…
注:此功能在在Activity中,由三大块组成:头(上月按扭,下月按扭,当前年月文本),日历块(星期区域,日期区域),描述区域 Activity: /** * Android实现日…
Go语言计算两个经度和纬度之间的距离 package main import ( "fmt" "math" ) func main() { …
String className = Appender.class.getName(); className = className.replace('.', '/'); Stri…
mainActivity如下: package cn.testcamera; import java.io.File; import java.text.SimpleDateFor…
关闭文件 func (file *File) Close() os.Error { if file == nil { return os.EINVAL } e := syscall…
在获取sim卡联系人前,我们一般会先判断sim卡状态,找到sim卡后再获取它的资料,如下代码我们可以读取sim卡中的联系人的一些信息。 PhoneTest.java package…
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Excellent blog here Also your website loads up very fast What web host are you using Can I get your affiliate link to your host I wish my web site loaded up as quickly as yours lol