Discussion Forums  >  WebViews and HTML for Mobile

Replies: 4    Views: 85

shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
07/24/12 07:56 PM (13 years ago)

Do I need to put html files in

I've uploaded my text/html files to my control panel (ios, v.2 self-hosted)and see that they are in the Documents folder. After I download the Source Code, do I need to drag the same .html files into the BT_Docs folder before I drag the folder into my xcode file? The same with .css file? thanks.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
07/24/12 08:14 PM (13 years ago)
Yes
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
07/24/12 08:17 PM (13 years ago)
Can you be more clear on telling what files exactly you have created, custom text/html or html docs and which screens are you using (custom url screen, html doc screen custom text screen)? In case of custom text/html you do not have to drag those files in your project as they are already hosted on the buzztouch server. In case if you have created html docs and if you want to put those files locally then you have to put those docs in the BT_docs folder and if you want those file to be online, you can put those files on your server or dropbox and redirect them using custom url or html doc screen feature in the app.
 
shenry
Aspiring developer
Profile
Posts: 469
Reg: Jan 10, 2012
Orange County, ...
13,390
like
07/24/12 08:51 PM (13 years ago)
It might be slightly more complicated. I haven't loaded the html into the BT_Docs folder in the Xcode file, however the html doc screens are showing up in the simulator. I'm using an RSS feed withing the html. The RSS was altered with yahoo Pipes to replaces the link to a website with a link to my BT html screen. Could this be why it's showing up in the simulator, and would I still need to load the html files into xcode. Do you know if it will still cache?
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
07/24/12 11:27 PM (13 years ago)
IN short you are using the html doc screen. There is an option to cache the html pages on device. Go to the html doc screenpage on bt---> click Document Behaviour---> click Force Refresh option---> select No, allow caching.
 

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.