Winona

Singapore

Still a beginner in everything, iOS, android, bada... Java, objective-c, c, c++, c#, python... Help...

Oct
4
awarded Supporter
Oct
4
awarded Autobiographer
Oct
4
awarded Yearling
Sep
29
accepted Java - Read a string of numbers into columns by rows
Sep
24
awarded Autobiographer
Sep
23
answered Java - Read a string of numbers into columns by rows
Sep
23
comment Java - Read a string of numbers into columns by rows
@Durandal I would like to know how to implement the logic so that I could display them correctly on the grid view in the onDraw method
Sep
23
comment Java - Read a string of numbers into columns by rows
@LittleChild yup. that's right.
Sep
23
asked Java - Read a string of numbers into columns by rows
Sep
19
comment Android PixelGrid OnDraw Check/Track Current Position
ok got it. Thanks!! Sorry!! ><
Sep
19
revised Android PixelGrid OnDraw Check/Track Current Position
added moveForward() method codes
Sep
19
comment Android PixelGrid OnDraw Check/Track Current Position
I have added in how i use the move forward method in my code above. that code is to check/uncheck 1 cell. basically, how do I check/uncheck the 2/4 cells? i'm a little lost and confused. :/
Sep
19
comment Android PixelGrid OnDraw Check/Track Current Position
Sorry, another question >< what if my robot occupies 4 grids/spaces at 1 time? and it moves? do i check column/row [0][0], [0][1], [1][0], [1][1]?
Sep
15
comment Android PixelGrid OnDraw Check/Track Current Position
But how do I draw an arrow that shows the direction using the onDraw? Yup, the robot is only going to occupy one space at a time. I have no idea how to get this implemented though. :(
Sep
15
comment Android PixelGrid OnDraw Check/Track Current Position
Yup. I just thought about it as well. is it possible to set an angle tied together with the rectangle?
Sep
15
comment Android PixelGrid OnDraw Check/Track Current Position
sorry for my bad english >< for example in the grid view example you gave, at starting point [0][0], the robot is pointing towards the right, and by moving forward, it is [1][0]. so from there, if i want to move the robot the right, it should turn to face the right, then move forward. I am not sure if you get my question though. >< sorry!
Sep
15
comment Android PixelGrid OnDraw Check/Track Current Position
Yup i am currently keeping track of the checked cell column/row. but it's more of like a robot movement, instead of directly moving to right, it should turn to face right, then move forward.
Sep
15
comment Android PixelGrid OnDraw Check/Track Current Position
Hi Mike, sorry to ask you again. If in the grid view, i want to move right, i would have to turn the current checked cell to right, then move forward, you have any idea how is this possible? Thanks!
Sep
14
accepted Android PixelGrid OnDraw Check/Track Current Position
Sep
14
comment Android PixelGrid OnDraw Check/Track Current Position
Dude, thank you so much! You saved my day!!! using findViewById() and casting PixelGridView works! Thank you!!
1 2 3 4 5