我们可以使用Google提供的任何网络服务或类似的东西找到地球上的区域。就像我可以找到使用的高程和方向。
String url = "http://maps.googleapis.com/maps/api/elevation/xml?" +
"locations="+String.valueOf(latitude)+","
+String.valueOf(longitude)
+"&sensor=true";
和
Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse("http://maps.google.com/maps?saddr="+one+","+two+"&daddr="+three+","+four+""));
startActivity(intent);
关于寻找区域有什么帮助吗?
答案 0 :(得分:1)
以下是在Android中开始使用谷歌地图的好教程,当你了解到你可以找到谷歌api的地方,他们的海拔和位置附近的位置
http://www.vogella.de/articles/AndroidLocationAPI/article.html