Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get a list of available network providers?

Tags:

android

I'm trying to get a list of the available cellular network providers. Unfortunately I can't find any service or class that might help me out. Does anyone have an idea on how to manage this? It has to be possible since you can see the list when you go to the settings on your Android device.

like image 891
Goddchen Avatar asked Jun 26 '10 11:06

Goddchen


People also ask

How many Internet service providers are there?

There are 1,410 Internet Service Providers businesses in the US as of 2022, an increase of 4.6% from 2021.

How do I find out my network service provider?

Visit www.whoismyisp.org to look for your ISP.

Does anyone still have dial-up Internet?

Is dial-up internet still available? Yes, dial-up internet still exists, though it's not very practical for navigating the modern internet. You can still get it through providers like NetZero and Juno, both of which have free options.

How do I find the best WIFI in my area?

Click the “Go to my location” link and you'll be taken to a page listing the ISPs that operate in your area. You can also just look up a specific city. The ISPs are ranked based on the recent Speedtest.net download speed results of their subscribers, so you can see which ISPs are actually the fastest.


1 Answers

Since Android is open source I had a look at the sources and finally found something called INetworkQueryService. I guess you can do the same as the android settings implementation and interact with this service: Some guidance through NetworkSettings.java:

  • onCreate starts the NetworkQueryService and binds it
  • loadNetworksList() tells the service to query for network operators
  • INetworkQueryServiceCallback is evalutated and if the event "EVENT_NETWORK_SCAN_COMPLETED" was raised, networksListLoaded will be called to iterate over the available Networks
like image 136
tobsen Avatar answered Oct 13 '22 07:10

tobsen