You can use JdbcSQL library to directly connect to remote databases. Whether it will work or not depends on whether the jdbc driver is compatible with Android.
The recommended approach, for many reasons, is to use jRDC2 instead of connecting directly.