Discussion Forums  >  iOS / Android Beta Testers

Replies: 5    Views: 107

xtremeesolutions
Code is Art
Profile
Posts: 106
Reg: Nov 19, 2011
FootHill Ranch,...
6,610
09/03/12 11:30 PM (13 years ago)

IOS Quiz plugin Issue

On the Quiz home page, when two of the icons are touched simultaneously the program locks up requiring the iPad to be rebooted. When the inputscreen "Show Scoreboard / Try Again / Quit" is open, if users rapidly tap the screen outside of the option boxes, the program closes, requiring it to be launched. Please provide me suggestions as how to solve this problem. Kindly Suggest , How can I resolve this. Any assistance rendered will be appreciated. Rakesh
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/03/12 11:36 PM (13 years ago)
Hmm...have not heard this before. "Two at the same time" - meaning two answers at the same time? Not sure what you mean with "two icons" at the same time :-)
 
xtremeesolutions
Code is Art
Profile
Posts: 106
Reg: Nov 19, 2011
FootHill Ranch,...
6,610
like
09/03/12 11:54 PM (13 years ago)
Yes, two icons at same time for quiz buttons. This is our clients requirement as it force closes the application as they are using it on kiosk. So help us to rectify this issue. Rakesh
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/04/12 12:22 AM (13 years ago)
"quiz buttons" - this is the part that confuses me. Are you launching two different quizzes at the same time. Or, are you tapping two different answers at the same time while taking quiz. Lots and lots of ways to configure these things so I need to know where to look for trouble. Kiosk - cool!
 
xtremeesolutions
Code is Art
Profile
Posts: 106
Reg: Nov 19, 2011
FootHill Ranch,...
6,610
like
09/04/12 12:35 AM (13 years ago)
Two different Quizzes at the same time. We have Multiple Quizzes and have them as Menu buttons. So when a user is clicking two buttons (Which are launching Quizzes) at the same time next screen comes up ( Which Shows the (1..2..3 timer) but in this case the next screen comes up with out the timer and it hangs so, user is not able to proceed.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/04/12 01:06 AM (13 years ago)
Hmm... OK...so it sounds like we'll need to figure out how to prevent two buttons (two menu items) from being tapped at the same time. Thinking.... Apart from tying the users hands together, so they can't do this! LOL, I think maybe some new logic will be needed. Not sure if you're capable of this adjustment but it's worth a try. Engineering as we speak but this should work... Start with the BT_screen_menuButtons.h file. Add a new property called "didTap" in the interface. Like int didTap; and lower down where all the other are... @property (nonatomic) int didTap; At this point you have a new property called "didTap" and we'll try to use this property to prevent the "second" screen from loading if a button was already tapped. Open the BT_screen_menuButtons.m file. We'll need to do a few things here. First, synthesize the didTap property at the top like: @synthesize didTap You'll see the others. Synthesizing the property will allow us to "get" and "set" it's value. In the viewDidLoad method, set it to "zero" (meaning nothing has been tapped yet); [self setDidTap:0]; Do the same thing in the viewDidAppear method so it resets every time the button menu shows. Remember, viewDidLoad does NOT run when the user clicks "back" to the menu, only the viewDidAppear does. This means we'll need to be sure to reset it here: [self setDidTap:0]; OK, now, when the "first" button is tapped (any button really), set it to 1 (true), so we can test for this a millisecond later... Scroll down and find the menuItemTap tap method on about line 572. If the didTap property == 0, we'll load the next screen (the quiz). If it's not, ignore and dont' load the screen. -(void)menuItemTap:(id)sender{ [BT_debugger showIt:self:@"menuItemTap"]; //flag the button as tapped... [self setDidTap:1]; //all the existing code.... //all the existing code... } Re-compile, test. I'll be it works? If this does work, we should implement this in the plugin so the next person doesn't run into the same thing. I'll be travelling a few hours (for a few days) and may not see this post for awhile. I'll try to check it when I have a connection. I'll bet you don't need me anymore and this will fix it!
 

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.