Force Close on Activity Start-up


Last Updated:

  1. XxAP0STLExX

    XxAP0STLExX Member This Topic's Starter

    Joined:
    Oct 9, 2010
    Messages:
    13
    Likes Received:
    1
    Hi. I am developing an app and it used to work all fine and dandy when I started a certain activity. After making a small change it now freezes for a bit and force closes or sometimes starts working. Is it possible to have too many things happening on activity start-up that it does this? And if so, how do you suggest that I fix it? Thanks
     

    Advertisement
  2. XxAP0STLExX

    XxAP0STLExX Member This Topic's Starter

    Joined:
    Oct 9, 2010
    Messages:
    13
    Likes Received:
    1
    Hey guys. I just divided my methods up into two different threads, and now it works but the threads are out of sync. I think the problem may be that the threads are accessing the same variables at the same time. However, I made it so only one thread is running all the methods and it still acts very out of sync.... Could the reason just be that the two threads aren't synchronized? And if so, how can I sync them? Thanks.
     
  3. XxAP0STLExX

    XxAP0STLExX Member This Topic's Starter

    Joined:
    Oct 9, 2010
    Messages:
    13
    Likes Received:
    1
    I figured it out.
     

Share This Page

Loading...