Quote from: Drizzt on July 28, 2011, 05:58:21 AMHey can I get a copy of that client?
source code? sure.
UI thread @ http://pastebin.com/dEv18Fwc
Readbuffer class @ http://pastebin.com/nTTeR0UA
gotta be totally rewritten though
MegaDud -- the Android-based MajorMUD Scripting Terminal
Re: MegaDud -- the Android-based MajorMUD Scripting Terminal
made some progress on the total rewrite, and finally got it so my infinite loop for reading from the buffer doesn't block the UI thread (solution: using AsyncTasks...)
source: http://pastebin.com/VdjN2HFk
basically i had an infinite loop for reading from the socket buffer, and when i tried to update my Text-type View in the loop (byte by byte or line by line) it would essentially block the whole application... as in lock it all up... but now i have asynchronous task or thread to run the infinite read loop on and the main UI thread is free to be responsive
source: http://pastebin.com/VdjN2HFk
basically i had an infinite loop for reading from the socket buffer, and when i tried to update my Text-type View in the loop (byte by byte or line by line) it would essentially block the whole application... as in lock it all up... but now i have asynchronous task or thread to run the infinite read loop on and the main UI thread is free to be responsive
Re: MegaDud -- the Android-based MajorMUD Scripting Terminal
thought you all would like to see a little bit of a graphical change...