Methodology and SW libraries for the design and development of GALILEO/EGNOS-based POSiTiOning applications for smartphones