On Wed, Feb 16, 2011 at 9:47 AM, Danielle Murkerson
<[email protected]>wrote:

> Do you know how I would save the state of a MediaPlayer object.


Never used it, so no, not really. However, as it's just extends Object,
you'd have to manage it's state yourself, I would think.
The first option with the two functions you posted is probably the easiest.

Another option would be to create your own MediaPlayer wrapper class that
was Bundle-able or Parcelable and saved the data required to save the media
player state and had the logic to restore it from that same data.

-------------------------------------------------------------------------------------------------
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

Reply via email to