how does communication between service and activity works?
<p>I open a new thread to talk about my problem :-) , I have problems with communication between "service" to the "Activity"</p>

<p>what I have:
I have a FTP download of a file that is downloaded in the background as a service! In the end I had a time X in a variable.
furthermore it is checked whether the file is also fully load , I make it with  a simple comparison of the data size.</p>

<p>So I have a time 0s "<strong>start time</strong>" <code>12:22:00 up as 20sec</code> is "<strong>end time</strong>" <code>12:22:20</code>
and a download size of 0Kb goes to 5000kb.</p>

<p>These values are defined in the service.</p>

<p>Project:</p>

<p>I want to show this graphically or via text  in the GUI of the activity .</p>

<p>like this: </p>

<p>File Download time: X seconds
X seconds, will be scanned progressively and dynamically displayed. 1. sec, 2 sec ...... 20 sec</p>

<p>Download traffic: X kb of 5000 kb</p>

<p>Download rate is to be displayed: 0kb, 250 kb, 500 kb ..... 5000 kb.</p>

<p>Now my question:</p>

<p>how do I do that, which transfers the service these values to the activity!
and how can I display in the activity "dynamically and automatically."</p>

<p>I thank  you all for your efforts</p>
