如何在我的Android应用程序中使用地图? [英] How Can I Use Maps In My Android Application ?

查看:95
本文介绍了如何在我的Android应用程序中使用地图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。

我使用Galexy nexus作为Avd(安卓虚拟设备)



i想要使用'地图'我的应用。

这是我的代码:





意图i = new Intent 
(android.content.Intent.ACTION_VIEW,
Uri.parse( geo:37.827500 ,-122.481670\" ));
startActivity(i);





但它不起作用!

i认为它取决于在AVD,

任何帮助?

解决方案

你会从https://developers.google.com/maps/documentation/android [ ^ ]?



-SA

hi .
i use Galexy nexus as an Avd ( android virtual device )

i want to use 'Maps' in my app .
here this is my code :


Intent i=new Intent
                (android.content.Intent.ACTION_VIEW,
                        Uri.parse("geo:37.827500,-122.481670"));
        startActivity(i);



but it doesn't work !
i think it depends on AVD ,
any help ??

解决方案

Would you start from https://developers.google.com/maps/documentation/android[^]?

—SA


这篇关于如何在我的Android应用程序中使用地图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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