原理
将手机上已安装 apk 文件与服务器端最新 apk 进行二进制对比,得到差分包。用户更新应用程序时,只需要下载差分包(patch),并在本地将下载的差分包与已安装 apk 合并成新的 apk 文件,然后安装合成后的新 apk 文件。
所有的百度地图 SDK 在使用时,必须先调用SDKInitializer.initialize(Context context)
方法进行初始化。
MapStaus
地图状态。可以设置地图的中心点、缩放级别、仰望角、旋转角。该类是 final 类,要用MapStaus.Builder
构造Overlay
覆盖物。该类为抽象类。其子类有Arc
弧线、Circle
圆、 Dot
圆点、GroundOverlay
矩形区域、Marker
标记、Polygon
多边形、Polyline
折线、Text
文本Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment