Questions tagged [hotspot]

A hotspot is a physical location where people may obtain Internet access, typically using Wi-Fi technology.

A hotspot is a physical location where people may obtain Internet access, typically using Wi-Fi technology, via a wireless local area network (WLAN) using a router connected to an internet service provider. The service can also be provided by a smartphone using its cellular data to connect to the isp.

346 questions
90
votes
10 answers

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 CONNECTED TO THE NET if (…
Rohit Sharma
  • 13,787
  • 8
  • 57
  • 72
31
votes
1 answer

Change WiFi 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().getSystemService(Context.WIFI_SERVICE); …
Markinson
  • 2,077
  • 4
  • 28
  • 56
28
votes
2 answers

OpenJDK vs Java HotspotVM

Are OpenJDK VM and Oracle Hotspot VM still two different JVMs? I can't seem to find any somewhat official documentation on anything about OpenJDK VM. Even in OpenJDK homepage there is an HotSpot Group which develops HotSpot VM. The HotSpot group is…
arvist
  • 424
  • 1
  • 5
  • 9
24
votes
3 answers

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).
Thomas
  • 665
  • 1
  • 6
  • 11
21
votes
3 answers

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 { WifiManager manager = (WifiManager)…
Chandrakanth
  • 3,711
  • 2
  • 18
  • 31
20
votes
8 answers

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 panel (see image below), but I want to automate…
casiosmu
  • 797
  • 1
  • 8
  • 22
15
votes
2 answers

unexplained 10%+ performance boost from simply adding a method argument (slimmer jit code)

(note: proper answer must go beyond reproduction). After millions of invocations, quicksort1 is definitely faster than quicksort2, which have identical code aside from this 1 extra arg. The code is at the end of the post. Spoiler: I also found the…
user2023577
  • 1,752
  • 1
  • 12
  • 23
12
votes
3 answers

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 having is that when the user is sharing his internet…
ClockWise
  • 1,509
  • 15
  • 32
11
votes
0 answers

how to avoid automatic hotspot login popup from the point of view of the hotspot device?

I'm in control of the http server of an IOT device that is the hotspot. This device http server offers some settings but it doesn't provide Internet connection. When I connect from an Ubuntu PC to this device, Ubuntu pops up a "Hotspot Login"…
gregoiregentil
  • 1,793
  • 1
  • 26
  • 56
10
votes
3 answers

NEHotspotConfigurationManager getting this alert:"Unable to join the 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.shared let ssid = CameraManager.camera.uuid let…
ironRoei
  • 2,049
  • 24
  • 45
10
votes
1 answer

Is Ordinary Object Pointer a pointer or an object structure in HotSpot?

I am working on a Oracle HotSpot and GC internals article, but I am confused about the meaning of OOP (Ordinary Object Pointer). The Oracle documentation states that an OOP is a 32 or 64 bit pointer to an object datastructure on the heap: An…
Robert
  • 125
  • 5
9
votes
1 answer

Hotspot plugin scanWifi() is not working in Android ionic cordova

I'm facing an issue while scanning nearest wifi. I'm using ionic Cordova framework. I have used a scanWifi method of Hotspot plugin to scan wifi list. I have referred to the following link: https://ionicframework.com/docs/native/hotspot/ My code…
9
votes
0 answers

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 posibility is to enable a local only hotspot with…
rul3s
  • 332
  • 1
  • 2
  • 18
9
votes
2 answers

Can HotSpot inline lambda function calls?

Considering the code: someList.forEach(x -> System.out.format("element %s", x)); Theoretically, it should be possible to inline this code and eliminate the indirect function calls by first inlining the forEach method, and then inlining the lambda…
Michael Ekstrand
  • 28,379
  • 9
  • 61
  • 93
9
votes
5 answers

Is it possible to get the mac address of client devices which are within wifi hotspot range?

I want to get a list of all the devices(who has their wifi turned on) which are within Wifi hotspot range. However it may or may not be connected to the hotspot. I am getting the list of connected devices by using this library but I am not sure…
Menu
  • 677
  • 1
  • 12
  • 30
1
2 3
22 23