Vincenk
buzztouch Evangelist
Profile
Posts: 12
Reg: Aug 10, 2013
BROOKLYN
120
10/19/13 09:01 PM (10 years ago)

CustomURL page forever loading (android)

CustomURL is a very handy plugin, which enable java noobs like me to build apps much easier by just pointing the app to a responsive webpage. However, sometimes after I click a link on my page, although I can see the next page is loaded and being displayed, there is a big "loading" icon in the middle of the screen, and I can't scroll the page nor click any button on it(See http://manhattanwash.com/1.jpg). I try it on my real phone and AVD, the problem is always there. With very little app developing experience, I have totally no idea how to debug this, so my only choice is to ask here. Any help will be greatly appreciated. I know it probably has something to do with my webpage, which is built with Joomla and RocketTheme templates. But the problem is, when I try to use my cellphone browsers to open my webpages, it's doing good. So it is also somewhat related with the CURL plugin, I guess. If you want to take a look at my android app(which is still underdevelopped so it is pretty messy), you can download the project file here http://www.manhattanwash.com/app.zip
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
10/19/13 09:06 PM (10 years ago)
Not at the right computer but open the custom url java file, find the first instance of "showProgress(null, null;)" and comment it out (like this: //showProgress(null, null;)). That will fix it, your web page is fine. Keep building! David https://buzztouchmods.com/market
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
10/19/13 09:10 PM (10 years ago)
I think you may have had an introduction to what we lovingly call the 'spinning wheel of death'. http://myskylla.wordpress.com/2013/01/13/the-spinning-wheel-of-death-android/ Cheers! -- Smug
 
KzK369
Lost but trying
Profile
Posts: 2
Reg: Oct 21, 2013
location unknow...
5,470
like
11/03/13 12:00 AM (10 years ago)
I recently experienced the same problem while trying to set up a Twitter profile page (Custom URL). So I went back into the "screen/actions" page and "checked" three options under "Document Behavior": Show Browser Back Button Show Browser Refresh Button Show Launch in Native App Button. It worked perfectly after that. I haven't tested each option individually to see which actually made a difference with the "wheel of death", but I think it was the "native app" option. I really like the functionality of the "Browser Back Button" for Twitter. I can navigate around Twitter with it, then the "back" button on the phone takes me back into my app.
 
Vincenk
buzztouch Evangelist
Profile
Posts: 12
Reg: Aug 10, 2013
BROOKLYN
120
like
11/21/13 05:14 PM (10 years ago)
Thanks for the instructions, it worked. But a problem remains: by commenting out the "showprogress" line, the progress indicator won't even show before the page is fully load in the custom URL screen, which would be a problem if the connection speed is slow (users will see a blank screen for quite a while, wondering if the app stops working). So is there anyway to only eliminate the progress indicator(SWoD) after the page is fully load where it shouldn't be there?
 

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.