Run thread next to UI Thread

I am currently developing a game using Google Maps. I want to run a thread which is executed next to the UI Thread.

How can I do that?