automation to switch networking

I’m a NOOB, and not sure where this should go, so I apologize in advance.

Is there a way to automate the change of networking (connecting to a named wireless access point (WAP)) when Kodi is launched? Kodi is installed on an Amazon FireTV Stick. I’m looking for a way to automatically change to a specified WAP when Kodi is launched.