Enable the recommended StrictMode defaults, with violations just being logged.
This catches disk and network access on the main thread, as well as leaked SQLite cursors and unclosed resources. This is simply a wrapper around StrictMode.SetVmPolicy(.VmPolicy) and StrictMode.SetThreadPolicy(.ThreadPolicy).