Questions tagged [hotspot]
A hotspot is a physical location where people may obtain Internet access, typically using Wi-Fi technology.
hotspot
31
questions
90
votes
10
answers
170k
views
Android: How to Enable/Disable Wifi or Internet Connection Programmatically
Using the Connectivity Manager Class we can get access to either wifi or Internet Network:
ConnectivityManager connec = (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
// ARE WE ...
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 {
...
24
votes
3
answers
23k
views
Android 2.2 wifi hotspot API
What is the API call I need to make in Android 2.2 (Froyo) to create a Wifi hotspot (as seen in the Tethering and Portable Hotspot settings item).
23
votes
9
answers
36k
views
Enable Windows 10 built-in hotspot by cmd/batch/powershell
I'm searching for a way to enable/disable the Hotspot built into Windows 10 via the command prompt, powershell or a batch file. In the GUI, it can be easily done with the third button in the network ...
2
votes
1
answer
6k
views
How to detect any enabled hotspot in iOS with private APIs
I want to detect whether the user has enabled hotspot/tethering on an iOS device. I can use private APIs, knowing it wont make it to the app store.
I was trying to go through private APIs list/runtime ...
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()....
11
votes
1
answer
6k
views
How to get Subnet Mask and Broadcast Address of Personal Hotspot in iOS
I need to find out a way to find out subnet mask and broadcast address of my personal hotspot in iOS.
I am using the following way to find the IP address of the device if it's connected to WiFi. But ...
9
votes
3
answers
11k
views
How To Send & Receive Data Over Wifi Without Internet In React-Native
I am developing a game on React-Native that works completely offline without needing internet connection,
The game will be multiplayer 1vs1 game, and players will join via Wifi Hotspot (also known ...
-1
votes
1
answer
3k
views
How to create a hotspot network in iOS app using Swift [closed]
I want to create a hotspot network in iOS app using Swift, and only Apple-approved APIs.
-1
votes
1
answer
3k
views
How can I get the IP adress of my personal hotspot or other information in code [closed]
I want to get the detail of my personal hotspot, such as the ip address, the device which connect to my hotspot. what's more, the information I communicate with other devices by my personal hotspot?
12
votes
3
answers
2k
views
AVPlayer crash when resizing window during fullscreen while hotspotting
I'm coding on an app where uses can watch a wide array of videos. I open the video in fullscreen on button tap and the user is able to use the playback controls to resize the window. The issue I'm ...
11
votes
3
answers
4k
views
NEHotspotConfigurationManager getting this alert:"Unable to join the network<name of network>" while error is nil
So i am trying to monitor the connection status by closers :
func reconnect(success: @escaping () -> Void, failure: @escaping () -> Void) {
let manager = NEHotspotConfigurationManager....
8
votes
3
answers
6k
views
How to create Custom WPA Hotspot with ssid and password in android?
I am using the following code for creating the Wifi-hotspot configuration.
I am able to create the Hotspot configuration and able to enable it. but i have give configuration for WPA-PSK, But it ...
8
votes
2
answers
4k
views
Network broadcast/multicast not sent by iPhone in personal hotspot mode
Based on recent empirical findings, and based on various posts on the web, it seems that an application running on an iPhone with personal hotspot enabled cannot send broadcasts and/or multicasts out ...
7
votes
1
answer
5k
views
webserver on an android hotspot - what's its IP?
I want to setup an android phone as a wifi-hotspot, then run a webserver on it, and browse it from another phone connected to the hotspot.
My phone isn't rooted, but I have termux, which has many ...