Ok thanks...I do have a question about saving the state of my activities as
I know I will have to do this anyway based on the responses I'm seeing about
orientation changes.

Do you know how I would save the state of a MediaPlayer object...I've seen a
few examples on these sites about saving objects in general:

http://www.eigo.co.uk/Managing-State-in-an-Android-Activity.aspx
http://www.anddev.org/putting_an_object_into_a_bundle-t6431.html

The first one talks about two methods I've never come across before:
onRetainNonConfigurationInstance() and
getLastNonConfigurationInstance()

The second one talks about using a parcelable. The second one seems a bit
involved for just saving the state of an object...I just wonder what your
thoughts are on this.

Thanks,
DanielleM

On Wed, Feb 16, 2011 at 10:38 AM, TreKing <[email protected]> wrote:

> On Wed, Feb 16, 2011 at 8:59 AM, Danielle Murkerson <
> [email protected]> wrote:
>
>> So I guess my question is...is there a better way to get the behavior I
>> want visually along with the behavior I want functionally?
>
>
> Thanks for the detailed explanation. I have not used Tabs, so I can't speak
> much to what you're doing. However, from reading this group, I know Papa
> Murph quite frequently advises against child tab activities and instead
> recommends ONE activity and child tab VIEWS.
>
> So unless someone has a better answer for you, I would look into using one
> activity with the default flags and managing the content shown within it by
> using different views.
>
> Good luck.
>
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" 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-developers?hl=en
>

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

Reply via email to