After getting set up with an Apple Developer account from Ryerson, I found this amazing application for indoor/outdoor position tracking using Wi-Fi. This application is based on two things, a client and a server. The server can be a windows, linux or mac running a simple java applet. The client can be an iphone, or android device. In order to get the RedPin app on you iPhone you need to build and compile the project in Xcode and then upload it to your device. The one downfall of this product is that it uses an private API which makes it unsellable in the iTunes app store.
After testing the application for a few minutes I noticed it did a pretty good job in locating the front and back of my room. 10/10 times it guessed right after moving locations.
To try it out for yourself just visit redpin.org or click the link bellow: