Hi, this is my first time posting here so apologizes if anything is done wrong. I was trying to make an app where on my phone there is a ball that I am able to move around freely, and my second phone also has a ball that moves in sync (or relatively close to in sync) with the first phone. However after some trials I am able to send text over Bluetooth but when I try to send the balls x position to the second phone the controlling phone app crashes. I’ve tried sending the balls position as text and as an integer but nothing seems to help.
To give you an idea of what I’m trying to do is have one phone, held my me controlling a small red ball and the other phone on the ground for my cat to try and get the “laser” controlled by the my phone.
Any help would be appreciated, and apologizes for my grammar.