Send information from activity via network
<p>I want to send the data I get in onLocationChanged() via tcp/ip. I can read the location and network works, too: I can connect and send data.
The problem is: Network can't be in the Activity-thread, but onLocationChanged() has to. Now here is my question:
How do I get the location information from the activity thread to the network thread?</p>

<p>Thanks in advance.</p>

<p>Edit: I have to send the data over and over again and don't want to reconnect every second.</p>
