Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 10    Views: 135

Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
03/14/13 06:34 AM (12 years ago)

Bug when creating a picture Quiz in Android?

Hello! When creating a image quiz for android everything goes smooth except for one minor detail. Over the image a text appers with "none". Maybe someone can look into this since this is the last obstacle before I can publish my app to Google Play. BR/Stefan
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
03/14/13 06:39 AM (12 years ago)
Hi @Stefan, Did you replace the default image? If so, make sure lowercase and no special characters and png files work the best with Android. LA
 
Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
like
03/14/13 07:39 AM (12 years ago)
I have ten different pictures (for each question) so there should not be a call to the default image. But to answer your question, I have not replaced the default image. What happens is that , the image is pulled into the screen, as intendeed but with this annoying text hoovering over all pictures. BR Stefan
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
03/14/13 07:42 AM (12 years ago)
@stefan I was gEtting the sample problem and since I did not need the text at all I modified its code and made the text size to 0dp.
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
03/14/13 07:43 AM (12 years ago)
@stefan I was gEtting the same problem and since I did not need the text at all I modified its code and made the text size to 0dp.Just find the quiz xml and do it.if you don't know how message back.
 
Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
like
03/14/13 09:40 AM (12 years ago)
@SuVinay - exillent tip. But I use the text in some quizzes in the same app so this approach wont solve my problem. BR/ Stefan
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
03/14/13 09:53 AM (12 years ago)
@Stefan, have you entered the quiz question as "none", without the quotes? If it's successful the question should show as a blank entry in the questions list.
 
Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
like
03/14/13 10:17 AM (12 years ago)
@raveyd Nope. I'm pulling the questions from my server, from a text file. Where the actual questions should be if it were a text quiz is just two quotes. Hmm...maybe that is the problem? Maybe I should remove that line in the text file I'm calling? Br Stefan
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
03/14/13 10:24 AM (12 years ago)
Give it a try, I don't know... Regarding SuVinays solution - you could clone the quiz plugin and use one version for text and one for images?
 
Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
like
03/14/13 11:31 AM (12 years ago)
Oh man!!! Don´t you think I'm calling a dummy text file where of course the word none is repeated in the filed where the image should be and not as I thought a empty space. Gotta go and soak my self in a bucket full of boogers! Thanks for all feedback and sorry for creating such mess here. BR/Stefan
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
03/14/13 12:12 PM (12 years ago)
Soaking yourself in a bucket full of boogers seems a bit extreme... Glad you got it fixed though!
 

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.