You could save every new location in an arraylist.
To draw lines between these make an overlay! With PROJECTION you can
convert from lon/lat to pixel.  Then you can use
canvas.drawline(originpixel,destinationpixel); in the overlays draw
method.

To save the image i would take a screenshot. there is a topic for
this, simply search for “Screenshot“ in this group.

You could save the image on sdcard and only hold a reference in the
database to where it is. As far as i know this should be faster than
storing it directly in the database. But if you need to use the
database you could try to save it as BLOB (binary large object).

Hope this guides you into the right direction...

>
> I have marked the two points with different markers, now I want to draw the
> direction and capture the image. Can anybody help me figure out how to do
> this?

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

Reply via email to