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

Apps Force Close on Activity Start-up

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
 
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.
 
Back
Top Bottom