Im not sure of sample code for this, but here is how I would implement
this. You dont necessarily need a map. An image view with a moving
curses could be possible. You would set the location on the cursor in
the image by using GPS location. You can receive lat and lon to your
device. You would then convert those positions to X and Y respectively
on your display. Then every time the location updates the cursor would
move on your map.

On Nov 22, 1:34 pm, sal <[email protected]> wrote:
> Hi Kostya,
>
> Thanks for ur concern.
>
> I dont want precision and reliabilty,
>
> I just want a source code of sample application which lets me draw
> image has a map and allow me to mark the location on the map.
>
> pointer to sample source code would be appreciated
>
> rgds
> Sal
>
> On Nov 20, 3:24 pm, Kostya Vasilyev <[email protected]> wrote:
>
>
>
> > Are you sure you can get high enough precision from GPS to make
> > navigating within an apartment meaningful? Especially considering this
> > is presumably indoors, i.e. with the roof blocking the view?
>
> > Unless, of course, your apartment is the size of Taj Mahal :)
>
> > I'd say - download one of applications that let you monitor GPS state,
> > and see if your phone can provide enough precision and reliability.
>
> > -- Kostya
>
> > 20.11.2010 13:00, suhail ahmed ?????:
>
> > > Hi guys
>
> > > i have a JPEG sketch of my apartment.... i wish to write android app
> > > which loads this JPEG file and behaves as a map to the user so that
> > > user can track is movement.
>
> > > I am really confused wheather JPEG file can be used as a map, if it
> > > can used as a map then please let me know how i can mark the movement
> > > of the user on that map
>
> > > Any sample code would be really appreciated
>
> > > --
> > > 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
>
> > --
> > Kostya Vasilyev -- WiFi Manager + pretty widget 
> > --http://kmansoft.wordpress.com

-- 
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