Discussion Forums  >  WebViews and HTML for Mobile

Replies: 5    Views: 66

Pablo
buzztouch Evangelist
Profile
Posts: 51
Reg: Nov 09, 2011
Argentina
510
08/10/12 06:42 AM (13 years ago)

showProgress missing in CustomURL Android 2.0 Selfhosting

I was testing the 2.0 Apps from buzztouch and the showProgress in the CustumURL works fine (it shows when i open a customURL), but in my selfhosting server, the Android apps i make, the progress doesn't show. I was looking in the forum but i didn't find any post related to this, any idea? My app: Mendoza All in (Google Play) Tnks for all!
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/10/12 07:19 AM (13 years ago)
It's a Wheel of Death issue. Fixing the Wheel of Death created your issue. Fred
 
Pablo
buzztouch Evangelist
Profile
Posts: 51
Reg: Nov 09, 2011
Argentina
510
like
08/10/12 07:34 AM (13 years ago)
Hi Fred, i didn't fix the Wheel of Death
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/10/12 08:03 AM (13 years ago)
The fix in the plugin by Buzztouch did. Fred
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/10/12 09:48 AM (13 years ago)
You can easily modify this. Open your BT_screen_customURL.java file. This is in the plugin folder. Scroll down to line 108 or so and add this: showProgress(null, null); This is just after the baseView.addView(thisScreensView) All this does is show the progress wheel in the onCreate method, as soon as the screen loads it will show. It SHOULD go away after the URL finishes loading. We removed this line from the downloadable plugin because it was causing issues for lots of folks (commonly referred to as the Wheel of Death problem). The trouble is related to the content loading, the content loading depends on the URL. Add that line, if it works well with the URL you're loading, great. If not (the wheel may never go away!) remove the line :-)
 
Pablo
buzztouch Evangelist
Profile
Posts: 51
Reg: Nov 09, 2011
Argentina
510
like
08/10/12 11:49 AM (13 years ago)
Really tnks David and Fred! David: this year the dream team are going to destroy Argentina... :(
 

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.