i am doing an application in eclipse which is Position localization for smart phone based on wifi signal, briefly three reference points (routers) need to be used to find my device location and each router has to have a fixed coordinates, i want to use if and if else to select only three routers among the existing Wifi signals and given them a coordinates.
i tried to do it in this way but i did not work?
if (SSID = router name) // where SSID is the router user name in eclipse
{
int x1 = 0;
int x2 = 0;
}
any suggestions please ? thank you