• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help ping pong game

why thread overflow exception occur and how to reslove it

  • 3

    Votes: 0 0.0%
  • 3

    Votes: 0 0.0%

  • Total voters
    0

ameer1234

Lurker
Apr 7, 2016
1
0
Hi! I am making android ping pong game in which i want to move one paddle randomly all the time .For that i created a thread ..that runs all the time but it generate thread overflow exception and then application stops.
I want to know how i can solve this problem. Thanks in Advance.
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones