NetworkOnMainThreadException
问题 I just found out about NetworkOnMainThreadException at official docs and was wondering if the emulator is throwing this. I have been testing my app quite a bit and as far as I know all networking is off the main thread (using Roboguice RoboAsyncTask) but you never know if one has not escaped. I am also using StrictMode and have not seen anything. Is my code just clean or is this not thrown on the emulator? How are we supposed to prepare for this happening in production? What about a grace