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

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


Sponsored Links
 Hi.

I am maintaining a streaming music player, and I'm running into a
similar problem as  
 http://www.last.fm/group/Last.fm +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,
Henrik

--



Other Threads

1. Milestone XT720 reboot terus pake simPATI

Selamat siang,

Selama ini saya pakai kartu Matrix di MilestoneXT720 saya.
Karena ingin mencoba compare, saya beli perdana simPATI.
Setelah sim card saya masukin, Milestone gak mau startup dan bolak balik
logpo StarHub dan logo M terus.
Kemudian saya matiin, masukin sim card Matrix ternyata bisa startup normal.
Tapi saat saya masukin sim card simPATI, restart terus lagi.

Mohon masukan, kira2 kenapa ya ?
Terima kasih.

Rgds,
Andika

-- 
"Indonesian Android Community [id-android]" 

2. Sending a String over Bluetooth

Hi All,


I am trying to establish a server (J2SE) and client (Android). The
client will send a string over to the server over Bluetooth.

For Android the code snippet is as below:

  BluetoothAdapter adapter = null;
  adapter = BluetoothAdapter.getDefaultAdapter();
  BluetoothDevice device = adapter.getRemoteDevice(address);
  //I have hardcode the server bluetooth mac address
  adpter.enable();

  BluetoothSocket socket = null;
  socket = device.createRfcommSocketToServiceRecord(MY_UUID);
  socket.connect();
  sendMessage(socket, "Hello Bluetooth");
  //sendMessage is just a method I have created

For the J2SE there is no BluetoothSocket (or is there?) I used
StreamConnection. The code snippet is as below:

StreamConnectionNotifier con = (StreamConnectionNotifier)
Connector.open("btspp://localhost:"+UUID
+name=example;authorise=false");
StreamConnection Strconn = con.acceptAndOpen();
InputStream input = conn.openInputStream();
System.out.println(input);
input.close();
conn.close();

I am not sure whether an Android app can send a string over to a J2SE
application by Bluetooth. Could not find any reference online. Is it
possible?

If possible is what I am doing above the correct method? Because I
receive nothing over at the server side (J2SE). I not sure is it
because I am using BluetoothSocket in android and StreamConnection for
J2SE. Is it?

Thanks In Advance,
Perumal

-- 

3. vendor\google Apk

4. Kompetisi Ide Aplikasi Untuk Acer Liquid E

5. an experiment in open development: Vdroid

6. listview....want to set different icon in each item in list.

7. Psx4Droid!!