Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applying time limit while filling form in android

 
Abhishek Abhinav
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have designed an application in android to get some kind of details from user. User needs to fill various fields in the form.
Now i want that if user takes more than 30 seconds of time of fill the form then a toast should appear saying timeout or exceeded time limit try again.
Kindly provide me a brief logic how to implement such time limit.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the use case for this? As a user, I think an app that did this would be on the short list to get uninstalled.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65337
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, not to pile on, but I'm curious: what requirement drives such a user-hostile "feature"?
 
ibrahim yener
Ranch Hand
Posts: 202
Android Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ibrahim yener wrote:

There is rarely ever a need to extend Thread, and doing so this in case by overriding the start method seems a particularly bad use of it. See http://www.coderanch.com/how-to/java/ExtendingThreadVsImplementingRunnable for more information.
 
ibrahim yener
Ranch Hand
Posts: 202
Android Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:There is rarely ever a need to extend Thread, and doing so this in case by overriding the start method seems a particularly bad use of it. See http://www.coderanch.com/how-to/java/ExtendingThreadVsImplementingRunnable for more information.


Dear Ulf.
Thanks for valuable information. I didn't aware of it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic