使用pre-安装了谷歌地图,而不是一个自己的活动使用意图? [英] Using the pre-installed Google Maps instead of an own activity by using Intents?

查看:125
本文介绍了使用pre-安装了谷歌地图,而不是一个自己的活动使用意图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,伙计们, 我只是想知道羯羊它是posssible传递geocoords的谷歌地图应用程序,双意图或类似的东西。

Hey guys, I just wanted to know wether it is posssible to pass geocoords to the google maps app bis intents or something similar.

我写了一个应用程序,通过展示自己的路线,COORDS等,但不会是更优雅问谷歌地图本身显示这个?

I wrote an app for displaying route, coords and so on by myself, but wouldn't it be more elegant to ask google maps itself for displaying this?

我不知道这是可能的,但也许,你可以回答这个问题。

I don't know if this is possible, but maybe, one of you can answer this question.

如果这是可能的,是不是也可以要求谷歌地图我的当前位置到计算路径?

IF THIS IS POSSIBLE, is it also possible to ask google maps to calculate the route by my CURRENT POSITION?

这将是巨大的,如果你可以告诉我一个骨架/哑code。我不知道怎么意图本来的样子。

It would be great if one of you can show me a skeleton/dummy code. I have no idea how the intents would have to look like.

尼斯的问候, Poeschlorn

Nice greetings, Poeschlorn

推荐答案

在谷歌意图的文档是在这里:的 http://developer.android.com/intl/fr/guide/appendix/g-app-intents.html

The documentation on Google Intents is here: http://developer.android.com/intl/fr/guide/appendix/g-app-intents.html

不幸的是,它是(据我所知)目前仅限于简单地显示一个位置,而不是一个路由。然后,用户可以使用该位置绘制自己的路线,虽然。

Unfortunately, it is (to my knowledge) currently limited to simply displaying a location, not a route. The user could then use that location to plot their own route, though.

这篇关于使用pre-安装了谷歌地图,而不是一个自己的活动使用意图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