Android应用程序开发行程规划器 [英] Android application to develop an itinerary planner

查看:73
本文介绍了Android应用程序开发行程规划器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算为游客制定行程规划器,当用户在谷歌地图上标记起点和终点时,我需要一种方法来获取博物馆,酒店,秘密地点等地方。用户只会输入起点和终点,所以我的任务是生成起点和终点之间的位置,并在地图中显示它们的详细信息。是否有方法可以做到?我可以为此任务提供示例代码吗?



我尝试过:



我试过拿谷歌地图并取得不成功的分数。

I'm going to develop an itinerary planner for tourists and I need a way to get the places like museums, hotels, secret places e.t.c when a user marks a starting and a ending points in the google map. User will only enter starting and the ending points so my task is to generate the places between the starting and the ending points and show them in the map with details about them.Is there a method that I can do it? Can I have a sample code for this task?

What I have tried:

I have tried taking google maps and taking the pin points which is not successful.

推荐答案

Quote:

我可以为此任务提供示例代码吗?

Can I have a sample code for this task?



如果您在互联网上找不到它,则不必创建它。另一种方法是聘请某人为你做这件事。



作为程序员,你的工作是创建算法来解决具体问题而你不能依赖别人为你永远做到这一点,所以有一段时间你将不得不学习如何做。而且越快越好。

当你要求解决方案时,就像试图通过培训其他人来学习开车一样。

创建算法基本上是找到数学并做出必要的调整以适应你的实际问题。


No you have to create it if you don't find it on internet. the alternative is to hire someone to do it for you.

As programmer, your job is to create algorithms that solve specific problems and you can't rely on someone else to eternally do it for you, so there is a time where you will have to learn how to. And the sooner, the better.
When you just ask for the solution, it is like trying to learn to drive a car by having someone else training.
Creating an algorithm is basically finding the maths and make necessary adaptation to fit your actual problem.


这篇关于Android应用程序开发行程规划器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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