[android-developers] Re: MemoryFile to create a file in memory?

2009-03-04 Thread Moto
Thanks for your help! So in respect to this topic if MediaPlayer is reading from a file on a proxy or remote location does it ask for the length of the file? could this length change as time goes by? I assume the server side of the proxy would just continue sending data to the connected client

[android-developers] Re: MemoryFile to create a file in memory?

2009-02-22 Thread oliv yu
Hi Moto, I guess, what Marco means is that you don't really have to worry about the buffer thing. All you need to do is to make your program found the root where stream come from, a specific file, a URL (actually a file in the server) or some devices etc. Then, let the program and OS mind how to

[android-developers] Re: MemoryFile to create a file in memory?

2009-02-21 Thread Moto
the data is generated on the fly you can say since it is being retrieved from a UDP connection using an InputStream. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: MemoryFile to create a file in memory?

2009-02-21 Thread Marco Nelissen
In that case you'll either have to wait for Cupcake, or set up a local http proxy to stream through. On Sat, Feb 21, 2009 at 9:13 AM, Moto medicalsou...@gmail.com wrote: the data is generated on the fly you can say since it is being retrieved from a UDP connection using an InputStream.

[android-developers] Re: MemoryFile to create a file in memory?

2009-02-20 Thread Marco Nelissen
If it's in memory (i.e. RAM), then it is not in the filesystem, and therefore there is no path. What are you trying to do? Where is the data in the MemoryFile coming from, originally? On Fri, Feb 20, 2009 at 3:30 PM, Moto medicalsou...@gmail.com wrote: Hello, Could someone let me know how I

[android-developers] Re: MemoryFile to create a file in memory?

2009-02-20 Thread Moto
Thanks for your reply Marco... I'm trying to somehow trick MediaPlayer into reading a buffer with audio. I'm not too sure how that would playout but at this point I'm trying everything to get audio streaming working --~--~-~--~~~---~--~~ You received this

[android-developers] Re: MemoryFile to create a file in memory?

2009-02-20 Thread Marco Nelissen
OK, but where does the data inside the buffer come from? Are you generating it on the fly, or are you downloading/copying it from somewhere? On Fri, Feb 20, 2009 at 3:57 PM, Moto medicalsou...@gmail.com wrote: Thanks for your reply Marco... I'm trying to somehow trick MediaPlayer into