Removed System.out.println, and replaced with calls to Log.d(LOG_TAG,
...)