Combining Map view and List view

by TreKing » Thu, 05 Aug 2010 07:53:53 GMT

Sponsored Links
 On Wed, Aug 4, 2010 at 5:10 AM, Anders Bromhagen <

I don't know about "best", but you have to have a MapActivity for a MapView.

I think you can have multiple activities within a TabActivity for the
contents, but I don't know about how much control over the tabs you have.
Based on posts I've seen, I don't think it's much.

If you want to smoothly transition between the two and they both represent
the same data, probably in the same activity.

What I would do is try to add a ViewSwitcher (or ViewFlipper?, not sure) to
the MapActivity with the MapView and ListView and use that to switch between
the two.

No, that's a View, you can't load activities into a View.

TreKing <> ; - Chicago
transit tracking app for Android-powered devices


Other Threads

1. I can't link tweeter to my blog

I can install the Twitter icon on my blog but when I click it, not
found.  I adjusted the html code to state my Twitter domain name but
it says that it doesn't exist.  I tried to do a search but it still
says that it doesn't exist even though I see it in my profile.  Once
in my Twitter page, I look at the URL box but it only says,"http://"

What gives?  Thanks.


2. keeping track of time a user is actively using an android app


I am trying to find the best way to keep track of how much time a user spent
on an android application (to report it to a server). I am only interested
in tracking time where the user seems to use the app, so if it's in the
background i shouldn't count that time for example. I did some research and
the only suggestion I found so far is using the onResume() and onPause()
methods of activities to keep track of elapsed time between those 2 calls; I
would probably need to do this in each activity of the application which
doesn't seem to be a very elegant solution. Is there another way, or better
way to keep track of this time?

thanks in advance for the help.



3. Voice Recognition - cannot suppress the visual modal dialogue

4. Fwd: [BlankOn] [OOT] Wauw GPL Kodenya bukan untuk umum, katanya sih, duh ...............

5. Relation between PhoneWindowManager and WindowManager

6. JSON deserialization - MVC Web Service

7. Remotely trigger notifications