Issue
Does anyone happen to know if Google's MapActivity will eat up extra resources if an Activity does not use Google's MapView? The reason I ask it because I'd like to have a base activity class (which would extend MapActivity) for my activities in my application, but I don't want my resources to be eaten up when the user is in an activity that doesn't utilize Google's MapView.
Thanks in advance for any help!
Regards, celestialorb.
Solution
I'd be careful of doing it this way - I'm not sure whether it's smart enough not to do network access etc if there is no MapView present, but the docs state
Only one MapActivity is supported per process. Multiple MapActivities running simultaneously are likely to interfere in unexpected and undesired ways
What is the benefit you gain of your non-map based classes extending MapActivity? It would certainly be very confusing to a reader of your code.
Answered By - I82Much
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.