Hi,
I'm using socket to communicate with my visualbasic program its much like discussed ini this thread:
https://www.b4x.com/android/forum/threads/socket-send-works-but-cant-get-text-back.16563/#post-95908
I use multiple activities, and cant figure out how to use the socket communication on a global scale.
I have setup and a working connection on my main activity. But I realy need to send/resieve data from an other activity.
I like to have a global "sendata" sub. That I can call from any activity.
And I prevere to have a custom #event: That gets triggerd when data arrives on that activity.
PLease advice
I'm using socket to communicate with my visualbasic program its much like discussed ini this thread:
https://www.b4x.com/android/forum/threads/socket-send-works-but-cant-get-text-back.16563/#post-95908
I use multiple activities, and cant figure out how to use the socket communication on a global scale.
I have setup and a working connection on my main activity. But I realy need to send/resieve data from an other activity.
I like to have a global "sendata" sub. That I can call from any activity.
And I prevere to have a custom #event: That gets triggerd when data arrives on that activity.
PLease advice