Starting aFunction() in Android on app startup
<p>This Android app developing business is accelerating the brown-to-grey-color conversion of my hair. </p>

<p>Can someone tell me how I'm supposed to get <code>aFunction()</code> to run when the app starts, seeing as I'm not supposed to make a while(true) inside <code>onCreate()</code>? </p>

<p>I've read the tutorial on Android Developer, several other tutorials, multiple questions on here, but none have answered this, seemingly, simple question. Or, at least I haven't been able to find it - without a doubt because I'm asking the wrong question to the great oracle of Amphitheatre Parkway.</p>

<p>The app is my first homemade non-tutorial app, and I'm attempting to make a speedometer based on GPS (obviously). Basic stuff I guess. It needs to update ever so often which I'm using Thread.sleep() for. Setting up <code>LocationManager</code>, getting location, calculating distance and speed is working. Printing the speed is working. Everything, except making it run, is working (he claims in his naivety).</p>
