How to have phone prioritize encrypted Wi-Fi hotspots? I have a Wi-Fi solution similar to FON which has an encrypted private home Wi-Fi hotspot and a guest network which is unencrypted and requires one to log in once a day. My problem (or rather, annoyance) is that the phone seems to prefer the unencrypted guest network. I have it enabled because I can use other people's guest networks when I'm roaming about in the city. It would make sense that between an encrypted and unencrypted hotspot, it would be wise to prefer the encrypted one, regardless of signal strength. Is there any way to resolve this?
You could change the guest network to be low priority by editing the supplicant .conf file (probably requires root, or adb use).  You can find out what file this is by looking at /etc/wifi/wifi.conf; the file you need is set as the SUPP_CONFIG_FILE property's value. Normally it's /data/wifi/bcm_supp.conf or /data/misc/wifi/wpa_supplicant.conf.  You'll see entries like the following in that file:

network={
    ssid="network name"
    someotherproperty="some other value"
    priority=0
}


You want to have priority=0 for the networks you least want to connect to, and a higher priority for networks you do want to connect to.  If you just have "don't want" and "want", use 0 and 1.  If you have "don't want", "not preferred", "preferred", and "super-preferred", use values 0, 1, 2, and 3 respectively.  You get the idea.