MapView on load

by David Foelber » Tue, 26 Aug 2008 03:12:07 GMT

Sponsored Links
 Hi all,

Is there a function callback for when the MapView is fully loaded
(tiles, etc), or when the projection class is valid? The problem I'm
having is that I'm loading an overlay apparently too early and it's
crashing the application when it tries to access the view's projection
class in onDraw().

Or maybe there is a way to check the projection class's validity?


MapView on load

by David Foelber » Tue, 26 Aug 2008 03:33:36 GMT

 Apologies, error in my code :D


Sponsored Links

Other Threads

1. Exception: WakeLock finalized while still held

Hi all,

I'm seeing the following error intermittently when testing my app:
01-20 23:56:52.794: DEBUG/dalvikvm(25525): GC freed 1616 objects /
94232 bytes in 87ms
01-20 23:56:52.874: ERROR/AndroidRuntime(25525): java.lang.Exception:
WakeLock finalized while still held: App Name
01-20 23:56:52.874: ERROR/AndroidRuntime(25525):     at
01-20 23:56:52.874: ERROR/AndroidRuntime(25525):     at Method)

It looks like GC is cleaning my context while it is holding the
WakeLock, I'm using a static class to manage the wakelocks, how can I
ensure the context that holds the wakelock does not get GC'd?



2. Android Development Phone Setup - Vodafone India

You can skip the initial setup by connecting the phone to PC via USB and
then type :

# adb shell "echo app.setupwizard.disable=1 > /data/local.prop"
# adb shell reboot

Register later when you are connect to a WiFi network.



3. Share data between tabbed intents

4. Replace the current view by an other view

5. After the ADT 0.9 update, Eclipse can not create automatically

6. Exposing build-time-configurable aspects

7. displaying progressbar