Skip to main content

All Questions

Tagged with
1 vote
0 answers
347 views

How can I configure the SSID and password of a hotspot in android studio?

I want to create a mobile hotspot in an android device, I already implemented the hotspot code and is working now, but.. I cannot configure the name and the password of that hotspot using java. What ...
felipe's user avatar
  • 11
0 votes
0 answers
341 views

Error obtaining IP address in WiFi hotspot Android 7 Nougat

I am doing a small project to create a wifi hotspot in android, but I have a problem. It happens that the code works perfectly in Android 5, but when I run it in Android 7.1 the hotspot created is ...
JESUS CORONEL's user avatar
0 votes
1 answer
1k views

how to get SSID and Password for hotspot (kotlin)

I'm trying to create a hotspot using startLocalOnlyHotspot() my code: var ssid = "null" var password = "null" wifiManager.startLocalOnlyHotspot(object : LocalOnlyHotspotCallback() ...
Mohammed Ali's user avatar
0 votes
1 answer
1k views

How to find the SSID of my Mobile Hotspot (Android studio- java)

I am hoisting hotspot from my android phone. I was able to host the mobile hotspot programmatically but I was not able to find the SSID of my phone (which is being used as mobile hotspot). I would ...
Laren Mark D'Cruz's user avatar
1 vote
0 answers
51 views

Need to method for disconnect device from hotspot. (Android)

I need a method to restrict certain MAC addresses from connecting to the hotspot. If I knew the MAC address of a device how can I achieve this?
Dinith's user avatar
  • 949
1 vote
0 answers
370 views

Create custom hotspot in Android 8.0 Oreo

I am trying to figure out how to setup a custom hotspot with a certain ssid and pass on Android Oreo. I know that there is a way to toggle the hotspot, but I can't seem to find a way to configure the ...
Mike's user avatar
  • 149
0 votes
0 answers
542 views

Correct way to create hotspot programmatically in devices with Cyanogenmod (6.0+)

public static boolean isApOn(Context context) { WifiManager wifimanager = (WifiManager) context.getSystemService(context.WIFI_SERVICE); try { Method method = wifimanager.getClass()....
dino 's user avatar
  • 519