Sujet : Re: home screen icon to connect to wi-fi network
De : enrico (at) *nospam* papaloma.net (Enrico Papaloma)
Groupes : comp.mobile.androidDate : 18. Sep 2024, 16:40:56
Autres entêtes
Organisation : Gegeweb News Server
Message-ID : <vcesa8$1m57$1@news.gegeweb.eu>
References : 1 2 3 4
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
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.wifishortcutswhere 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.