Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 8    Views: 86

Vashann
I hate code!
Profile
Posts: 7
Reg: Jun 30, 2012
Dallas
6,070
07/12/12 11:41 AM (13 years ago)

What have I done wrong....

Made an app, LSHS Band, with maps, google calendar,etc. was working fine in the ios simulator. Then I changed something, don't know what and it wouldn't get past the menu screen. You could see the menu list but when clicked on it went nowhere. Deleted all screens and started over. Same problem. In Xcode the BT_config.txt file doesn't update it looks like. So I copy and pasted the config file from the control panel and still doesn't work. Plus a splash screen info from the previously deleted screens is showing up in the config file but it isn't even in my control panel anymore. Arghhh. Please tell me what I am doing wrong. Here is the config file from the control panel and then xcode {"BT_appConfig": { "BT_items":[ {"itemId":"JA971C808E2901B4F8F87AB9B", "itemType":"BT_app", "buzztouchAppId":"JA971C808E2901B4F8F87AB9B", "buzztouchAPIKey":"812CA3EFE0336F2E0B4150F", "dataURL":"http://www.buzztouch.com/api/app/?command=getAppData&appGuid=JA971C808E2901B4F8F87AB9B&apiKey=812CA3EFE0336F2E0B4150F&apiSecret=E5735BB84515F04797603F7", "reportToCloudURL":"http://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JA971C808E2901B4F8F87AB9B&apiKey=812CA3EFE0336F2E0B4150F&apiSecret=E5735BB84515F04797603F7&deviceId=[deviceId]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude]&deviceModel=[deviceModel]&userId=[userId]", "name":"LSHS Band", "version":"2.0", "startLocationUpdates":"0", "allowRotation":"allDevices", "BT_themes":[{"itemId":"3144D7108EA2C01336C52AC", "itemType":"BT_theme", "itemNickname":"Default Theme", "splashScreenItemId":"59DED6FDC0932653DAACCB8", "splashScreenNickname":"splash", "statusBarStyle":"default", "navBarStyle":"solid", "toolbarStyle":"solid", "backgroundColor":"#FFFFFF", "backgroundImageNameSmallDevice":"StarBadge.jpg", "backgroundImageScale":"fullScreenPreserve"} ], "BT_tabs":[ ], "BT_screens":[{"itemId":"A9206A696148D0EE5D487B0", "itemType":"BT_screen_menuListSimple", "itemNickname":"Home", "navBarTitleText":"Home", "childItems":[{"itemId":"EB0F4BD995CFF0687FCD8FE", "itemType":"BT_menuItem", "loadScreenWithItemId":"D39EFA13AF8F8406DF55DCB","titleText":"Calendar"}, {"itemId":"6FA1D9424667E134A38AD94", "itemType":"BT_menuItem", "loadScreenWithItemId":"10F59E05FAAC64D3E3508C5","titleText":"Event Locations"}]}, {"itemId":"D39EFA13AF8F8406DF55DCB", "itemType":"BT_screen_customHTML", "itemNickname":"Calendar", "dataURL":"http://www.buzztouch.com/applications042612/JA971C808E2901B4F8F87AB9B/documents/customHTML_D39EFA13AF8F8406DF55DCB.html", "navBarTitleText":"Calendar", "forceRefresh":"1"}, {"itemId":"10F59E05FAAC64D3E3508C5", "itemType":"BT_screen_map", "itemNickname":"Maps", "navBarTitleText":"Maps", "singleLocationDefaultZoom":"15", "defaultMapType":"standard", "childItems":[{"itemId":"052B232793321F1FDA3C0C8", "itemType":"BT_mapLocation","latitude":"32.763857", "longitude":"-97.392728", "title":"Castleberry HS", "subTitle":"315 Churchill Road,Fort Worth, TX 76114", "loadScreenWithItemId":"showDirections"}]} ] } ] } } xcode {"BT_appConfig": { "BT_items":[ {"itemId":"JA971C808E2901B4F8F87AB9B", "itemType":"BT_app", "buzztouchAppId":"JA971C808E2901B4F8F87AB9B", "buzztouchAPIKey":"812CA3EFE0336F2E0B4150F", "dataURL":"http://www.buzztouch.com/api/app/?command=getAppData&appGuid=JA971C808E2901B4F8F87AB9B&apiKey=812CA3EFE0336F2E0B4150F&apiSecret=E5735BB84515F04797603F7", "reportToCloudURL":"http://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JA971C808E2901B4F8F87AB9B&apiKey=812CA3EFE0336F2E0B4150F&apiSecret=E5735BB84515F04797603F7&deviceId=[deviceId]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude]&deviceModel=[deviceModel]&userId=[userId]", "name":"LSHS Band", "version":"2.0", "startLocationUpdates":"0", "allowRotation":"allDevices", "BT_themes":[{"itemId":"3144D7108EA2C01336C52AC", "itemType":"BT_theme", "itemNickname":"Default Theme", "splashScreenItemId":"59DED6FDC0932653DAACCB8", "splashScreenNickname":"splash", "statusBarStyle":"default", "navBarStyle":"solid", "toolbarStyle":"solid", "backgroundColor":"#FFFFFF", "backgroundImageNameSmallDevice":"StarBadge.jpg", "backgroundImageScale":"fullScreenPreserve"} ], "BT_tabs":[ ], "BT_screens":[{"itemId":"A9206A696148D0EE5D487B0", "itemType":"BT_screen_menuListSimple", "itemNickname":"Home", "navBarTitleText":"Home", "childItems":[{"itemId":"EB0F4BD995CFF0687FCD8FE", "itemType":"BT_menuItem", "loadScreenWithItemId":"D39EFA13AF8F8406DF55DCB","titleText":"Calendar"}]}, {"itemId":"D39EFA13AF8F8406DF55DCB", "itemType":"BT_screen_customHTML", "itemNickname":"Calendar", "dataURL":"http://www.buzztouch.com/applications042612/JA971C808E2901B4F8F87AB9B/documents/customHTML_D39EFA13AF8F8406DF55DCB.html", "navBarTitleText":"Calendar", "forceRefresh":"1"} ] } ] } } shannon
 
