Discussion Forums  >  Xcode, Errors, Installing, Configuring

Replies: 15    Views: 185

Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
06/28/12 09:31 PM (13 years ago)

App stopped working

I've come across a rather frustrating issue with one of my apps. I was working on updating it - deleted a couple of screens and added a couple new ones. Now the app has become totally unresponsive - the menu screen loads and all of the buttons are there, but nothing happens when I tap on the buttons. Also, the little refresh button doesn't work - it's like the entire screen is frozen. I've tried a number of things - I re-made the home list screen all over again and re-downloaded the source code and nothing seems to be working. It's not working on my iOS device OR on the simulator. Anybody else had this issue?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
06/28/12 09:34 PM (13 years ago)
Just a guess. One of your new screens nicknames has a space or illegal character or starts with same. Fred
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/28/12 11:40 PM (13 years ago)
Hi @Absentia, This is where getting the debug info from the console in Xcode and LogCat in Eclipse is super helpful. It'll probably tell you exactly what's going on. Can you provide some of that info? http://www.buzztouch.com/resources/Problem_Reporting_and_Basic_Debug_v1.0.pdf Mark
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
06/29/12 12:06 AM (13 years ago)
Thanks for the responses guys. I don't have my computer on me, but I'll be posting back tomorrow!
 
MDG2
Apple Fan
Profile
Posts: 102
Reg: May 08, 2012
Princeton, New ...
5,020
like
06/29/12 05:36 AM (13 years ago)
The same thing happened to me, nobody in the forum could help me figure it out so I resulted to creating a totally new app. http://www.buzztouch.com/forum/thread.php?tid=9811939C9CC4589968242E4&fid=2C1C22C1EADEDB22F61C5E5&sortColumn=FT.id&sortUpDown=DESC&currentPage=1
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
06/29/12 10:13 AM (13 years ago)
Absentia are you self hosted? I remember you saying a while ago that your apps are very popular and you almost reach 500,000 views a month. If thats the case and you still are connected to BT's server. Move the config file to dropbox. or selfhost
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
06/29/12 06:13 PM (13 years ago)
here's the output 2012-06-29 17:07:04.819 skyrimultimatequiz[5218:707] [RevMob] Initiating Fullscreen Ad. 2012-06-29 17:07:04.823 skyrimultimatequiz[5218:707] [RevMob] Fetching Fullscreen data. 2012-06-29 17:07:04.955 skyrimultimatequiz[5218:707] [RevMob] Locale en_US 2012-06-29 17:07:04.960 skyrimultimatequiz[5218:707] [RevMob] Language en 2012-06-29 17:07:05.061 skyrimultimatequiz[5218:707] BT_application: initializing buzztouch application 2012-06-29 17:07:05.068 skyrimultimatequiz[5218:707] BT_device: INIT 2012-06-29 17:07:05.074 skyrimultimatequiz[5218:707] BT_device: Unique UUID does not exist, creating. 2012-06-29 17:07:05.085 skyrimultimatequiz[5218:707] BT_device: This device is NOT an iPad. 2012-06-29 17:07:05.087 skyrimultimatequiz[5218:707] BT_device: This device can make phone calls 2012-06-29 17:07:05.128 skyrimultimatequiz[5218:707] BT_device: This device can send emails 2012-06-29 17:07:05.129 skyrimultimatequiz[5218:707] BT_device: This device can send SMS 2012-06-29 17:07:05.133 skyrimultimatequiz[5218:707] BT_device: This device can reports it's location 2012-06-29 17:07:05.134 skyrimultimatequiz[5218:707] BT_device: This device can take still pictures 2012-06-29 17:07:05.136 skyrimultimatequiz[5218:707] BT_device: This device can take videos 2012-06-29 17:07:05.138 skyrimultimatequiz[5218:707] BT_user: INIT 2012-06-29 17:07:05.140 skyrimultimatequiz[5218:707] BT_networkState: INIT 2012-06-29 17:07:05.147 skyrimultimatequiz[5218:707] BT_networkState: Monitoring Connection: WiFi Not Available 2012-06-29 17:07:05.151 skyrimultimatequiz[5218:707] BT_networkState: Monitoring Connection: WiFi Available 2012-06-29 17:07:05.157 skyrimultimatequiz[5218:707] BT_networkState: Monitoring Connection: WiFi Available 2012-06-29 17:07:05.163 skyrimultimatequiz[5218:6403] skyrimultimatequiz_appDelegate: loadSoundEffects 2012-06-29 17:07:05.163 skyrimultimatequiz[5218:5e27] skyrimultimatequiz_appDelegate: initAudioPlayer in background thread 2012-06-29 17:07:05.164 skyrimultimatequiz[5218:707] skyrimultimatequiz_appDelegate: refreshAppData 2012-06-29 17:07:05.177 skyrimultimatequiz[5218:5e27] BT_audioPlayer: INIT (preparing it for possible background audio) 2012-06-29 17:07:05.216 skyrimultimatequiz[5218:6403] BT_fileManager: File does exist in Xcode bundle: basso.mp3 2012-06-29 17:07:05.213 skyrimultimatequiz[5218:707] BT_fileManager: File does not exist in cached directory: cachedAppConfig.txt 2012-06-29 17:07:05.234 skyrimultimatequiz[5218:707] BT_fileManager: File does exist in Xcode bundle: BT_config.txt 2012-06-29 17:07:05.353 skyrimultimatequiz[5218:707] BT_fileManager: readTextFileFromBundleWithEncoding: BT_config.txt encoding: -1 2012-06-29 17:07:05.361 skyrimultimatequiz[5218:707] skyrimultimatequiz_appDelegate: Parsing configuration data included in the project bundle. 2012-06-29 17:07:05.378 skyrimultimatequiz[5218:6403] BT_fileManager: File does exist in Xcode bundle: blow.mp3 2012-06-29 17:07:05.387 skyrimultimatequiz[5218:707] BT_application: validateApplicationData 2012-06-29 17:07:05.410 skyrimultimatequiz[5218:6403] BT_fileManager: File does exist in Xcode bundle: bottle.mp3 2012-06-29 17:07:05.426 skyrimultimatequiz[5218:6403] BT_fileManager: File does exist in Xcode bundle: frog.mp3 2012-06-29 17:07:05.437 skyrimultimatequiz[5218:707] BT_application: The application data appears to be valid. 2012-06-29 17:07:05.438 skyrimultimatequiz[5218:707] skyrimultimatequiz_appDelegate: configureEnvironmentUsingAppData 2012-06-29 17:07:05.441 skyrimultimatequiz[5218:707] BT_audioPlayer: stopAudio 2012-06-29 17:07:05.442 skyrimultimatequiz[5218:6403] BT_fileManager: File does exist in Xcode bundle: funk.mp3 2012-06-29 17:07:05.450 skyrimultimatequiz[5218:707] BT_application: parseJSONData: parsing application data 2012-06-29 17:07:05.463 skyrimultimatequiz[5218:6403] BT_fileManager: File does exist in Xcode bundle: glass.mp3 2012-06-29 17:07:05.475 skyrimultimatequiz[5218:707] BT_application: parsing themes, count: 1 2012-06-29 17:07:05.479 skyrimultimatequiz[5218:707] BT_application: parsing tabs, count: 0 2012-06-29 17:07:05.483 skyrimultimatequiz[5218:6403] BT_fileManager: File does exist in Xcode bundle: hero.mp3 2012-06-29 17:07:05.485 skyrimultimatequiz[5218:707] BT_application: parsing screens, count: 6 2012-06-29 17:07:05.488 skyrimultimatequiz[5218:707] BT_application: buildInterface app interface 2012-06-29 17:07:05.492 skyrimultimatequiz[5218:707] BT_application: building a single navigation controller app 2012-06-29 17:07:05.498 skyrimultimatequiz[5218:707] BT_viewControllerManager: initViewControllerForScreen nickname: "Home" itemId: A4753110963ED90A24F69C8 type: BT_screen_menuList 2012-06-29 17:07:05.502 skyrimultimatequiz[5218:6403] BT_fileManager: File does exist in Xcode bundle: morse.mp3 2012-06-29 17:07:05.509 skyrimultimatequiz[5218:707] BT_screen_menuList: INIT 2012-06-29 17:07:05.516 skyrimultimatequiz[5218:707] BT_screen_menuList: viewDidLoad 2012-06-29 17:07:05.521 skyrimultimatequiz[5218:6403] BT_fileManager: File does exist in Xcode bundle: ping.mp3 2012-06-29 17:07:05.520 skyrimultimatequiz[5218:707] authenticateWithCompletionHandler: enter 2012-06-29 17:07:05.541 skyrimultimatequiz[5218:6403] BT_fileManager: File does exist in Xcode bundle: pop.mp3 2012-06-29 17:07:05.559 skyrimultimatequiz[5218:6403] BT_fileManager: File does exist in Xcode bundle: purr.mp3 2012-06-29 17:07:05.565 skyrimultimatequiz[5218:707] authenticateWithCompletionHandler: exit 2012-06-29 17:07:05.571 skyrimultimatequiz[5218:4507] [RevMob] There are no ads available now. This is normal. 2012-06-29 17:07:05.579 skyrimultimatequiz[5218:707] BT_viewUtilities: getTableViewForScreen with nickname: "Home" and itemId: A4753110963ED90A24F69C8 and type: BT_screen_menuList 2012-06-29 17:07:05.579 skyrimultimatequiz[5218:6403] BT_fileManager: File does exist in Xcode bundle: right.mp3 2012-06-29 17:07:05.608 skyrimultimatequiz[5218:6403] BT_fileManager: File does exist in Xcode bundle: sosumi.mp3 2012-06-29 17:07:05.619 skyrimultimatequiz[5218:707] BT_rotatingNavController: pushViewController for screen: A4753110963ED90A24F69C8 2012-06-29 17:07:05.624 skyrimultimatequiz[5218:6403] BT_fileManager: File does exist in Xcode bundle: submarine.mp3 2012-06-29 17:07:05.642 skyrimultimatequiz[5218:6403] BT_fileManager: File does exist in Xcode bundle: tink.mp3 2012-06-29 17:07:05.660 skyrimultimatequiz[5218:707] BT_viewUtilities: setting nav-bar background for "Home" color: #000000 2012-06-29 17:07:05.666 skyrimultimatequiz[5218:707] BT_application: initialzing a splash screen with itemId: ACF7F93EE15E3DD4B50F120 2012-06-29 17:07:05.669 skyrimultimatequiz[5218:707] BT_application: getScreenDataByItemId ACF7F93EE15E3DD4B50F120 2012-06-29 17:07:05.673 skyrimultimatequiz[5218:707] BT_application: could not find screen with itemId: ACF7F93EE15E3DD4B50F120 2012-06-29 17:07:05.677 skyrimultimatequiz[5218:707] BT_viewControllerManager: initViewControllerForScreen: ERROR finding screen with itemId: (null) 2012-06-29 17:07:05.682 skyrimultimatequiz[5218:707] BT_viewControllerManager: initViewControllerForScreen: ERROR, could not initialize view controller for screen with itemId: (null) 2012-06-29 17:07:05.685 skyrimultimatequiz[5218:707] BT_viewControllerManager: getErrorViewController 2012-06-29 17:07:05.690 skyrimultimatequiz[5218:707] BT_screen_menuList: INIT 2012-06-29 17:07:05.694 skyrimultimatequiz[5218:707] BT_screen_menuList: viewDidLoad 2012-06-29 17:07:05.699 skyrimultimatequiz[5218:707] authenticateWithCompletionHandler: enter 2012-06-29 17:07:05.703 skyrimultimatequiz[5218:707] BT_viewUtilities: getTableViewForScreen with nickname: "no nickname?" and itemId: error view controller has no itemId and type: BT_screen_menuList 2012-06-29 17:07:05.712 skyrimultimatequiz[5218:707] BT_application: App has "Start Location Updates" set to "No". App is NOT starting the location monitor. 2012-06-29 17:07:05.717 skyrimultimatequiz[5218:707] BT_background_view: INIT 2012-06-29 17:07:05.723 skyrimultimatequiz[5218:707] BT_fileManager: File does exist in Xcode bundle: retina background.png 2012-06-29 17:07:05.725 skyrimultimatequiz[5218:707] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2012-06-29 17:07:05.734 skyrimultimatequiz[5218:707] BT_background_view: setImage 2012-06-29 17:07:05.737 skyrimultimatequiz[5218:707] BT_screen_menuList: viewWillAppear 2012-06-29 17:07:05.740 skyrimultimatequiz[5218:707] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "no nickname?" and itemId: error view controller has no itemId and type: BT_screen_menuList 2012-06-29 17:07:05.744 skyrimultimatequiz[5218:707] The view controller <BT_screen_menuList: 0xf653b00> returned NO from -shouldAutorotateToInterfaceOrientation: for all interface orientations. It should support at least one orientation. 2012-06-29 17:07:05.748 skyrimultimatequiz[5218:707] BT_fileManager: File does exist in Xcode bundle: retina background.png 2012-06-29 17:07:05.751 skyrimultimatequiz[5218:707] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2012-06-29 17:07:05.754 skyrimultimatequiz[5218:707] BT_background_view: setImage 2012-06-29 17:07:05.759 skyrimultimatequiz[5218:707] skyrimultimatequiz_appDelegate: hideProgress 2012-06-29 17:07:05.769 skyrimultimatequiz[5218:707] skyrimultimatequiz_appDelegate: applicationDidBecomeActive 2012-06-29 17:07:05.773 skyrimultimatequiz[5218:707] skyrimultimatequiz_appDelegate: reportToCloud 2012-06-29 17:07:05.777 skyrimultimatequiz[5218:707] BT_strings: mergeBTVariablesInString (after merge): http://www.buzztouch.com/appdata/v1.5.php?command=reportToCloud&appGuid=EA386E3456D7D8B3317646A5D&apiKey=BE6F70B2A3F96DE22854584&deviceId=CD267C77-327A-4761-8360-551B18CE5715&deviceLatitude=0&deviceLongitude=0&deviceModel=iPhone&userId= 2012-06-29 17:07:05.781 skyrimultimatequiz[5218:707] skyrimultimatequiz_appDelegate: reporting to cloud at : http://www.buzztouch.com/appdata/v1.5.php?command=reportToCloud&appGuid=[buzztouchAppId]&apiKey=[buzztouchAPIKey]&deviceId=[deviceId]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude]&deviceModel=[deviceModel]&userId=[userId] 2012-06-29 17:07:05.789 skyrimultimatequiz[5218:707] BT_screen_menuList: viewWillAppear 2012-06-29 17:07:05.791 skyrimultimatequiz[5218:707] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "Home" and itemId: A4753110963ED90A24F69C8 and type: BT_screen_menuList 2012-06-29 17:07:05.809 skyrimultimatequiz[5218:707] BT_fileManager: File does exist in Xcode bundle: retina background.png 2012-06-29 17:07:05.812 skyrimultimatequiz[5218:707] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2012-06-29 17:07:05.814 skyrimultimatequiz[5218:707] BT_background_view: setImage 2012-06-29 17:07:06.017 skyrimultimatequiz[5218:707] BT_networkState: Monitoring Connection: WiFi Not Available 2012-06-29 17:07:06.021 skyrimultimatequiz[5218:707] BT_screen_menuList: loadData 2012-06-29 17:07:06.022 skyrimultimatequiz[5218:707] BT_screen_menuList: using menu items from the screens configuration data. 2012-06-29 17:07:06.023 skyrimultimatequiz[5218:707] BT_screen_menuList: layoutScreen 2012-06-29 17:07:06.024 skyrimultimatequiz[5218:707] BT_screen_menuList: This menu has no list items? 2012-06-29 17:07:06.026 skyrimultimatequiz[5218:707] BT_screen_menuList: loadData 2012-06-29 17:07:06.027 skyrimultimatequiz[5218:707] BT_fileManager: File does not exist in cached directory: screenData_A4753110963ED90A24F69C8.txt 2012-06-29 17:07:06.029 skyrimultimatequiz[5218:707] BT_screen_menuList: no cached version of this screens data available. 2012-06-29 17:07:06.030 skyrimultimatequiz[5218:707] BT_screen_menuList: downloading screen data from: http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=[buzztouchAppId]&apiKey=[buzztouchAPIKey]&screenId=[screenId] 2012-06-29 17:07:06.031 skyrimultimatequiz[5218:707] BT_screen_menuList: showProgress 2012-06-29 17:07:06.032 skyrimultimatequiz[5218:707] BT_viewUtilities: getProgressView 2012-06-29 17:07:06.057 skyrimultimatequiz[5218:707] BT_strings: mergeBTVariablesInString (after merge): http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=EA386E3456D7D8B3317646A5D&apiKey=BE6F70B2A3F96DE22854584&screenId=A4753110963ED90A24F69C8 2012-06-29 17:07:06.058 skyrimultimatequiz[5218:707] BT_downloader: INIT 2012-06-29 17:07:06.060 skyrimultimatequiz[5218:707] BT_downloader: downloadFile: http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=EA386E3456D7D8B3317646A5D&apiKey=BE6F70B2A3F96DE22854584&screenId=A4753110963ED90A24F69C8 2012-06-29 17:07:06.061 skyrimultimatequiz[5218:707] BT_screen_menuList: downloadFileStarted: starting download... 2012-06-29 17:07:06.188 skyrimultimatequiz[5218:707] skyrimultimatequiz_appDelegate: reportToCloud 2012-06-29 17:07:06.190 skyrimultimatequiz[5218:707] BT_strings: mergeBTVariablesInString (after merge): http://www.buzztouch.com/appdata/v1.5.php?command=reportToCloud&appGuid=EA386E3456D7D8B3317646A5D&apiKey=BE6F70B2A3F96DE22854584&deviceId=CD267C77-327A-4761-8360-551B18CE5715&deviceLatitude=0&deviceLongitude=0&deviceModel=iPhone&userId= 2012-06-29 17:07:06.191 skyrimultimatequiz[5218:707] skyrimultimatequiz_appDelegate: reporting to cloud at : http://www.buzztouch.com/appdata/v1.5.php?command=reportToCloud&appGuid=[buzztouchAppId]&apiKey=[buzztouchAPIKey]&deviceId=[deviceId]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude]&deviceModel=[deviceModel]&userId=[userId] 2012-06-29 17:07:06.194 skyrimultimatequiz[5218:707] Missed Method 2012-06-29 17:07:06.537 skyrimultimatequiz[5218:707] [RevMob] Succeeded! Received 393 bytes of data 2012-06-29 17:07:06.539 skyrimultimatequiz[5218:707] [RevMob] JSON deserialized with success. 2012-06-29 17:07:06.540 skyrimultimatequiz[5218:707] [RevMob] Updating Ad data. 2012-06-29 17:07:06.541 skyrimultimatequiz[5218:707] skyrimultimatequiz_appDelegate: lastModified (value on server): Sat, 30 Jun 2012 01:04:03 -0700 2012-06-29 17:07:06.543 skyrimultimatequiz[5218:707] BT_fileManager: File does not exist in cached directory: appModified.txt 2012-06-29 17:07:06.544 skyrimultimatequiz[5218:707] BT_fileManager: saveTextFileToCacheWithEncoding: appModified.txt encodingFlag: -1 2012-06-29 17:07:06.551 skyrimultimatequiz[5218:707] skyrimultimatequiz_appDelegate: appModified.txt does not exist in the cache. Not checking for updates. 2012-06-29 17:07:06.555 skyrimultimatequiz[5218:707] BT_screen_menuList: downloadFileInProgress: 100% 2012-06-29 17:07:06.557 skyrimultimatequiz[5218:707] BT_fileManager: saveTextFileToCacheWithEncoding: screenData_A4753110963ED90A24F69C8.txt encodingFlag: -1 2012-06-29 17:07:06.561 skyrimultimatequiz[5218:707] BT_screen_menuList: downloadFileCompleted: Success 2012-06-29 17:07:06.563 skyrimultimatequiz[5218:707] BT_screen_menuList: hideProgress 2012-06-29 17:07:06.566 skyrimultimatequiz[5218:707] BT_fileManager: File does exist in cached directory: screenData_A4753110963ED90A24F69C8.txt 2012-06-29 17:07:06.568 skyrimultimatequiz[5218:707] BT_screen_menuList: parsing downloaded screen data. 2012-06-29 17:07:06.569 skyrimultimatequiz[5218:707] BT_fileManager: readTextFileFromCacheWithEncoding: screenData_A4753110963ED90A24F69C8.txt encoding: -1 2012-06-29 17:07:06.570 skyrimultimatequiz[5218:707] BT_screen_menuList: parseScreenData 2012-06-29 17:07:06.572 skyrimultimatequiz[5218:707] BT_screen_menuList: layoutScreen 2012-06-29 17:07:06.717 skyrimultimatequiz[5218:707] skyrimultimatequiz_appDelegate: lastModified (value on server): Sat, 30 Jun 2012 01:04:03 -0700 2012-06-29 17:07:06.718 skyrimultimatequiz[5218:707] BT_fileManager: File does exist in cached directory: appModified.txt 2012-06-29 17:07:06.720 skyrimultimatequiz[5218:707] BT_fileManager: readTextFileFromCacheWithEncoding: appModified.txt encoding: -1 2012-06-29 17:07:06.721 skyrimultimatequiz[5218:707] skyrimultimatequiz_appDelegate: previousModified (value on device): Sat, 30 Jun 2012 01:04:03 -0700 2012-06-29 17:07:06.723 skyrimultimatequiz[5218:707] BT_fileManager: saveTextFileToCacheWithEncoding: appModified.txt encodingFlag: -1 2012-06-29 17:07:06.737 skyrimultimatequiz[5218:707] Missed Method
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/30/12 01:05 AM (13 years ago)
Was able to pull up your config file. Not sure if these are the problems, but you have some spaces in image file names. Generally that's not a good idea, and it can cause problems. "backgroundImageNameSmallDevice":"retina background.png" "backgroundImageNameLargeDevice":"iPad background.png" I'd fix those wherever possible. Mark
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
06/30/12 12:05 PM (13 years ago)
You, sir, are a genius - I erased all of the background image names and it works now. Thanks!
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/30/12 12:17 PM (13 years ago)
Sweet! You can use background images, but just make sure the file names don't have any spaces or weird characters in them. Android requires them to be all lower case as well. Same applies to any file you use...image, doc, etc! Glad it's working! Mark
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
06/30/12 12:41 PM (13 years ago)
Actually you can use " - " and uppercase Letters in the docs, images that are places in the BT_Doc folder, since the BT_Doc folder is in the "Assets" folder. The Assets folder is not compiles as the res folder is. It's probably not a good policy to use " - " and Uppercase letters since most are not aware of will forget the difference. In BTv1.5 (Android) the BT_images folder is in the Assets folder. That's why " - " and Uppercase letters are permitted. With BTv2.0 (Android) the BT_images folder was moved to the res folder and renamed drawable folder. I didn't noticed any BTv2.0 doc or images files in my Assets folder with any spaces, but I suspect a " " (space) is permitted but it may not be. Would be nice to know either way. Fred
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/30/12 12:46 PM (13 years ago)
Spaces in file names is largely a Windows invention. If you look at the source code for both iOS and Android, you won't see a single file name that has a space in it...same for folder names. Putting spaces in a file name adds a variability that you probably don't want to deal with. Keeping them out guarantees that will never be a problem, and conforms more with standard convention! Good point on the other parts of the file name discussion. Personally, I like to find a convention and stick with it. Since Android images are confined to a-z0-9, I now try and use that convention with every file (Android and iOS) so I'm consistent and don't forget (as you mention!), and to make sure it's compatible across both platforms. Ultimately it just saves time! Mark
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
06/30/12 12:55 PM (13 years ago)
Spaces in file names is largely a Windows invention. Didn't know that. If you look at the source code for both iOS and Android, you won't see a single file name that has a space in it...same for folder names. It's probably because spaces don't compile. But the Assets folder isn't compiled. Given the frequent use of the Assets folder for CSS, php, and html docs its probably important us to know if it's allowed or not. Fred
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/30/12 01:15 PM (13 years ago)
"Given the frequent use of the Assets folder for CSS, php, and html docs its probably important us to know if it's allowed or not." Allowed or not, it's probably not a good idea to get into the habit of using spaces. On a web server, where most of those file you mention generally live, spaces are not permitted. You can't have a "my cool script.php" file running on a web server. If you look at the source code for a random HTML file on the web, you'd be hard pressed to find a space in any of the referenced file. Services like DropBox allow you to create a link to a file that has spaces in it, but notice that they fill in the blanks with %20. We've seen countless times on buzztouch where that has caused issues. I'm not sure that JSON handles that elegantly. For me, it's a general rule to not use spaces. I work in the IT industry, and I have never come across any code or file that has a space in it...it's simply a standard that everybody adheres to. In my mind, it's a best practice that can't steer you wrong, regardless of whether spaces are actually permitted or not. Just my two cents! We both have valid points here for sure, and are essentially on the same side of the argument. Mark
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
06/30/12 02:00 PM (13 years ago)
As I noted I don't recommend it, but if some one was moving using files that already have spaces I would like to know if it's allowed. Fred
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/30/12 02:29 PM (13 years ago)
Well, there's literally only one way to know for sure, and that's to test different use cases. Sounds like a good rainy day project for somebody! Mark
 

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.