These are chat archives for dronekit/dronekit-android

2nd
May 2016
Mouli
@MouliKav
May 02 2016 22:28
Hi, When the screen goes into sleep mode, or when I lock the tablet, it automatically disconnects with the drone. I tried to remove the code to disconnect with tower and 3DR services during activity onStop(), but no luck. Is there any other solution for that? I gave this code in onStop() method if(!this.drone.isConnected()){
State vehicleState = this.drone.getAttribute(AttributeType.STATE);
vehicleState.setConnected(true);
vehicleState.setArmed(true);
vehicleState.setFlying(true);
vehicleState.setVehicleMode(VehicleMode.COPTER_AUTO);
}
sankhakarfa
@sankhakarfa
May 02 2016 22:51
Hi I am using the new Tower Android Build from github and using android studio 2.1.0 but after gradle fix i am getting this error "Authentication scheme 'all'(Authentication) is not supported by protocol 'file'" . Any fix because I can't locate the source of this error.