Pointing to a specific location (compass) using an image instead of drawing
问题 I'm using this code like a compass which point using the arrow to a specific location(Using GPS Values). This code is doing great except i want to replace drawing the arrow by an image of the arrow..but i don't know how. any help please?? @Override public void draw(Canvas canvas) { double angle = calculateAngle(currentLongitude, currentLatitude, targetLongitude, targetLatitude); //Correction; angle-=90; //Correction for azimuth angle-=azimuth; if((getContext() instanceof Activity) && (