Discussion Forums  >  WebViews and HTML for Mobile

Replies: 11    Views: 107

MrT
Aspiring developer
Profile
Posts: 81
Reg: Jan 21, 2013
Dallas
3,010
06/27/13 03:06 PM (10 years ago)

Custom HTML page no longer refreshing

I've seen this problem noted in some other threads in the archives, but no real solution offered. Here's what's happening: at some point as I'm revising a Custom HTML page, it will no longer refresh on the simulator. Imake edits to the code and/or the text, but it's not reflected on the simulator. This is for ios.
 
Cakebit
Code is Art
Profile
Posts: 500
Reg: Dec 15, 2010
In your local b...
16,500
like
06/27/13 03:20 PM (10 years ago)
Most likely you need to clean your project before the rebuild, Try in Xcode: Project>Clean.
 
Sophia The Rookie
Lost but trying
Profile
Posts: 15
Reg: May 28, 2013
New York
2,800
like
06/27/13 03:38 PM (10 years ago)
I have the same issue with android. Did a clean and it still didn't work
 
Sophia The Rookie
Lost but trying
Profile
Posts: 15
Reg: May 28, 2013
New York
2,800
like
06/27/13 03:41 PM (10 years ago)
I'm also testing the app on a device. I can see all the pages listed on the menu on the actual device, but when I tap the page with the Custom HTML I get a pop-up error message" error loading screen? The application had trouble understanding what to display."
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/27/13 04:27 PM (10 years ago)
If you are making a change to a custom URL page, that means you are using the editor in your control panel. Any changes you make there should show up when you bring up that screen. I seem to recall some issues where if the change was made using Internet Explorer, it wouldn't actually save. My first suggestion would be try another browser. In the control panel for that screen, under Document Properties (or something like that...doing this from memory), there is a "Force Refresh" option. Turn that on, and it'll grab a new copy of the page each time the screen loads (which it should be doing anyway). For Sophia's issue, in your control panel, do you have the Custom HTML screen linked to the menu that you're using? Mark
 
Sophia The Rookie
Lost but trying
Profile
Posts: 15
Reg: May 28, 2013
New York
2,800
like
06/27/13 04:51 PM (10 years ago)
Yes I believe so, First I created a screen and added the menu buttons plugin, then for each button I created a separate screen with custom HTML. Is there another step to take?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/27/13 04:53 PM (10 years ago)
As long as each button is linked to the Custom HTML screen you want it to go to, you should be OK. What does it say in LogCat when you try to access those screens? Mark
 
Sophia The Rookie
Lost but trying
Profile
Posts: 15
Reg: May 28, 2013
New York
2,800
like
06/27/13 05:51 PM (10 years ago)
The emulator now says "Something's not right, file not downloaded yet" So maybe the system's just slow?? Especially since it didn't show up in the emulator before. LogCat just says handlerefreshbutton.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/27/13 06:43 PM (10 years ago)
Try this : in the BT_Config.txt file, there should be a line that shows the URL for the Custom HTML screens. Grab that URL, throw it in the browser, and make sure you can access the page.
 
Sophia The Rookie
Lost but trying
Profile
Posts: 15
Reg: May 28, 2013
New York
2,800
like
06/28/13 11:26 AM (10 years ago)
Ok, I got the custom HTML page to work but with my Custom URL pages I still get a pop-up error message" error loading screen? The application had trouble understanding what to display." The url links are: http://www.domain.com/Pages/name_name_name_name.html and the store link is http://www.domain.com/Out/index1.html Could the error be because of the non-alpha characters? and just FYI in case it matters the info saves in my browsers and I'm using Chrome and Firefox
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/28/13 11:50 AM (10 years ago)
Would you be willing to send me your project package (zipped up) so I can investigate? You can send it to MrkFleming at gmail dot com. Mark
 
Sophia The Rookie
Lost but trying
Profile
Posts: 15
Reg: May 28, 2013
New York
2,800
like
06/28/13 12:15 PM (10 years ago)
Thanks Mark, sent
 

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.