On Sep 4, 11:28 am, scorpio <[EMAIL PROTECTED]> wrote: > just try with this, > > FileInputStream media = new FileInputStream("system/media/ > audio/alarms/Alarm_Classic.ogg"); > > thanks > Nithin M Warier > Actuall a scenario with reading from file just an example. Original task is to receive RTP packets from network, sort them in a right order and play them. But actually MediaPlayer is not able to playback packets from stream. The solution to save packets to disk is VERY SLOW! So that is why I am tring a way with LocalSocket.
--~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---