Eclipse Mobile Mousw Przewodnik Instalacji Strona 31

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 59
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 30
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.
Przeglądanie stron 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 58 59

Komentarze do niniejszej Instrukcji

Brak uwag