Path: ...!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!news.gegeweb.eu!gegeweb.org!.POSTED.133-175-174-202.west.ap.gmo-isp.jp!not-for-mail From: Enrico Papaloma Newsgroups: comp.mobile.android Subject: Re: home screen icon to connect to wi-fi network Date: Wed, 18 Sep 2024 17:40:56 +0200 Organization: Gegeweb News Server Message-ID: References: <1g80yhgozelcl.dlg@v.nguard.lh> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 18 Sep 2024 15:40:57 -0000 (UTC) Injection-Info: news.gegeweb.eu; posting-account="adibella@usenet.local"; posting-host="133-175-174-202.west.ap.gmo-isp.jp:133.175.174.202"; logging-data="55463"; mail-complaints-to="abuse@gegeweb.eu" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1?Content-Type: text/plain; charset=UTF-8; format=flowed Cancel-Lock: sha256:vPPbukBdyLV2+ipdwYSeiq0b1iWfN/vqqOGNj1AagFk= Content-Language: en-US Bytes: 2550 Lines: 23 On 9/18/2024 1:52 AM, Arno Welzel wrote: >> All I want is to put a shortcut on my home screen that connects to a known >> access point bssid/ssid pairing, which should be simple to create, right? > > No, since user Apps are not allowed to connect to networks, only the > system itself or "system" apps which got provided by Google as part of > Android or the phone manufacturer can do this. Thank you for that explanation of why something so easy is harder to do. It seems that the reason why this is so hard to do, where even the apps that VanguardLH found can only either simply bring up the settings app https://play.google.com/store/apps/details?id=com.pw.wifishortcut or they can only display the strongest locally available wi-fi access points https://play.google.com/store/apps/details?id=net.opengait.wifishortcuts where the former doesn't require location services, but the latter does. I can easily make an Android homescreen shortcut to the activity named com.android.settings/com.android.settings.Settings$WifiSettingsActivity but what I really want to bring up is an activity to a specific access point BSSID/SSID pair such as "01:02:03:04:05:06/my-access-point-01". Given a known BSSID/SSID to my own home access points, if anyone figures out how to directly connect to them with a terminal command, let me know.