Android Forums

Go Back   Android Forums > Android Coders > Android Development, Answers, Tutorials, and Code Snippets
Connect with Facebook

Click Here To Register!
Reply
 
LinkBack Thread Tools Display Modes
Old 02-19-2010, 05:52 AM   #1
Junior Member
 
Join Date: Feb 2010
Location: nepal
Posts: 1
Friends: 0
View bibek's Profile   View bibek's Photo Album   View bibek's Blog   View Social Groups
Hi, in my application, i want to delay some time in loop.so is there any method to do so?
bibek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Reply With Quote
Old 03-19-2010, 08:07 AM   #2
Junior Member
 
Join Date: Mar 2010
Posts: 4
Friends: 0
View mcaughey's Profile   View mcaughey's Photo Album   View mcaughey's Blog   View Social Groups
Thread.sleep(1000);

Sleeps for 1 second. Enter the number of Milliseconds. You'll need to surrond it with try/catch, but the exception should be ignored.
mcaughey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Reply With Quote
Reply

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Time on Android keeps changing Lord Traust Android Chat 0 02-26-2009 05:21 PM
Incase of Android Delay, Buy One of These Andor Android Chat 0 08-14-2008 09:02 AM


Unlocked G1 Phones | Buy T-Mobile G1 | Google Phone

All times are GMT -6. The time now is 09:02 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright (c) 2008 TalkAndroid.com. All rights reserved.