Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3421954
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:09:36+00:00 2026-05-18T06:09:36+00:00

I am making a Poker game in Android, I have made some TextViews and

  • 0

I am making a Poker game in Android, I have made some TextViews and ImageViews to show on the cards of player and computer and the Community cards..

Now the problem is that when a player takes its turn after that it calls a method of call_computer and all the implementation of the computer executes but there is no delay between the player and computer turn.

So a player takes its turn and just after that a card is displayed. What I want is after the player turn, the computer should wait for a while and then it would display a text:

“Computer Selects Check/Fold/Raise”

and then according to the action selected the card should be displayed….

I have called a call_computer function just after the player’s turn and action performed.. and I put that method in a new thread and put a sleep of 5 sec, but still no success…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T06:09:36+00:00Added an answer on May 18, 2026 at 6:09 am

    You could use a call to postDelayed(Runnable, int):

    long DELAY_IN_MSEC = 1000; // 1s
    postDelayed(new Runnable() {
        @Override
        public void run() {
            // call_computer();
        }
    }, DELAY_IN_MSEC);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been making some progress with audio programming for iPhone. Now I'm doing some
I am making game for android using libgdx my requirement is that when character
I'm making a turned based poker game and trying to figure out the best
I'm making a game with my friend. Now there is a question about levels.
I am making a GUI (using swing) for a poker framework and need some
While making some final tests of a class-library that I'm writing for Windows Mobile
When making relations between tables (in mysql), I have encountered a naming dilemma. For
I am making a JFrame for a card game. I want to restart the
I am making a poker evaluator, and for the histogram I am using vector<
I'm making an iPhone game based on the CrashLanding sample code . The sample

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.