Better loggin system

I'd rather AsyncTask holds a WeakReference to mLogTV instead of accessing mLogTV itself. Check http://developer.android.com/training/displaying-bitmaps/process-bitmap.html .

I don't really understand why Google uses WeakReference in some examples, but not in others....

The method dismissLoadingDialog() should be called only when WeakReference.get() is not null.