As indicated by the error message, the required constructor was missing.
public class MapOverlayArea extends Overlay implements TextToSpeech.OnInitListener, OnTouchListener { public MapOverlayArea(Context ctx) { super(ctx); }
Including the constructor as described above and calling it correctly from the main action using
MapOverlayArea mapOverlayArea = new MapOverlayArea(context);
solves the problem.
source share