Detect Google map moving

by Kč°©roly Holczhauser » Sat, 05 Jun 2010 06:38:53 GMT

Sponsored Links
 Hi all !

  I have a google map included on my phone. I would like to ask, how can I
detect the user has pointed the screen and he/she moved a map away from the
current location ?
 I'm going to make a navigation system witch always following the user's
icon on the map as he/she is moving, but he/she touch the screen and move
the map away  I would like to stop the automatic tracking service:)

 I need some event, what I should listen or something like that:) or any
good idea.
  Please, help me I you can, Thx : Karoly


Detect Google map moving

by TreKing » Mon, 07 Jun 2010 22:09:18 GMT

 2010/6/4 Kroly Holczhauser <>

Have you looked at the Maps API documentation? There are various methods
that indicate a touch, key press, or tap on the screen has occurred.

TreKing - Chicago transit tracking app for Android-powered devices 


Sponsored Links

Other Threads

1. ListView - Row Background Animation

Back when I originally wrote my app, I thought I could use some tricks
with TransitionDrawable to briefly highlight some rows in a ListView.
However, when I actually implemented this (a fading background), the
background would jump from item to item randomly.

As my knowledge of Android has progressed, I've learned why this no
longer works: the ListView uses optimizations and actually shuffles
rows around, so the row that I may have originally told to animate
ends up placed in a different spot by the time the ListView is

My question is whether there's a solution to this problem.  I've
thought of using a different view type, but that would only work if I
can turn *off* the view type for that row at the right time; since I'm
using a TransitionDrawable, there's no way for me (right now) to mark
once the animation is done.

Does anyone have any ideas on how to make a temporary fading
background on particular rows in a ListView?


2. Android Gallery scroll lag

Dear All,

I met a problem.

I want a background image, and the gallery size is the screen size.
But, that will lead the gallery scroll lag.

Anybody know how to solve it?

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="
    android:background="@drawable/main_list_bg"  ======> background

                    android:layout_width="fill_parent"  ======> full screen
                    android:layout_height="fill_parent" =======> full screen



3. setTraficClass() not working in Linux platform

4. Using Multiple Activities

5. Positioning a SlidingDrawer

6. How to save in SIM from an Android Application?

7. enable/dissable fullscreen for lifetime of the app?