I see a couple of issues with your code.

1) The location variable set in the following line does not appear to be
used anywher:

Location location = locationManager.getLastKnownLocation(provider);

2) Are you trying to send an intent to the Maps or Browser app, of handle
the location display yourself? In one place the code has:

startActivity(new Intent(Intent.ACTION_VIEW, uri));

yet in another line, the code goes:

canvas.drawBitmap(bitmap, myScreenCoords.x, myScreenCoords.y, paint);

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to