Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
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
Posted

1 solution

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.
 
Share this answer
 
Comments
seyed mahmud shahrokni 13-Apr-15 13:52pm    
are you saying (i have to use Wifis for every floors) ?
i think it is possible that the device(cell phone) connects to the wrong Wifi because every wifi has Effective range . and they might be overlapping together !
do we have other devices for sending pulses in the short distance ?
OriginalGriff 13-Apr-15 14:08pm    
If you want to "pass appropriate parameters to the local server and fetch the data" then you have two choices: WiFi or cellular data - nothing else that a smartphone has has the range!
And Cellular could get expensive for the users, particularly if they are strolling round the mall with your app running!

Physical location information within the mall is always going to be a problem: if the phone can't "see" the GPS satellites then it won't work at all - and most malls aren't particularly radio transparent, being largely built of concrete...

So you don't have a lot of options, that I can see.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900