I want the function (or algorithm) of finding the longitude, latitude and altitude of a location in smartphones when using four positioning systems (GPS, GLONASS, BeiDou, Galileo) in java or android programming