Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 80

HeyShay
Aspiring developer
Profile
Posts: 24
Reg: Oct 15, 2012
Seattle
1,690
10/18/12 05:05 PM (13 years ago)

Two ?'s about Quiz Plug In

Okay here goes: 1) Seems this should be simple. I created a menu of quizzes then added a Quiz page with a sample 4 question Quiz. I click on the Quiz menu button and it takes me...to a blank screen. It has a menu bar at the top, in the color I chose. No back button, no questions showing, no nothing. I didn't finish configuring the quiz (with reward screens or anything) as I just wanted to see what it was like to move through the questions, but I can't do that. ANd I can't get off the screen without refreshing the entire emulation, since there is no button to get me anyplace (I hid the bottom tabs for the quiz page). So where is my back button? I don't see anyplace to add it or remove it. I tried adding a "Done" top right button, but it also did not show up. And where is my quiz? Does it require I configure every detail before it will show anything? 2) If I am a first-time user of the app, and am away from a wireless connection the first time I try to open the Quiz, will it fail to load? Or is it cached on the device in some way when the app is first loaded? I have been trying to keep as much of my app from requiring an internet connection full time, but it is beginning to look more and more like much of the functionality I like best requires it. *sigh* Any thoughts, RE the quiz plugin and not-near-a-wifi-connection users?
 
HeyShay
Aspiring developer
Profile
Posts: 24
Reg: Oct 15, 2012
Seattle
1,690
like
10/18/12 05:44 PM (13 years ago)
I recompiled and ran it and it is showing everything now. So Q# 1 mysteriously fixed. Second question still a ?
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
10/18/12 06:59 PM (13 years ago)
Question 2. The quiz is stored in the source code so you are cool unless you reference external images - if they are cached you'll be cool on second use - for quiz pics. Sounds like you'll be cool.
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
10/18/12 07:19 PM (13 years ago)
MacApple is correct about the questions being stored in the source code (more specifically, the BT_config.txt). If you do any testing while you're still playing with the app, I'll assume that you're app is getting that information from the control panel still, which would require a one-time (per change) internet access. BUT.... This all gets fixed when you finally go to submit. As long as you remember the very important step of copying the newest version of your BT_config.txt and pasting it into your app just before you do your final compile (build). Then the version that the new user gets from the app store has the final set of questions, and won't require to download them unless you make changes in your control panel at some point. Hope that makes sense. If it doesn't, promise me you'll bookmark this thread and re-visit it just before you compile and submit.
 
HeyShay
Aspiring developer
Profile
Posts: 24
Reg: Oct 15, 2012
Seattle
1,690
like
10/18/12 09:19 PM (13 years ago)
LOL! Thanks, Stobe. I will come back to this when and if this makes complete sense. I think I grok it, but admittedly it is before I have et' mah dinnah.
 

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.