Access the variables / data of adjustments in android referring to the utility as hotspot (share internet)


I was trying to print the internet sharing data of my Android system by a Textview but I am not finding any information on how to access them.

My idea is to pass to the tex a string with the name assigned to the Internet sharing network, but I'm not finding anything to access this type of variables / data of the settings

    tex = (TextView)findViewById(;
    tex.setText("hello world");

I have managed to find how wifi can be accessed

WifiManager wifi = (WifiManager)getApplicationContext().getSystemService(Context.WIFI_SERVICE);

But I can not get access to the Internet sharing data to name the network and that, I tried the debug but nothing comes out that seems that, someone knows if it is not that context and what is it?

asked by Luis Dominguez 06.11.2018 в 12:15

0 answers