I've got a problem with the Colored Dots tutorial.

229 views
Skip to first unread message

Ryan McCarthy

unread,
Mar 23, 2017, 1:04:01 PM3/23/17
to MIT App Inventor Forum
I'm having a problem with the Colored Dots app I created, I followed the tutorial exactly, I made all the blocks, I double checked everything and it was just as the tutorial said it should be.
The problem is that when I try to test it on the Companion App, the whole thing is off screen and unusable.  I'm not sure if I did something wrong or it just doesn't work on the Companion but I need help.

Nico Marikucza

unread,
Mar 24, 2017, 11:10:31 AM3/24/17
to MIT App Inventor Forum
You can try to install the App via apk:
1st: Click Build>App (provide QR Code for .apk)
2nd: Wait for the Barcode and scan it (if you do not have a QR-Code Scanner, you can scan it with the Companion)
3rd: Install the App and try it out
Nico

Nico Marikucza

unread,
Mar 24, 2017, 12:18:08 PM3/24/17
to mitappinv...@googlegroups.com
Er....... Now i don´t know what the problem is it. I have tested the app with the aia file (you sent me), but i have the same problem.
Can one help us?
Nico
Colordots2.aia

Taifun

unread,
Mar 24, 2017, 3:17:27 PM3/24/17
to MIT App Inventor Forum
what exactly means " the whole thing is off screen and unusable. "
can you provide a screenshot, so everybody is able to understand, what you are talking about?
Taifun

Trying to push the limits of App Inventor! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun. 

Ryan McCarthy

unread,
Mar 25, 2017, 5:28:34 PM3/25/17
to mitappinv...@googlegroups.com
I can't provide a screen shot from my own version but I post the screen shot from the tutorial it self to give an example.

So it looks like the picture below except the layout looks like it has been scrolled to the right and is mostly off screen. I can only see the erase button, pressing erase does nothing.
screen1.png

SteveJG

unread,
Mar 25, 2017, 6:01:48 PM3/25/17
to MIT App Inventor Forum
Are you using a Fixed or a Responsive screen Sizing.  Look at the Screen in the Designer and low in the right select Responsive if Fixed is selected.

This may solve your problem.     OR

did you

HorizontalArrangementLayoutHorizontalArrangement1Holds the following 4 labels:Set Width to Fill Parent and AlignHorizontal to Center
CanvasDrawing and AnimationCanvas1Shows dots at the places you touchSet the width to Fill parent and the height to 300 pixels
HorizontalArrangementLayoutHorizontalArrangement2Holds the following 2 Buttons and ListPickerSet Width to Fill Parent and AlignHorizontal to Center

Taifun

unread,
Mar 25, 2017, 6:03:23 PM3/25/17
to mitappinv...@googlegroups.com
I can't provide a screen shot from my own version
why can't you provide a screenshot?

I now looked at your project, there were 2 bugs in Screen1
1) you created an endless loop


2) the name of the other screen in your project is ColorPallete and not Brush_Picker...


3)
there was an empty socket in one of the blocks in the other screen and you should call the limitrange procedure there...


there might be more bugs in that screen...
 
Taifun 

Colordots3.aia

Ryan McCarthy

unread,
Mar 25, 2017, 7:08:23 PM3/25/17
to MIT App Inventor Forum
I'm doing this as a class assignment and the tablet I use the companion on is at my school, I did download the companion on my phone but I don't have my phone with me.


So for 1 does the arrow mean I should put it under the "add items to list" block and for 3 are you saying that I should have it call limit range or that a shouldn't?

Ryan McCarthy

unread,
Mar 25, 2017, 7:13:48 PM3/25/17
to MIT App Inventor Forum
I had it on Fixed sizing, I switched it to Responsive like you said but I won't be able to test if it worked until Monday (I'm doing this as a class assignment and the tablet I was using to test it out is at the school, plus I don't have my phone with me to use the companion app on)

I'll let you know if it worked.

Taifun

unread,
Mar 25, 2017, 8:33:29 PM3/25/17
to MIT App Inventor Forum
So for 1 does the arrow mean I should put it under the "add items to list" block and for 3 are you saying that I should have it call limit range or that a shouldn't?
yes exactly, see also the updated project in my latest answer
Taifun

Ryan McCarthy

unread,
Mar 27, 2017, 1:35:22 PM3/27/17
to MIT App Inventor Forum
It worked, Thank you.
Reply all
Reply to author
Forward
0 new messages