Installation guide

31
mapView.getProjection().toPixels(point, screenPoint);
Bitmap bmp BitmapFactory.decodeResource(getResources(),R.drawable.dot);
canvas.drawBitmap(bmp, screenPoint.x, screenPoint.y, paint);
}
Debug the exiting two errors. Change protected void onDraw(Canvas arg0, MapView arg1) as
protected void onDraw(Canvas canvas, MapView arg1). Copy the given dot.png picture into the
folder of res/drawable-ldpi and refresh the project.
Run the Android and use Emulator Control in DDMS to simulate changes of GPS locations.
Hit: Firstly click the Devices to active the emulator.
23. Report
Put some typical screenshots in your report for step of the lab, and give some explanations with
codes. Submit your report not later than Oct 4 in Blida.