People are confusing things by calling every position locating system GPS.
You don't actually need satellites to find your location electronically these days.
There is the US 'GPS' satelite system. It's basically for the use of the US defence forces and it's paid for and operated out their defence spending. When originally implemented the only way to use the system was via large, expensive and strictly controlled by the US DOD receivers.
The Russians also launched a similar system GLONASS, although they let the maintenance laps in turmoil following the fall of communism and while they are now rebuilding it again, I don't know if it's actually operational enough now to be useful. Countries like China and India have contributed to the rebuilding of the Russian system so they have use of a non US controlled system. China and India have asperations of launching their own systems too as not to be dependant on any foreign power for 'location services'.
The Europeans are building a system too called 'Galileo' , but the expense of the system is slowing them down some what and the system is no where near operational.
So there could be potentially 3 satellite based location systems in the near future and in the longer term even more.
But your mobile phone has other options - the mobile phone network itself. Your phone is in constant contact with the network, evaluating the signal from multiple towers and selecting the best one and 'handing over'. Each of those towers has a unique ID. Their locations are also known. Your distance from them is also known (The phone can calculate the distance by measuring protocol delays in the GSM/3G communications protocol).
Enter a program like Google Maps. On a phone with out GPS or with the GPS disabled, the Google Apps application can access the phones 'tower and signal strength' table. It then uses the data connection to send all the towers (base stations) that your phone can see to Google. The 'googleplex' looks up it's monster database of mobile phone base stations and sends back to the application on your phone, the physical co-ordinates of all those mobile base stations/towers.
Knowing the location of all the base stations and their relative signal strengths or distance to the base station you can make a pretty good 'guess' as to where the phone handset actually is. No GPS satellite signal needed.
A-GPS is just a merge of these methods. GPS can be 'difficult' to start up - the receiver has to listen on all channels, trying to find satellites and then wait to get a complete set of data from at least 3 different satellites. Then calculate the position. If you are moving the calculations might never complete.
A-GPS uses the trick google-maps mobile uses when there is no GPS signal. The GPS application grabs the base station list from the phone and sends it via a Internet to a 'positioning server' some where. It looks up it's location database, makes a pretty good guess at where you are and also what GPS satellites should be in your 'field of view', it may also send 'ephemeris' data for your location as well.
The GPS receiver is then preloaded with this as starting information. It now knows which satellites to listen for, so the radio channel scan can be skipped, it knows the specifics of your location (ephemeris) and it has starting co-ordinates to load into the engine that calculates the position from the satellite signals.
All this reduces the 'time to fix' from several minutes to several seconds.
You could also of course just look out the window
You don't actually need satellites to find your location electronically these days.
There is the US 'GPS' satelite system. It's basically for the use of the US defence forces and it's paid for and operated out their defence spending. When originally implemented the only way to use the system was via large, expensive and strictly controlled by the US DOD receivers.
The Russians also launched a similar system GLONASS, although they let the maintenance laps in turmoil following the fall of communism and while they are now rebuilding it again, I don't know if it's actually operational enough now to be useful. Countries like China and India have contributed to the rebuilding of the Russian system so they have use of a non US controlled system. China and India have asperations of launching their own systems too as not to be dependant on any foreign power for 'location services'.
The Europeans are building a system too called 'Galileo' , but the expense of the system is slowing them down some what and the system is no where near operational.
So there could be potentially 3 satellite based location systems in the near future and in the longer term even more.
But your mobile phone has other options - the mobile phone network itself. Your phone is in constant contact with the network, evaluating the signal from multiple towers and selecting the best one and 'handing over'. Each of those towers has a unique ID. Their locations are also known. Your distance from them is also known (The phone can calculate the distance by measuring protocol delays in the GSM/3G communications protocol).
Enter a program like Google Maps. On a phone with out GPS or with the GPS disabled, the Google Apps application can access the phones 'tower and signal strength' table. It then uses the data connection to send all the towers (base stations) that your phone can see to Google. The 'googleplex' looks up it's monster database of mobile phone base stations and sends back to the application on your phone, the physical co-ordinates of all those mobile base stations/towers.
Knowing the location of all the base stations and their relative signal strengths or distance to the base station you can make a pretty good 'guess' as to where the phone handset actually is. No GPS satellite signal needed.
A-GPS is just a merge of these methods. GPS can be 'difficult' to start up - the receiver has to listen on all channels, trying to find satellites and then wait to get a complete set of data from at least 3 different satellites. Then calculate the position. If you are moving the calculations might never complete.
A-GPS uses the trick google-maps mobile uses when there is no GPS signal. The GPS application grabs the base station list from the phone and sends it via a Internet to a 'positioning server' some where. It looks up it's location database, makes a pretty good guess at where you are and also what GPS satellites should be in your 'field of view', it may also send 'ephemeris' data for your location as well.
The GPS receiver is then preloaded with this as starting information. It now knows which satellites to listen for, so the radio channel scan can be skipped, it knows the specifics of your location (ephemeris) and it has starting co-ordinates to load into the engine that calculates the position from the satellite signals.
All this reduces the 'time to fix' from several minutes to several seconds.
You could also of course just look out the window