Ok, just about got everything working BUT I'm seeing an issue, primarily when I'm running the B4A-Bridge against a Xoom tablet and running a Network communications tool (On Port 24)... If I run it from the emulator, I'm not seeing the issues..
After a period of time, running my program (which, every 30 seconds is sending a message (Keepalive) to port 24, expecting a response).. It works fine until, in the log, I see "Connected to B4A-Bridge" shows up... Shortly their after, I get a message on the Tablet "An error has occurred in sub:main_send_message (B4A Line: 62) AStreams.write(buffer). Java.lang.NullPointerException"... I've looked at Buffer and it has valid data in it.. This could be a thread issue I suppose but it's strange that the with the emulator, the problem doesn't seem to appear....
I'm a bit at a loss on what this might be and open to suggestions....
Thanks folks,
Gary M
After a period of time, running my program (which, every 30 seconds is sending a message (Keepalive) to port 24, expecting a response).. It works fine until, in the log, I see "Connected to B4A-Bridge" shows up... Shortly their after, I get a message on the Tablet "An error has occurred in sub:main_send_message (B4A Line: 62) AStreams.write(buffer). Java.lang.NullPointerException"... I've looked at Buffer and it has valid data in it.. This could be a thread issue I suppose but it's strange that the with the emulator, the problem doesn't seem to appear....
I'm a bit at a loss on what this might be and open to suggestions....
Thanks folks,
Gary M