Page 3 of 3

Re: MegaDud -- the Android-based MajorMUD Scripting Terminal

Posted: Mon Jul 25, 2011 11:04 am
by Drizzt
Yea, i use something called Remoteview rview.net i think i got it's basically remote desktop but it works the best with mudding that i have found when it comes to using the phone.

Re: MegaDud -- the Android-based MajorMUD Scripting Terminal

Posted: Mon Jul 25, 2011 11:13 am
by erik™
i use "X2 Connect" on android

Re: MegaDud -- the Android-based MajorMUD Scripting Terminal

Posted: Thu Jul 28, 2011 5:58 am
by Drizzt
Hey can I get a copy of that client?

Re: MegaDud -- the Android-based MajorMUD Scripting Terminal

Posted: Thu Jul 28, 2011 4:32 pm
by erik™
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

Re: MegaDud -- the Android-based MajorMUD Scripting Terminal

Posted: Sun Aug 21, 2011 10:08 pm
by erik™
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

Re: MegaDud -- the Android-based MajorMUD Scripting Terminal

Posted: Sun Aug 21, 2011 10:57 pm
by erik™
thought you all would like to see a little bit of a graphical change...