5,815,061 Members 37,383 Now Online
XDA Developers Android and Mobile Development Forum

[Q] How and Where Android Hotspot / Tether Name located in code?

Tip us?
Junior Member - OP
Thanks Meter 0
Posts: 14
Join Date: Aug 2014
Location: bandung

Battery Full [Q] How and Where Android Hotspot / Tether Name located in code?

Hi everyone!

I just found out inside the stackoverflow,
that some of our android developers are experiencing the difficulty
of switching ON / OFF the Wifi Tether programatically.

Until then, it's fully discovered here.

But my case here is quite similar.

How to set the Device Tethering name?
Because as far as I know, we could go to Settings | Wireless Network | Tethering Portable Hotspot | Setup Wifi Hotspot

There we could set the Device tethering name straight forward.

1. But how to do it by programatically (in code)?
2. And where did Android stored that value actually?
UltraWelfare's Avatar
Senior Member
Thanks Meter 104
Posts: 503
Join Date: Dec 2013
Location: Xanthi
Why not take a look at the WifiManager API and/or ConnectivityManager API?
Device : Xperia Z1 C6903
Stock ROM .108 Firmware Android 4.4.4

Device : Xperia SP C5303 - DEAD
Custom ROM : Stock .266 Firmware Android 4.3
Bootloader : Locked

Don't forget to click the if I helped
android, java, tethering, wifi
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes