1.User Location 能做什么
获取用户位置
追踪用户的移动
2.User Location 的关键API
Location Manager:用于管理Android的用户定位服务;
Location Providers: 提供多种定位方式供开发者选择;
3.获取用户的当前位置
Gps定位:
声明权限:android.permission.ACCESS_FINE_L...
分类:
移动开发 时间:
2014-06-18 12:18:38
阅读次数:
231
android.permission.ACCESS_CHECKIN_PROPERTIES 允许读写访问"properties"表在checkin数据库中,改值可以修改上传( Allows read/write access to the "properties" table in the checkin database, to change values that get uploaded)
...
分类:
移动开发 时间:
2014-06-17 21:58:57
阅读次数:
437
/**
*
* @author xuyw
* @email xyw10000@163.com
* @date 2014-06-12
*/
access_token是公众号的全局唯一票据,公众号调用各接口时都需使用access_token。
正常情况下access_token有效期为7200秒,重复获取将导致上次获取的access_token失效。由于获取access_tok...
分类:
微信 时间:
2014-06-17 19:10:16
阅读次数:
589
XMLHttpRequest cannot load file~~~~~~~Origin 'null' is therefore not allowed access
最近在做框架的时候,需要加载.html文件和.json文件的时候出现了一下一个错误...
分类:
数据库 时间:
2014-06-16 20:26:18
阅读次数:
266
经常需要根据IP地址统计apache站点访问量,最基本的脚本.根据IP访问量降序排列:#!/bin/bash
#Script_name:access_count
acc_log=/usr/local/apache2/logs/access_log
/bin/awk‘{print$1}‘$acc_log|sort|uniq-c|sort-nr执行效果:[root@zabbix~]#shaccess_count
94989192.168.1..
分类:
移动开发 时间:
2014-06-16 18:18:50
阅读次数:
332
一、题目1、Linux挂载Winodws共享文件夹2、查看http的并发请求数及其TCP连接状态:3、用tcpdump嗅探80端口的访问看看谁最高4、统计/var/log/下文件个数5、查看当前系统每IP连接数6、shell下32位随机密码生成7、统计出apache的access.log中访问量最多的5个IP8、如何查看二进制文..
分类:
系统相关 时间:
2014-06-16 17:05:49
阅读次数:
329
BACKGROUNDEmbodiments of this invention relate to RDMA (remote direct memory access) data transfer in a virtual environment.Traditional RDMA allows da...
分类:
其他好文 时间:
2014-06-16 13:10:49
阅读次数:
307
报错信息:password authentication failed Permission denied, please try again1 开启ubuntu上的ssh功能先安装,安装后就自动开启了.sudo apt-get install openssh-server openssh-clie...
分类:
其他好文 时间:
2014-06-15 14:05:28
阅读次数:
277
《Windows Azure Platform 系列文章目录》 细心的用户会发现,微软在国外和国内的数据中心建设都是成对的,比如香港数据中心(Asia East)和新加坡的数据中心(South East Asia)。这是因为微软充分考虑了异地冗余的能力。在两对数据中心之间,比如香港和新加坡...
分类:
数据库 时间:
2014-06-14 19:26:43
阅读次数:
270
Access restriction: The type CachedRowSetImpl is not accessible due to restriction on required library E:\MyEclipse10\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\rt.jar...
分类:
其他好文 时间:
2014-06-14 11:31:26
阅读次数:
195