On 25 apr, 12:08, henrik <henrik.aron...@gmail.com> wrote:
> I have a problem with MediaPlayer on my HTC Hero.  When I set it to
> decrypt & play a local file in the background, it starts skipping
> after a minute or two, even though I have aquired the
> PARTIAL_WAKE_LOCK.  This only happens when the phone is running on
> battery:  I'm unable to reproduce this with the USB cable plugged in.
> In addition, this only happens when I leave the phone to play.  If I'm
> using another app actively, the music never skips.

The weird thing is, the problem goes away if I use
SCREEN_DIM_WAKE_LOCK instead.  But I really don't want to drain my
users' batteries needlessly.

Henrik

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to