Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在研究如何使用 OSM 数据在 android 上实现语音引导导航,但似乎没有足够的在线文档。有人知道在 android 上将语音引导导航添加到 graphhopper 路由可能需要什么吗?谢谢
你需要一个文本到语音引擎。我认为谷歌提供了一个免费的集成到 Android 中,但肯定有免费的替代品。然后用指令中的适当信息给它喂食。要找出接下来是哪条指令,您可以使用 find 方法:
ghResponse.getInstructionList().find(currentPosition.latitude, currentPosition.longitude)