MediaPlayer stops playing when streaming over 3G on the Nexus One

by henrik » Fri, 23 Apr 2010 16:02:36 GMT

Sponsored Links

I am maintaining a streaming music player, and I'm running into a
similar problem as +Android/forum/114391/_/593575

My player stop after roughly 1-2 minutes, and there are no log
messages except for "I/AudioHardwareQSD( 52): AudioHardware pcm
playback is going to standby" just after the playback stops.

This happens when I run it on the Nexus One over 3G.  It does not
happen over Wifi, and it does not happen on my HTC Hero with android
1.5 over 3G.

Do you guys have any hints on how to debug this? Is it e.g. possible
to monitor the memory available to the media player object?

All help is appreciated :)

Best regards,


Other Threads

1. Mod: Khusus Natal, Jualan 23-25 Desember 2010

Behubung Natal jatuh pada hari Sabtu, 25 Des 2010 bertepatan hari
jualan gadget related id-android, mungkin diantara kita ada yang akan
mudik butuh gadget buat kado Natal atau jual gadget buat THN
(Tunjangan Hari Natal), maka saya mengambil kebijakan {*filter*}tara jualan
dengan aturan/ketentuan:

Kamis, 23 Desember 2010 jualan android related
Jumat, 24 Desember 2010 gadget related (android, ios, bb, winpho,webOS dll)
Sabtu, 25 Desember 2010 gadget related (android, ios, bb, winpho,webOS dll)


Agus Hamonangan


2. SDK api diff?

Hi there,

I've got some changes to the platform that I would like to document in
our internal development build of the Android SDK.

It looks to me as though I should be able to generate the 'api diff'
automatically using tools within the build but I seem to be missing

My setup is as follows (note xx is internal numeric api level version

- frameworks/base/api contains xx.xml (along with xml files for 1-8
from the stock platform) which contains the api changes in the
standard xml format

- frameworks/base/ edited as follows:

framework_docs_LOCAL_DROIDDOC_OPTIONS := \
    -since ./frameworks/base/api/1.xml 1 \
    -since ./frameworks/base/api/2.xml 2 \
    -since ./frameworks/base/api/3.xml 3 \
    -since ./frameworks/base/api/4.xml 4 \
    -since ./frameworks/base/api/5.xml 5 \
    -since ./frameworks/base/api/6.xml 6 \
    -since ./frameworks/base/api/7.xml 7 \
    -since ./frameworks/base/api/8.xml 8 \
    -since ./frameworks/base/api/xx.xml xx \
                -error 1 -error 2 -warning 3 -error 4 -error 6 -error 8 -error 
xx \
                -overview $(LOCAL_PATH)/core/java/overview.html

 That seems to give me the correct api filtering option in the
dropdown at the offline SDK url for docs/reference/packages.html

However, I don't have any content in my output at docs/sdk/api_diff/xx

What do I need to do to generate the content for docs/sdk/api_diff/xx
(and where does it get plugged into the build...)??

Any help is greatly appreciated.


3. Your apps

4. Android Gadget ACM Serial

5. AudioRecorder

6. One more question about screen brightness

7. VpnServices.apk source and how does it work