Indoor location iOS/Android


We are currently working on indoor navigation system. In iOS there is simple method in SDK, which returns current x, y coordinates and orientation. But as far as we know there is now such methods in Android SDK. Could you provide some sample code (from iOS SDK maybe, because SDK code isn’t possible to access) or any other helpful info?
Besides, in iOS x,y coordinates are not very accurate. When i’m close to beacon everything is great, but in other cases situation is not so good. Our beacons are placed about 1 meter high above the ground. We are testing them in the university, so we cant place them on the walls, because sometimes we have to change classroom. We use 6 beacons with broadcasting power 4 dBm and interval 100 ms. Our room looks like this: