← Back to team overview

meadl-devel team mailing list archive

Debugging Android client

 

Hola Eric,

You did a very good job! I made some changes to your code to get the
program running on my phone. You can see the changes here:

http://bazaar.launchpad.net/~jorge-silva/meadl/btcomm-switch-event/revision/10

The application connects to the phone and receives data (I know this
because I was debugging), but crashed when displaying it (the activity
seems to never come back from spawning the thread, so it never displays
anything). I also turned your 'if' statements into a switch-case for
now, which will not fix the bug but makes it a bit easier to follow the
code. I didn't have a chance to test though since Zongyi has picked up
the board. I'll have to set up a computer client or the other arduino
board to keep debugging your code.

You can try merging my changes to your branch in the meanwhile with:

bzr merge lp:~jorge-silva/meadl/btcomm-switch-event

Get some sleep!

cheers!
Jorge



Follow ups