Android Forums

Go Back   These FORUMS ARE DISABLED!! OUR NEW FORUMS ARE AT http://androidforum.com/ > Android Coders > Android Development, Answers, Tutorials, and Code Snippets
Connect with Facebook

Click Here To Register!
 
 
LinkBack Thread Tools Display Modes
Old 02-19-2010, 04: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
Old 03-19-2010, 07: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
 

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 04:21 PM
Incase of Android Delay, Buy One of These Andor Android Chat 0 08-14-2008 08:02 AM


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

All times are GMT -6. The time now is 06:15 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) 2012 TalkAndroid.com. All rights reserved.