Discussion Forums  >  Uncategorized

Replies: 2    Views: 237

Alejandra
Apple Fan
Profile
Posts: 71
Reg: Oct 05, 2011
Miami
710
10/11/11 02:55 PM (14 years ago)

Assets hosted in my own web server

Hi there Recently I read an answer to a post regarding the app being offline by @David: v1.5 Tip: Use the control panel to configure your application. When you make changes, use the Refresh button in the simulator. You'll be doing this over-and-over while you work out your design. Run the simulator side-by-side with your browser open so you can easily see your changes. When you're all done configuring, if you want to disconnect from our servers... do this: /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// a) Look at the Core properties for the app b) Click the link to show you the configuration data (plain text) c) Copy this data into the BT_config.txt file in the Xcode project d) In this file, after copying the data, REMOVE the dataURL property. Removing the dataURL property will force iOS to use the settings in BT_config.txt instead of fetching it from the dataURL. I hope this makes sense. Also, if you don't want your control panel to show any usage statistics, remove the reportToCloudURL also. You could also... a) Copy the data, just like above. b) Place this data configuration file on your server somewhere c) Change the dataURL in the BT_config.txt file to point to your server instead of ours. You could do the same with reportToCloudURL if you setup a script on your server to collect usage data. This approach would allow you to make changes to the configuration data stored on your server and the app will be remote-control. Good stuff. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// This looks oood but I have a couple of questions: I host all the app's images in my webserver and I want to do the same with the custom html/text screens [i have a bunch] After reading a little bit, it does not seem possible. I guess that my best bet is to create html files in my server and link to them, from the config file and of course the element that points to it from the app. Is this correct? Thanks M.
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
10/12/11 09:56 AM (14 years ago)
yes, you can just copy and paste your custom html screens to html documents, then you can upload those to your webserver. Then you'll need to change your BT app to use html documents vs. custom html/text pages. Hope this helps.
 
Alejandra
Apple Fan
Profile
Posts: 71
Reg: Oct 05, 2011
Miami
710
like
10/12/11 11:53 AM (14 years ago)
Thank you for the answer. I have like 700 screens, so imagine that this is not going to be easy. I wish there was an easier way to do this.
 

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.