How to make an Android program 'wait'
===

I want to cause my program to pause for a certain number of milliseconds, how exactly would I do this? I have found different ways such as Thread.sleep( time ), but I don't think thats what I need. I just want to have my code pause at a certain line for x milliseconds. Any ideas would be greatly appreciated.