摘要: 转载声明:http://www.cnblogs.com/ninemilli/archive/2011/12/26/2289285.html概述:主要是阐述如何将瓦片地图图片拼接成完整地图的一些概念以及相关算法。基本概念:地图瓦片地址:http://mt2.google.cn/vt/lyrs=m@167000000&hl=zh-CN&gl=cn&x=420&y=193&z=9&s=Galil 现在就是要将一张张这类的地图瓦片,在客户端拼接成一幅完整的地图。 瓦片大小为:256x256。 url中关键参数解析:参数描述mt2.google.cnGoo 阅读全文
posted @ 2013-01-31 11:46 王世桢 阅读(5798) 评论(0) 推荐(0) 编辑
摘要: 比较简单就直接上代码了 1 package cn.itcast.mobilesafe; 2 3 import android.app.Activity; 4 import android.content.SharedPreferences; 5 import android.content.SharedPreferences.Editor; 6 import android.os.Bundle; 7 import android.os.Environment; 8 import android.util.Log; 9 import android.view.Display;... 阅读全文
posted @ 2013-01-31 11:17 王世桢 阅读(516) 评论(0) 推荐(0) 编辑