
I tried this code snippet, which is gives an error NoSuchMethodException.

Method.invoke(wifimanager, wificonfiguration, true) Method method = wifimanager.getClass().getMethod("setWifiApEnabled", WifiConfiguration.class, boolean.class)

Wificonfiguration = new WifiConfiguration() WifiConfiguration wificonfiguration = null WifiManager wifimanager = (WifiManager) context.getSystemService(context.WIFI_SERVICE) Requirement is like, Android app should be able to create the Wifi hotspot with specific SSID and PASSWORD which will get from the server.

I checked the ShareIt mobile app which creates a hotspot with SSID and PASSWORD and the receiver will connect to that hotspot, am expecting something similar to that. When I personally tried the latest SHAREit App in my Android Phone then this happened so keep please remind in your Mind.I have to create a Wifi Hotspot with specific SSID and PASSWORD dynamically in my Android app project. Better try Zapya or Zapya Go, these apps provide smooth and uninterrupted file transfer. Remind there:- If you face some problem in connecting the SHAREit, I recommend trying to download & install the old version apk in your Mobile and reconnect them. Answer (1 of 2): Blocked in China and also have major problems in their app.

