If you open the Google maps app, there is a button on the top right of the screen that you can press to center the map on your current location. The button\'s icon then chan
The new Location class already gives you the bearing automatically, why not use it?
Sample code:
private void updateCameraBearing(GoogleMap googleMap, Location myLoc) {
if ( googleMap == null) return;
CameraPosition camPos = CameraPosition
.builder(googleMap.getCameraPosition())
.bearing(myLoc.getBearing())
// if you want to stay centered - then add the line below
.target(new LatLng(myLoc.getLatitude(), myLoc.getLongitude()))
.build();
googleMap.animateCamera(CameraUpdateFactory.newCameraPosition(camPos));
}