24 messages found


Aug 30, 2018 17:25
TODON'T
Store dates as Strings
Deploy without crash logging
NetworkOnMainThread
Aug 11, 2017 20:47
Nick it's a joke, NetworkOnMainThread Exception is one of the more common mistakes "new" people make
Aug 2, 2017 19:58
basically the entire company is a NetworkOnMainThread exception.
Jul 24, 2017 14:50
NetworkOnMainThread is not an instant dupe
Jun 25, 2017 23:55
Is there an easy way to run a network request synchronously while also avoiding networkonmainthread exception, or am I forced to just use a callback of some kind?
May 17, 2017 16:25
oh gosh.. trying to throw this Java command line code into an app so Android Studio can actually build it again, and I got an exception I haven't seen in over a year... NetworkOnMainThread Exception. cc:@codeMagic
May 26, 2016 15:18
Our room loves NetworkOnMainThread
May 29, 2015 19:06
it's not a good list, it doesn't say anything about avoiding NetworkOnMainThread exceptions
6
Apr 6, 2015 22:21
> How do you feel about NetworkOnMainThread exceptions? – Carl Anderson 9 mins ago
Jan 7, 2015 18:45
thats a networkonmainthread exception waiting to happen
Dec 21, 2014 16:04
people still ask NetworkOnMainThread stuff?
Dec 15, 2014 15:46
it is THE worst I have seen for NetworkOnMainThread related stuff in a long time
Oct 26, 2014 01:40
NetworkOnMainThread, isn't it?
Oct 21, 2014 18:12
unless it's a NetworkOnMainThread exception, in that case put it in a pastebin and page @codeMagic
Sep 30, 2014 22:33
0
Q: Network on main thread exception occured while setting bitmap array to imageview

AkshatI have created a bitmap array and I am updating the elements of the array in an imageview inside listview. But it is showing network on main thread exception. Here is the code: public class InTheaters extends Activity { // the Rotten Tomatoes API key of your application! get this from their...

May 9, 2014 16:50
-1
Q: NetworkOnMainThreadException error

Tom HazellWhen running the line echoSocket = new Socket(serverHostname, 10008); My app crashes with error, NetworkOnMainThreadException error. From what i have seen this related to trying to run Sockets on the UI thread. so how can i change my code (below) so it works? import java.io.BufferedReader; imp...

Apr 5, 2014 12:04
Wow, there is 80 questions with the networkonmainthread tag...
Apr 5, 2014 12:02
0
Q: android how to hit the URL? with out opening browser

Pragnatry { URL myURL = new URL("myURL that works fine on browser"); URLConnection myURLConnection = myURL.openConnection(); myURLConnection.connect(); } catch (MalformedURLException e) { // new URL() failed // ... } catch (IOException e) { // openConnection() failed // ... ...

Feb 22, 2014 02:16
"NetworkOnMainThread"? What does it mean? Is it like NullPointerException?
Feb 22, 2014 02:15
I swear that NetworkOnMainThread question pops up every 6 hours
Jan 29, 2014 19:27
like one chick mailed me with a NetworkOnMainThread exception
Jan 10, 2014 17:45
NetworkonMainThread exception really made me angry..Why these guys not research on google..
Dec 2, 2013 22:54
Ahh, NetworkOnMainThread exceptions didn't get thrown until Honeycomb+, which explains why they happen in this app that was pretty much released in '11
Sep 5, 2013 15:00
6
Q: NetworkOnMainThreadException

Manfred MoserI 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...


NetworkOnMainThread