Discussion Forums  >  Uncategorized

Replies: 3    Views: 884

captainash
Apple Fan
Profile
Posts: 69
Reg: Jan 16, 2011
location unknow...
2,490
02/25/11 05:43 PM (15 years ago)

Disconnecting app from buzztouch server - menu won't load

It seems that the list menu's in particular still have to download some data from the server in order to load. When I remove all data url values from the config file, my main menu won't load. Everything else shows fine without an internet connection - tabs, backgrounds and html docs all works perfectly. The only exception is my list menu which still needs to connect to the screen data url specified in the menu's control panel, in order to show up. This wasn't actually a question, but I guess I'm asking if there is a way of solving this, or if I'm doing anything wrong =)
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
02/25/11 07:00 PM (15 years ago)
The menu-lists (and a few other screens) also have a dataURL to allow for dynamic menus. Be sure to remove the dataURL value in the menu-screen too ;-)
 
captainash
Apple Fan
Profile
Posts: 69
Reg: Jan 16, 2011
location unknow...
2,490
like
02/25/11 09:30 PM (15 years ago)
I have tried that. Removed the dataUrl value for every menu-screen.. well, the one menu screen that I have. The list simply won't show until i put the value back. What about the actual screen data? The one i get by accessing this http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=EA93AC922B10E39129995AD4D&apiKey=32AFEB5D61E2E91024B5F0E&screenId=7BE1EB899E86F8105B46938 Shouldn't this also be added to a txt file and placed somewhere in xCode, just like the configuration data?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
02/25/11 09:37 PM (15 years ago)
We'll look into this tonight sometime, something's not working as it should. The way it should work: a) App reads configuration file from dataURL value in BT_appConfig.txt b) If a dataURL is found, it loads another copy of the master configuration file and save's it to the phones cache (this saved file will not show in Xcode, it's on the phone) c) When a menu loads... if a dataURL value is found, it loads the menu items from that URL d) If no dataURL is found (for a menu screen), it loads the menu-items from the cached master-config file Hope this make sense. I'll check into it more later.
 

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.