Android 应用程序中的离线地图
我正在开发这个旅游应用程序,我希望在其中集成一个精确城市的离线地图(一项活动)。我想指出的是,我对 java 和 android 都是全新的,所以这对我来说是一项非常艰巨的任务。我想问一下 - 有没有针对新手的教程或一些基本信息?或者也许我可以复制一些开源项目的代码?我听说过 osmdroid 但不知道如何使用它。
提前致谢。
I'm developing this tourist app and I would like to have an offline map of one exact city integrated in it (an activity). I'd like to note that I'm completely new both to java and to android so it's a really hard task for me. I wanted to ask - are there any tutorials or some basic information for newbies? Or maybe some open source projects that I could copy the code from? I've heard about osmdroid but I don't know how to use it.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你绝对应该使用 OSM droid。支持离线地图存储。它的用法和google的mapView完全一样。因此,任何地图视图教程都适用于 OSM droid,只需稍加修改即可。
并且您需要学习如何对 Android 应用程序进行编程才能真正对其进行编程...只需从一些简单的 Android 教程开始并坚持下去。学习编写 Android 应用程序代码不会在一夜之间发生。
You should definitely use OSM droid. it supports offline map storing. its usage is completely the same as the google's mapView. so any tutorial for the mapview would work for OSM droid also with slight modifications.
and you need to learn how to program android apps in order to actually program them... just start off with some simple tutorials for android and be persistant. learning to code android apps wont happen overnight..