Skip to main content

All Questions

0 votes
1 answer
488 views

How to find SSID and password of the wifi hotpsot in android Oreo and above?

Is it possible to find SSID and password of wifi hotspot network defined in Settings -> Network -> Hotspot & Tethering or Settings -> Portable Hotspot (depending on a device) in android Oreo or ...
Jon Doe's user avatar
  • 25
0 votes
0 answers
250 views

Hotspot turn off automatically after few seconds of turn on in Android 8.0 (Oreo)

I'm trying to turn on hotspot programmatically on Oreo and onward Devices but unfortunately, the hotspot is turned off within few seconds. What can be the reason? Here is How I'm trying to turn on. ...
Mohammad Abu Bakar Hussain's user avatar
1 vote
1 answer
2k views

How to change WifiConfigration in Oreo device

I used https://github.com/aegis1980/WifiHotSpot code to start and stop Hotspot from my application. But it will only start and stop the hotspot that cannot change the Wifi configuration, I also want ...
MJM's user avatar
  • 5,291
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
9 votes
0 answers
2k views

Oreo startLocalOnlyHotspot customize SSID and PASSWORD (API 26)

It's just known that since Android Oreo (API 26) is not posible to enable the wifi hotspot as in previous versions, with setApEnable(). Google has hiden and protected those methos, and the only ...
rul3s's user avatar
  • 342
3 votes
0 answers
565 views

Android hotspot won't work on some devices

I wan't to enable the android hotspot automatically. But i get the error Target SDK: 26 D/WifiManager: LocalOnlyHotspotCallbackProxy: handle message what: 2 msg: { when=-41ms what=2 arg1=3 ...
Christian Heinisch's user avatar
32 votes
1 answer
9k views

Change local-only Wi-Fi hotspot's SSID and password in Android Oreo 8.x

In my Android application I'm using the following code snippet: @RequiresApi(api = Build.VERSION_CODES.O) private void turnOnHotspot(){ WifiManager manager = (WifiManager) getApplicationContext()....
holland's user avatar
  • 2,152
2 votes
1 answer
3k views

How to turn off wifi hotspot programmatically in Android 8.0 (Oreo) (setWifiApEnabled is not support this version anymore)

I reference the code to turn on hotspot in Android 8.0, it is work. But I have no idea about how to disable it @RequiresApi(api = Build.VERSION_CODES.O) private void turnOnHotspot(){ WifiManager ...
Lee's user avatar
  • 21
22 votes
3 answers
32k views

How to turn on/off wifi hotspot programmatically in Android 8.0 (Oreo)

I know how to turn on/off wifi hot spot using reflection in android using below method. private static boolean changeWifiHotspotState(Context context,boolean enable) { try { ...
Chandrakanth's user avatar
  • 3,801