I want to build an Android application for a mall, so the user can navigate in a map that represent each floor in the mall and compute the shortest path between his position and the selected place, the mall located in the middle east, I heard about Google indoor maps but I think I can't use it, what do I need to make a one for that mall, can I make it 3-D? Any suggestion, or articles about this can help.
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
This isn't a good answer to your question, but I think it will save you some work. There are going to be some issues with the app you describe. Mainly, if you want to show the user's location on the mall map and calculate shortest distance from it. If your mall is indoors, how are you going to get the user's location? GPS isn't very reliable indoors unless there are windows everywhere. Plus you'll need a 3-D fix in order to ascertain what floor the user is on.
As a spin-off of @hsander's ideas, you could have the user take a picture of a nearby store's sign/logo and use image processing (e.g. Google Goggles) to match it and figure out where the user is. You wouldn't be able to show the user's movement in real time, but it would be a "free" solution and you would be able to deal with the issue with multiple floors.
If you have a budget and ability to install things in the mall, you could put GPS antennas on the roof of the mall in different places and then use a repeater to broadcast the signal inside the mall. My company has a setup like this, and I get impeccable GPS while indoors. You would be able to know which repeater the user is closer to by their GPS coordinates and direct them accordingly.
In terms of display, you can use simple View or SurfaceView to display a map floorplan. Using a map-related API is probably going to be overkill and it will be even less useful without user's location. I suggest for calculating shortest path, you create a graph and use Dijkstra's shortest path algorithm. You could use Google maps to help you create a node graph with real distances.
Like Samuel said, you won't be able to use GPS.
I see two options here: