2012-04-10

HW 3 Question .

'''Originally Posted By: chinmayeea'''

It is mentioned that - When the mood viewer screen is entered and every minute thereafter that one is on this screen, it should send a status message to the server set on the settings screen. We are currently working on this. <br><br>We tried using Timer class in Java to achieve this. We also tried using the handler's postDelayed method which was discussed in class. But that doesn't work. Do we have a create a service for this? When I googled, many people have said that we have to write a background service for achieving something like this. Is there any other simpler way to do this?<br><br>Thanks and Regards,<br>Chinmayee

'''Originally Posted By: chinmayeea''' It is mentioned that - When the mood viewer screen is entered and every minute thereafter that one is on this screen, it should send a status message to the server set on the settings screen. We are currently working on this. <br><br>We tried using Timer class in Java to achieve this. We also tried using the handler's postDelayed method which was discussed in class. But that doesn't work. Do we have a create a service for this? When I googled, many people have said that we have to write a background service for achieving something like this. Is there any other simpler way to do this?<br><br>Thanks and Regards,<br>Chinmayee

-- HW 3 Question

You don&#039;t need a service. There are different ways you could do this. For instance, you could use a Thread like in the animation example from last week.&lt;br&gt;&lt;br&gt;Best,&lt;br&gt;Chris

You don't need a service. There are different ways you could do this. For instance, you could use a Thread like in the animation example from last week.<br><br>Best,<br>Chris
X