Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 88

CreativeAppsPublishing
Android Fan
Profile
Posts: 63
Reg: Jul 31, 2013
Miri Sarawak
5,030
08/29/13 07:57 PM (12 years ago)

Interactive Quiz Plugin Issue

Hey Guys, I have got my first android app almost ready. But I am thinking that it is going to be more fun to my users if I have a quiz within my app. I installed the Interactive Quiz Plugin. And then I added the interactive quiz plugin screen into my simple menu screen. I am planning to use just questions text only for the quiz without images. But I cannot get the plugin to work on my eClipse Android Emulator. I am wondering whether I have wrongly configured the plugin in the buzztouch control. Please check out the google doc link below... <a href="https://docs.google.com/document/d/1HtDMk8zHwAQUMLtSUcXKlq1feKgm5rpVwXy53zCpELs/edit?usp=sharing" target="_blank" rel="nofollow">https://docs.google.com/document/d/1HtDMk8zHwAQUMLtSUcXKlq1feKgm5rpVwXy53zCpELs/edit?usp=sharing</a> I have been searching the previous threads in the forum but I cannot find the solution. I wish someone can help me here. Thanks you. When I run my project in eClipse, the emulator says, "Something's not right: Error loading screen? The application had trouble understanding what to display. Below is my Logcat Message... EDIT...REMOVED LOGCAT OUTPUT..it was crazy long! I've left the important part - the error. It's always at the end. LOL 08-29 23:45:58.555: W/ZZ(307): BT_act_controller:loadScreenObject for screen with itemId: "5B585B9FE0FC0B0BDCBF05E" and itemNickname: "Take This Quiz" and itemType: "BT_screen_quiz" 08-29 23:45:58.672: W/ZZ(307): BT_act_controller: EXCEPTION transitioning to next screen. ERROR: java.lang.ClassNotFoundException: com.kettlebellworkoutroutines.BT_screen_quiz 08-29 23:45:59.102: I/ARMAssembler(58): generated scanline__00000077:03515104_00000000_00000000 [ 33 ipp] (47 ins) at [0x3555
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/29/13 08:25 PM (12 years ago)
This is the culprit: "EXCEPTION transitioning to next screen. ERROR: java.lang.ClassNotFoundException: com.kettlebellworkoutroutines.BT_screen_quiz " This means your android project does not include a JAVA class file named: BT_screen_quiz that's in the package named "com.kettlebellworkoutroutines" Is this your package name? Does this file exist in the project? It needs too :-)
 
CreativeAppsPublis...
Android Fan
Profile
Posts: 63
Reg: Jul 31, 2013
Miri Sarawak
5,030
like
08/29/13 11:00 PM (12 years ago)
Hi David, Thanks for replying to my thread. I haven't renamed my project since I downloaded the android project file from buzztouch control panel. Therefore, my project name in eclipse would be the default bt_android... or something like that. Is it because of this I have this errors? I would like to know how am I going to include the JAVA class file "BT_screen_quiz" into my project. Should I donwload again the project files from buzztouch? Thanks David.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/29/13 11:05 PM (12 years ago)
It sounds like something went wrong during the download process? Your project (the one you downloaded) should not have any references to the com.buzzTouch in any of the files. All the files (java files) in your project should be using: com.kettlebellworkoutroutines Look for this at the top of each java file. If it's not this something went wrong. Maybe re-downlaod the project and see if it changes anything? Weird.
 
CreativeAppsPublis...
Android Fan
Profile
Posts: 63
Reg: Jul 31, 2013
Miri Sarawak
5,030
like
08/30/13 09:19 PM (12 years ago)
Thank you Mr.David, I have got my quiz running on my emulator. I download the source code and compile again in eclipse and it finally works. And then I change my project file named to my app name. I am so excited because I my app is almost finished. Thanks again. Tommy
 

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.