When I have synchronized with Sphero and I want to pass from one activity to another one, my synchronization is lost, and I have to do in the new activity this method in onCreate to get de synchronism again:
**RobotProvider provider = RobotProvider.getDefaultProvider();
mRobot = provider.findRobot(robot_id);
provider.initiateConnection(robot_id);
provider.control(mRobot);
provider.connectControlledRobots();**
mRobot has the MAC address of Sphero. But it's not good for all times that I try it, I want to keep the bluetooth connection for all application, since I connect for the first time and being able to keep it without synchronize again.
I have seen the official Orbotix application for Sphero and I think is perfect, because syncronization is permanent. Could you help me in this way?