Thanks to your help paul and jim

That have explaine a few new ideas about floats
I think i have managed to narrow the problem down to this
After reading your posts about rounding floats.
So did i start to go thru the code and belive i found the problem!
It seams to be when i use floats to get an integer number that messes things up.
I have always done it like this before and it have worked but seams to be an issue on android.
i do this a couple of times in the raycaster.
newX = player.x +(cos(StartAngle#) * move# )
newY = player.y + (Sin(StartAngle#) * move# )
And when i add the ceil command
so does android and pc show exactly the same distorted grafix.
They look exactly the same!
newX = ceil(player.x +(cos(StartAngle#) * move# ))
newY = ceil(player.y + (Sin(StartAngle#) * move# ))
Both android and pc looks the same now!
newX = ceil(player.x +(cos(StartAngle#) * move# ))
newY = ceil(player.y + (Sin(StartAngle#) * move# ))
I will see if i find an command that does the right rounding on both android and windows.