请介绍一下我的问题的结构 [英] please introduce me a structure for my problem

查看:82
本文介绍了请介绍一下我的问题的结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨人。我想制作一个Android应用程序,它能够显示有关商场中商店的一些有用信息。假设你在商场的一楼。如果您运行该应用程序,它必须连接到本地服务器并显示有关存储在一楼或您附近的商店的所有信息。如果你去第二层或其他楼层,你会看到有关它们的合适信息。

我想我可以解决问题的所有部分,除了一部分!我如何识别商场或商店附近的楼层?$

i相信如果我能够识别楼层,我将能够将适当的参数传递给本地服务器并获取数据!

您怎么看?请与我分享你的有用的想法。提前谢谢

hi people . i want to make an android application which is able to show some useful information about stores in a mall . suppose that you are in the first floor of the mall . if you run the application , it has to connect to the local server and show you all of information about stores which is placed in the first floor or near you . if you go to the second or other floors you will see the suitable information about them .
i think i can solve all parts of my problem except one part ! how can i identify the floors in the mall or stores which is placed near to me ?!
i believe that if i able to identify the floor i will able to pass appropriate parameters to the local server and fetch the data !
what do you think ? please share your useful idea with me. thanks in advance

推荐答案

我原本以为服务器可以通过简单的方式识别您通过哪个WiFi连接并提供与之相关的数据? br />
这样做的简单方法是将每个WiFi路由器设置为不同的IP地址范围,因此连接的设备通过IP地址与您的服务器进行通信,该IP地址可以自动识别它。
I would have thought the easy way was for the server to identify which WiFi connection you came in via and serve up the data relevant to that?
And the simple way to do that is set each WiFi router to a different IP address range, so the device that connects talks to your server via an IP address that identifies where it is automatically.


这篇关于请介绍一下我的问题的结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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