Android How to run an AsyncTask every second?
问题 I'm new in Android and not really knowing how to deal this problem: I have an AsyncTask which reads a position (X,Y,Z) from a XML file. As this position changes every second, I want, after I push a button (called with "StartListener") to read and draw every new position CONTINUOUSLY and stop reading it when I press the button again... Somebody can help me? - Here is a part of my MainActivity (For the moment my app reads and draws a position only when I press the button...) private