1. Are you ready for the Galaxy S20? Here is everything we know so far!

startLocalOnlyHotspot setting with custom SSID and preSharedKey

Discussion in 'Android Development' started by npuleio, Nov 17, 2021.

  1. npuleio

    npuleio Lurker
    Thread Starter

    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
     


    #1 npuleio, Nov 17, 2021
    Last edited: Nov 17, 2021

    1. Download the Forums for Android™ app!


      Download

       
Loading...
Similar Threads - startLocalOnlyHotspot setting custom
  1. HarryC
    Replies:
    3
    Views:
    283
  2. Olda
    Replies:
    2
    Views:
    321
  3. brentc
    Replies:
    3
    Views:
    385
  4. Gobshyte
    Replies:
    5
    Views:
    912
  5. A Bro
    Replies:
    1
    Views:
    389
  6. zlloyd1
    Replies:
    7
    Views:
    789
  7. eyeandroid
    Replies:
    2
    Views:
    400
  8. Michael Culver
    Replies:
    2
    Views:
    434
  9. GiuseppeSM
    Replies:
    1
    Views:
    601
  10. icantchooseone
    Replies:
    2
    Views:
    478

Share This Page

Loading...