AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
08/17/14 06:48 PM (10 years ago)

Android Never Ending Spinning Circle

In my android app i get the loading circle of death. Which is basically the loading icon never stops spinning on a custom url screen, which results in the page being inactive. Does anyone know how to fix this in eclipse so the loading icon never appears? I cannot seem to find the file where I can cancel out this line of code? Thanks
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
08/17/14 10:05 PM (10 years ago)
Ive noticed its only happens on certain websites because they have so much content and sometimes they dont "optimize their site for speed".especially wordpress sites. what site is it if you dont mind me asking?
 
AppGuy30
Code is Art
Profile
Posts: 737
Reg: Oct 29, 2011
location unknow...
14,070
like
08/18/14 11:30 AM (10 years ago)
I can't say the website but it doesn't have that much content on it. I just need to find the line of code to indicates to the loading thing to pop up.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
08/18/14 04:01 PM (10 years ago)
It calls the showProgress method from bt_fragment it looks like: in bt_screen_customUrl.java showProgress(null,null) in bt_fragment.java //show an Android Progress Dialog... loadingMessage = ProgressDialog.show(getActivity(), theTitle, theMessage, true); loadingMessage.setCanceledOnTouchOutside(false); loadingMessage.setCancelable(true);
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.