I'm looking for a good example regarding simply getting current long/lat location data from the backend regardless of what tech is used to get it (gps/network-based, etc.).

All the examples I can find using LBS seem to be specific to using the GPS to get the info. Isn't there a more generic way of doing things?

If not, how do I do it using netowrk-based location?