TraceCampbellBSNRN
buzztouch Evangelist
Profile
Posts: 233
Reg: Dec 16, 2011
Forney
3,680
like
07/12/12 11:44 AM (13 years ago)
look under your layouts and make sure you have your home screen as the default
 
Vashann
I hate code!
Profile
Posts: 7
Reg: Jun 30, 2012
Dallas
6,070
like
07/12/12 11:53 AM (13 years ago)
I have done that and it is correct.
 
Vashann
I hate code!
Profile
Posts: 7
Reg: Jun 30, 2012
Dallas
6,070
like
07/12/12 12:18 PM (13 years ago)
Deleted, Duplicate
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
07/12/12 12:41 PM (13 years ago)
Hi @Vashann, I checked out your most recent config file by bringing it up from the dataURL you have above. It looks to me like everything is configured correctly. You do indeed have a home screen, with two menu items - Event Locations and Calendar - assigned. The BT_Config.txt file in Xcode won't ever automatically update...you'll have to copy and paste like you did if you want to sync it up with the control panel. It will update on the device automatically. Here's what I would try: * Copy the latest configuration data from your control panel and paste it into BT_Config.txt * Do a Product...Clean to break any old links * Delete the app from your simulator...just click and hold until it shakes, and then hit the X * Run the app Let's see where we stand after all that. Thanks! Mark
 
Vashann
I hate code!
Profile
Posts: 7
Reg: Jun 30, 2012
Dallas
6,070
like
07/12/12 12:56 PM (13 years ago)
Still does nothing when I click on a menu item.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
07/12/12 01:00 PM (13 years ago)
If you're interested in sending me your source package, I can run it through my Xcode and do some debugging. MrkFleming at gmail dot com, and I'll get it going! Mark
 
Vashann
I hate code!
Profile
Posts: 7
Reg: Jun 30, 2012
Dallas
6,070
like
07/12/12 01:02 PM (13 years ago)
Delete
 
Vashann
I hate code!
Profile
Posts: 7
Reg: Jun 30, 2012
Dallas
6,070
like
07/12/12 01:06 PM (13 years ago)
Delete
 

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.