Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 39

Psykasm
Android Fan
Profile
Posts: 3
Reg: May 08, 2013
Santa Cruz, CA....
4,730
07/06/13 04:39 PM (12 years ago)

Question relating to general screen usage

I cannot figure out how buzztouch knows to use a specific screen/plugin after the splash screen (or any other screen for that matter). How does buzztouch know which screen a button links to? Is it in the BT_config.txt? Also, how would I go about adding a screen that wasn't a plugin?
 
Psykasm
Android Fan
Profile
Posts: 3
Reg: May 08, 2013
Santa Cruz, CA....
4,730
like
07/06/13 04:40 PM (12 years ago)
I forgot to mention that I am talking about iOS/xcode work right now.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/06/13 05:24 PM (12 years ago)
It's all in the BT_Config.txt file, which is a JSON formatted file that details each component (and use) for your App, whether iOS or Android. It keeps track by those 'itemId' numbers you see in the config file. Notice one of your menu items will say 'loadScreenObject' and have an itemId attached to it; if you look around the rest of the config file, you'll find the matching screen in there somewhere... Basically it works like this: If you have a splash screen, it will show on startup. After which it will default to the 'Home' screen, which is usually the first screen listed. If you have a tabbed layout, your home screen will be the first tab. There are ways around this, but by default that's how it is. Cheers! -- Smug
 

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.