you keep changing the goal. it is possible to connect programmatically to an access point. the library you are using may be able to handle it. you need for wifi to be enabled already, and you need all the permissions in your manifest. for the moment, scanning may work. in any case, if you are able to address the access point directly with the library, you should be able to connect. the library you are using, although updated since originally written, may be dated. the problems you are encountering have nothing to do with b4x; they relate to restrictions imposed by google. whatever is legal in android can be handled by b4x. if you can operate within those restrictions, the library may work just fine. if not, you may need to look for a different library. static libraries may need to be updated to keep up with google's changes. in some cases, the library might be ok, but the app using it might need to conform to the changes.
as for warwalking (or, for the more mobile, wardriving), google it.