Hi,
I have a basic Google Maps app within which I'd like to show some
dynamically generated KML from a server. So I use an intent and a Uri
like this:
                 Intent mapIntent = new Intent(Intent.ACTION_VIEW);
                 Uri uri = Uri.parse("geo:0,0?q=http://www.example.com/
dynamic.kml");
                 mapIntent.setData(uri);
                 startActivity(Intent.createChooser(mapIntent, "Sample
Map"));

And it works fine. But what I would like to do is to poll the server
at regular intervals to get the latest data. How do I go about
"refreshing" activity so it reconnects to the server?

I've created a thread that periodically calls the code above, but it
only updates the first time.

-JD

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to