Android LocationManager Criteria
问题 I need to receive location changes both from Network and GPS providers. If GPS provider not avaliable or has not location (bad sattelite visibility) I would receive location from Network provider else from GPS provider. Is it possible to select provider using criteria according to my necessity? 回答1: Actually Android Developers - Making Your App Location Aware has a great example code to meet your needs. in its code, if you use both providers (from GPS and from Network) it will do a comparison