Discussion Forums  >  Self Hosted Control Panels

Replies: 10    Views: 128

Auggnet
Veteran developer
Profile
Posts: 225
Reg: Nov 20, 2012
USA
2,550
11/22/12 10:05 PM (13 years ago)

So i need an offline application, (even screens, html and images)

So i need an offline application, (even screens, html and images), and i sort of understand how buzztouch contacts with the report to cloud url (removed it to prevent update checks). And i understand how the configuration data is sent, i also know that you can store the config data in the project, so i have that down. But what about all of the html files, and screens, and images in the html? Basically i want it so you enter the application, all of the screens are loaded, (assuming the user has an ipod on a road trip) the app loads all of the screens the user requests and all of the images inside of the html. Thankyou for taking your time, it really helps people out. Keep doing what you are doing!
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
11/22/12 10:29 PM (13 years ago)
very easy - the normal Buzztouch building process does exactly this. Just make sure you load the files into the BT control panel before you compile the app, then drag the images, docs and plugins folders into XCode. Also, keep in mind that you'll want to use the "html doc" plugin, not the "custom html" or "custom url" plugins - those latter two require an internet connection to work. Chris http://www.churchphoneapps.com
 
Auggnet
Veteran developer
Profile
Posts: 225
Reg: Nov 20, 2012
USA
2,550
like
11/22/12 10:33 PM (13 years ago)
oh ok, so i store the html files at BT_DOCS and add all of the html files,, or do i add them in the control pannel?
 
Auggnet
Veteran developer
Profile
Posts: 225
Reg: Nov 20, 2012
USA
2,550
like
11/22/12 10:35 PM (13 years ago)
oh ok, so i store the html files at BT_DOCS and add all of the html files,, or do i add them in the control pannel?
 
Auggnet
Veteran developer
Profile
Posts: 225
Reg: Nov 20, 2012
USA
2,550
like
11/22/12 10:37 PM (13 years ago)
Ohhhh, i get it, thanks!
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
11/23/12 04:42 AM (13 years ago)
hey, you have to add your files into xcode. miguel
 
Fingers Crossed
Veteran developer
Profile
Posts: 234
Reg: Jan 16, 2012
Simcoe, ON
6,390
like
11/23/12 09:53 AM (13 years ago)
Normally I just drag and drop them into XCode. If I update them, I delete them from XCode and drag and drop again. My Bermuda app I keep as much as possible local as most people don't have data there as it's expensive, so all images etc are local. Things like google maps obviously aren't, but if a user views the maps while on data, some of it gets cached so it works offline too. Cheers
 
Auggnet
Veteran developer
Profile
Posts: 225
Reg: Nov 20, 2012
USA
2,550
like
11/24/12 12:41 PM (13 years ago)
ok great! Now just one more thing... when i upload the html document, is it possible to upload a zip file (containing index.html, image.png) ?
 
Fingers Crossed
Veteran developer
Profile
Posts: 234
Reg: Jan 16, 2012
Simcoe, ON
6,390
like
11/24/12 12:42 PM (13 years ago)
No, unzip it first. (or unzip it into the BT_Docs folder) As a zip file XCode won't find the html and other files.
 
Auggnet
Veteran developer
Profile
Posts: 225
Reg: Nov 20, 2012
USA
2,550
like
11/24/12 01:12 PM (13 years ago)
then how do i link the files? i have images and css files, and other files too???
 
Auggnet
Veteran developer
Profile
Posts: 225
Reg: Nov 20, 2012
USA
2,550
like
11/24/12 01:25 PM (13 years ago)
or do i just pool all of them into that folder... for example this file tree 1.html (references to img/1.png) 2.html (references to img/2.png) img -- 1.png -- 2.png
 

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.