Siddiqui
Siddiqui

Reputation: 7840

Threading in Android

I have just started Android Development, I want to make thread in my application which get the current location after every thirty seconds. Kindly give me some hints or any tutorial link which you think is useful for this problem.

Upvotes: 0

Views: 250

Answers (2)

Mojo Risin
Mojo Risin

Reputation: 8142

Basically you need to create handler and update the gui every thirty seconds using that handler. For more info how to update the gui click here. For more info how the get the location read this android get location from best provider available

Upvotes: 1

omermuhammed
omermuhammed

Reputation: 7385

This is a good place to start. Note that if you are new to Android development you will find a lot of good resources at the Android website. Start there and maybe grab a good book on threads in Java, this one is very good book for that.

Upvotes: 1

Related Questions