Long startup time for MapActivity derived classes?

by Mark Wyszomierski » Sun, 29 Nov 2009 02:35:44 GMT

Sponsored Links

Does anyone else experience a longer load time for activities derived
from MapActivity vs Activity? In my situation, I have an activity that
can display info in either a list or map format. So my activity looks

   public class MyActivity extends MapActivity {

       private MapView mMap;

       public void onCreate() {

           // allocate MapView only when user chooses to use that
           // mMap = new MapView(...);

      public void goIntoMapMode() {
          if (mMap == null) {
              mMap = new MapView();

I notice that even though I'm not allocating the MapView instance up-
front, there's still  a longer load time for MapActivity than
Activity. If I derive from Activity, the load time of the Activity is
noticeably faster. Any way to speed things up other than separating
into two separate activities?



Other Threads

1. Multiple PDP/APN Support


I see lot of queries related to supporting multiple PDP/APN
connections simultaneously in Android but I haven't seen any definite
reply yet. I am sending this query once again hoping there will be
some updated information from the Android team.

Is Android team already working on supporting multiple PDP/APN
connection? If yes, can we contribute to the development and when is
the planned release? If no, who is the owner for Android Telephony
manager whom we can contact to start working on the design and
contribute to the Android  development.

Wireless Terminals Lab.


2. accessibility tutorial

Hi all,oes anyone know where I can find a tutorial on Talkback (and
the other accessibility features of Android)? I am learning Android
and need to make my applications as accessible as possible. Thanks!

Have a great day,
Alex (msg sent from GMail website)
mehg...@gmail.com; http://www.facebook.com/mehgcap


3. Multiple shapes

4. onContextItemSelected is not working; window already focused warning message

5. RESTful application with Protobufs

6. Android program for utilities .. ( help needed)

7. how to use a Cancel button to clear data in an edittext