following several tutorials and examples I came up with the next algorithm to set the camera focus on a specific spot, the problem is that the camera completely ignores the spot
before cameraParameters.setFocusAreas(focusAreas);, you should add this:
cameraParameters.setFocusMode(Camera.Parameters.FOCUS_MODE_AUTO);