Easiest way for you would be to use the free maxmind country database:
http://www.maxmind.com/app/geolitecountry
Ask your host to install mod_geoip, and then you can add the geoip stuff to your htaccess files alongside the mobile redirection.
http://www.maxmind.com/app/mod_geoip