Skip to main content

All Questions

Tagged with
-1 votes
1 answer
43 views

Where to find jdk sources for JNI_CreateJavaVM?

I'm trying to understand better how jvm works, and I was trying to find the main function that really interested me - the JNI_CreateJavaVM function. I wonder how it parses java bytecode, but I can't ...
stavratum's user avatar
0 votes
1 answer
48 views

How to Turn on LocalOnlyHotspot using WifiNetworkSpecifier.Builder as WifiConfiguration is Deprecated?

Here is My code- public void turnOnLocalOnlyHotspot(Context context) { ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); ...
VISHAL KUMAVAT's user avatar
1 vote
1 answer
139 views

setWifiApEnabled: NoSuchMethod

I've been trying to follow this tutorial on how to programmatically configure and start a Wi-Fi hotspot on Android. Here's my main activity file: package com.example.test; import androidx.appcompat....
Daniel Walker's user avatar
0 votes
0 answers
297 views

List of devices connected to hotspot on Android 13

I am working on an android app that based on java that need the list of devices connected to hotspot which has been using arp table and ip neigh command. In the target SDK version 33, arp table and ip ...
Han Wei Ho's user avatar
1 vote
0 answers
461 views

list of Connected Devices on the Wifi Hotspot

i have a nokia device with Android 11 . this device doesn't show Connected Devices CURRENTLY connected to the Wifi Hotspot. IOT Development boards like Arduino or ESP32 etc... connected to the device'...
g06m's user avatar
  • 19
0 votes
1 answer
650 views

How can I programmatically get information about local hotspot?

I need to perform a scan of the devices connected to the hotspot I broadcast with my mobile in order to start a communication only with these devices. The basic information I need is the broadcast ...
Marcello Carrozzino's user avatar
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
2 votes
1 answer
3k views

Android turn On/Off Mobile HotSpot programmatically

I've seen many people ask the question already. But unfortunately, my knowledge of programming is limited only to writing PowerShell scripts :) and I cannot figure out the code. Perhaps someone will ...
Den's user avatar
  • 21
1 vote
1 answer
579 views

Is there any way to create an Hotspot with specified SSID and Password in Android 10 automatically?

I've been working for a while on an application that enables and disables an Hotspot with specific SSID and Password in order to create a connection and trasfer data through FTP with the connection's ...
Bonemannes's user avatar
2 votes
0 answers
647 views

Android Studio: is possible to have hotspot with internet access? (Local Only Hotspot)

I'm new to Android Studio and I'm using the functionality of Local Only Hotspot to turn on and off programmatically the hotspot (found this two post for reference: How to turn on/off wifi hotspot ...
Luca's user avatar
  • 46
3 votes
2 answers
1k views

List of connected hotspot devices

I would like to retrieve the IP addresses of all devices connected to the WiFi hotspot of my smartphone. In Android 10 and below, I was able to get this list by executing the following piece of code: ...
Dieter27's user avatar
  • 114
0 votes
1 answer
145 views

Turning Wifi Hotspot not working in 7.0 nought programmatically

I test these codes in Samsung J200F it's working best but when i test these codes in Lenovo 7.0 Android Nought they does not working. There is no any exceptions in Logcat. I am already added these ...
Vk Developers's user avatar
1 vote
1 answer
153 views

Do Android ART and HotSpot behave differently in non-volatile variable visibility?

I tested the below piece of code on HotSpot and Android ART, but with different results. On HotSpot, MyThread never gets the updated isRunning, it get isRunning = true always... But when I test it on ...
fear's user avatar
  • 45
1 vote
0 answers
99 views

Managing WiFi Tethering in Android SDK 29

Does Android SDK 29 allow managing of WiFi Tethering? My app needs to be able to turn on/off the WiFi Tethering inside the app.
plr's user avatar
  • 11
1 vote
0 answers
128 views

Toggle hotspot programmatically in android N

I'm using android N and I'm trying to turn on wifi hotspot when the user opens the application. I was able to turn on the hotspot using the code that I mentioned below but other mobiles are not able ...
seshukumar kolli's user avatar

15 30 50 per page