[android-developers] How to make a map move as you drive?

2010-10-04 Thread james pruett
Hi,

I want to make a map move.
Q: How best do I make a map move as I drive?

Everything I know about Android maps, I learned from HelloMapView.
http://developer.android.com/guide/tutorials/views/hello-mapview.html

I have all the GPS LocationManager working aok, I just need help in
the map part.

Eg, is there a nudge mechanism?
or something to assist me?

Thanks for any leads!
jim

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

Re: [android-developers] How to make a map move as you drive?

2010-10-04 Thread Mark Murphy
Call getController().setCenter() periodically (e.g., on each location update).

On Mon, Oct 4, 2010 at 1:01 PM, james pruett gpscru...@gmail.com wrote:
 Hi,

 I want to make a map move.
 Q: How best do I make a map move as I drive?

 Everything I know about Android maps, I learned from HelloMapView.
 http://developer.android.com/guide/tutorials/views/hello-mapview.html

 I have all the GPS LocationManager working aok, I just need help in
 the map part.

 Eg, is there a nudge mechanism?
 or something to assist me?

 Thanks for any leads!
 jim

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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

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


Re: [android-developers] How to make a map move as you drive?

2010-10-04 Thread james pruett
Perfect. Thanks Mark!

On Mon, Oct 4, 2010 at 12:06 PM, Mark Murphy mmur...@commonsware.comwrote:

 Call getController().setCenter() periodically (e.g., on each location
 update).

 On Mon, Oct 4, 2010 at 1:01 PM, james pruett gpscru...@gmail.com wrote:
  Hi,
 
  I want to make a map move.
  Q: How best do I make a map move as I drive?
 
  Everything I know about Android maps, I learned from HelloMapView.
  http://developer.android.com/guide/tutorials/views/hello-mapview.html
 
  I have all the GPS LocationManager working aok, I just need help in
  the map part.
 
  Eg, is there a nudge mechanism?
  or something to assist me?
 
  Thanks for any leads!
  jim
 
  --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en



 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training...At Your Office: http://commonsware.com/training

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

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

Re: [android-developers] How to make a map move as you drive?

2010-10-04 Thread TreKing
On Mon, Oct 4, 2010 at 12:01 PM, james pruett gpscru...@gmail.com wrote:

 Q: How best do I make a map move as I drive?


http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MapController.html

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

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

Re: [android-developers] How to make a map move as you drive?

2010-10-04 Thread james pruett
thanks TrekKing. As far as my-overlays, I guess I just do some box-math to
see what new overlays I must add each time...  -jim

On Mon, Oct 4, 2010 at 12:05 PM, TreKing treking...@gmail.com wrote:

 On Mon, Oct 4, 2010 at 12:01 PM, james pruett gpscru...@gmail.com wrote:

 Q: How best do I make a map move as I drive?



 http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MapController.html


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


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