Discussion Forums  >  Uncategorized

Replies: 13    Views: 396

Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
04/12/11 07:21 AM (14 years ago)

How long until the non hosted app option is available?

Hi there, I don't want to seem impatient, but I just want to know if I should go ahead and submit my app to the app store now, or wait for this feature to be available. The feature I'm talking about is where you would be able to download the source files, and have everything loaded into xCode so that the app would not rely on any internet at all. (and if I remember right, it would call out for updates if the network was available?). Thanks as always for the great product/service -Stobe
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/12/11 08:53 AM (14 years ago)
This is already supported in v1.5. The location of the content is decided by you. If you don't want any connection to the control panel, simply remove the dataURL value and the reportToCloudURL value in the BT_config.txt file in your Xcode project.
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
04/12/11 10:21 AM (14 years ago)
ok, I see those instructions in the changelog pdf now. But I'm not sure I understand. When I take those lines out and test the app in the simulator (with internet unplugged from the computer) I get a message saying There was a problem downloading some data. Check your internet connection. Also when I click on the info button, I get an error saying I have not downloaded that page yet. How is the app supposed to know where my screens are? (sorry if this is covered in another post. I looked but could not find.)
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
04/12/11 10:22 AM (14 years ago)
I guess what I'm asking is : where do put my own data, and how do I point to it?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/12/11 10:29 AM (14 years ago)
It can get complicated. BT_config.txt in your Xcode project nows 'all about' the apps setup. It's an instruction file for layout, etc. If it contains a dataURL and reportToCloudURL it will try to download a newer copy from the server. Removing these values will prevent this. (be sure you have emptied the simulators cache if you are changing things, it may have already downloaded and saved a file, meaning it's not using the Xcode file). My sim stores it's file here: /Users/davidbook/Library/Application Support/iPhone Simulator/4.2/APPLICATION ID / Documents (empty this directory) Ok..next... the app's content may or may not need an internet connection to work. This depends how you designed the app. If you need the content available offline, it will need to be added to the Xcode project. Example: A PDF screen would have a PDF file name in the File Name box but NO File URL. If you enter a URL, the app will look for the pdf at the url. If you don't, it will look for it in the project. Summary: Add all your content, images, stuff to the Xcode project. Use File Names and not File URL's in the control panel. In Core Settings, earase the dataURL and reportToCloudURL. When you download the project the included BT_config.txt file should have no values for dataURL and reportToCloudURL Hope this helps
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
04/12/11 11:10 AM (14 years ago)
ok, getting close :) I made the changes to the core. And I changed the header image of my main menu to a file (not URL), which was the only online content for the main menu (list type). After re-compiling, I get the menu screen to load without error, and it brings in the header image as expected. But the actual menu list doesn't show up. There was a data screen url in the setting for this page which was directed to BT, but I deleted that. Would it help to paste in the BT_screens line for that menu from the BT_Config.txt? Also, the one custom html screen I can get to (info button from main menu) is still looking for data. In the BT_Config, it still lists a Data_URL, and I can't see in the page setting for the custom_html anyway to disable that. I am obviously over looking something simple, so I appologize. Thanks David!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/12/11 11:34 AM (14 years ago)
no aplogies...really...all good 1) Custom HTML is the wrong type of screen to use for this purpose. Use an HTML doc and a local file name. Create your HTML doc, add it to the project. 2) The menu items in the list should be in the BT_config.txt file. This means no data URL for the list screen should be used. Not sure how else to explain this.
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
04/12/11 11:42 AM (14 years ago)
1) I just found that. Testing a html doc right now. 2) Do the list items get into the config.txt from compiling it on your site before I download? Or do I have to manually put them in the config.txt? Because even after I set the data_url to blank in the core properties, its still looking for a data_url in the BT_config.txt (newest version). Also, in the core properties, if I click on Show configuration data it shows the main menu looking for a data_url.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/12/11 11:47 AM (14 years ago)
Hmm... the list should not have a dataURL in the BT_config.txt file if you've cleared it from the control panel then Saved. If it does, we'll need to fix this. But... you should still be able to remove it manually after downloading the project. If no dataURL is available it will look at the 'childItems' of the list in the BT_config.txt. If a dataURL is there, it will download the 'childItems' Child Items in a menu-list are the individual rows. Child Items on button screens are each button, each image in a gallery, etc.
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
04/12/11 11:58 AM (14 years ago)
ok, I re-downloaded the source to a different computer and the data url is no longer in the config_txt (which is weird, because every time I downloaded a new source from BT, I put it in a new folder and used xCode to compile from there) And I changed one of my 3 custom_html's to html doc, and it worked (info screen now loads with no internet) But the list of items on the main menu still doesn't appear. Is it possible that because I still have the other 2 custom_html pages linked from this menu and they are looking for URLs? Or would this not prevent the menu from populating. Also, can I paste the BT_Screen entry for just the main menu so you can see if it has everything it needs?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/12/11 05:26 PM (14 years ago)
Pasting the screen-menu won't help much. Lets do this. Post the name of the app here, as it appears in your control panel (exactly as it appears, case sensitive). Also post the name of the menu-screen (the nickname of this screen) that isn't loading right. I'll download the project and get a look at how it's configured then report back.
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
04/12/11 05:30 PM (14 years ago)
Ok, the app name is BBB v15. And the main menu is called Beautiful Body Bistro Thanks
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/12/11 05:47 PM (14 years ago)
Cool.... literally in-car with Mi-Fi hotspot going. I'll report back when I get back to the office and have a chance to download / test. This will be later this evening. We'll find it ;-)
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
04/14/11 03:07 AM (14 years ago)
I love my MiFi also. Don't know how I'd live without it. :) Thanks
 

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.