• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps startLocalOnlyHotspot setting with custom SSID and preSharedKey

npuleio

Lurker
I am making a simple application where I want just :

  1. local hotspot with no internet need
  2. custom SSID and preSharedKey , not that "AndroidShare_XXXX" stuff
I settled minSdkVersion and targetSdkVersion to 20 so it can enable geolocation permission for the current app.
Then I was trying to set custom SSID and preSharedKey but seems it won't change.... is there any possible way to set them ?

I have read also Android sets up hotspot with this function public static WifiConfiguration generateLocalOnlyHotspotConfig(Context context)... maybe is it possible to create someway a wrapper of this function to force settings as you know?....

Any direction would be really appreciate! Thanks a lor in advance to all! :)

Cheers! npuleio
 
Last edited:
Back
Top Bottom