主要用来推广并统计数据,当用户扫描带参数二维码时,微信会推送消息到我们的服务器,此时可以根据参数了解到用户是从哪个渠道关注的。话不多少,先来代码: 1 #region 生成二维码 2 3 /// 4 /// 获取Ticket 5 /// ...
分类:
微信 时间:
2014-10-27 17:09:08
阅读次数:
402
要看到那个google的地图,在实现上也相当简便。嵌入地图时需要MKMapView这个类,
它有很多方法和属性,不过如果只是想得到基本的定位功能的话,只需实例化一个对像然后加到当前的
view上就可以了。
先介绍一下,它的几个常用的属性。
region 用来设置地图的那一部份被显示,它是一个结构体,定义如下:
typedef struct{
CLLocationCoord...
分类:
移动开发 时间:
2014-10-27 10:56:40
阅读次数:
190
添加地图注解,这个需要用到MKAnnotation这个协议,主要有两个UILabel类型的属性,title和subtitle,当用户点击小别针时候就会把相关信息显示出来,如下图:
Google地图实现之三添加注解 - tergol - tergol的博客
大概的操作是这样的,先定义一个继承了MKAnnotation的类,第当需要加上注解的时候,就根据当前的region等信息,实例化出一个对像,...
分类:
移动开发 时间:
2014-10-27 10:54:34
阅读次数:
197
1 /// 2 ///ConvertJson 的摘要说明 3 /// 4 public class ConvertJson 5 { 6 #region 私有方法 7 /// 8 /// 过滤特殊字...
分类:
Web程序 时间:
2014-10-27 09:17:24
阅读次数:
332
Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounded region...
分类:
编程语言 时间:
2014-10-27 06:55:21
阅读次数:
213
Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounded region...
分类:
其他好文 时间:
2014-10-24 23:36:15
阅读次数:
309
本文来自:http://www.cnblogs.com/zeroone/archive/2013/09/04/3300274.html#region 执行带一个参数的多线程 Thread mythread = new Thread(new ParameterizedThread...
分类:
编程语言 时间:
2014-10-24 18:50:31
阅读次数:
195
菜单操作类: 1 #region 创建、查询、删除菜单 2 3 /// 4 /// 创建菜单 5 /// 6 /// 菜单字符串 7 /// ReturnMsg.ErrCode为0则创建菜单成功 8 ...
分类:
微信 时间:
2014-10-24 18:29:07
阅读次数:
449
开发过程中需要用的的公众号信息在这里配置,此外需要用到的Url信息无需更改。 /// /// 微信 需要用到的Url、Json常量 /// public class WeiXinConst { #region Value Const //...
分类:
微信 时间:
2014-10-24 14:33:20
阅读次数:
430
The administration of the Tomsk Region firmly believes that it's time to become a megacity (that is, get population of one million). Instead of improving the demographic situation, they decided to ach...
分类:
其他好文 时间:
2014-10-24 11:09:27
阅读次数:
181