Tuno wrote:
> Before I expend the time and effort to install Eclipse and the SDKs on
> my desktop, I would like to know whether it will even be possible to
> port my C# application to Java as supported via the Android 2.0 SDK.
> 
> My (Visual Studio) application uses C# WebRequest and
> NetworkCredential objects to login to a secure web site and download a
> pair of large (5 to 8M) mp3 files on a daily basis. Now that I have a
> Droid I would like to give the iPod to my daughter and just use my
> Droid for my audio.
> 
> Does the 2.0 SDK (and Android platform) support streaming binary
> content from a URL the way the C# objects do?

Yes, though you seem to be using terms that I consider to be different
things.

In your second paragraph, you use the term "downloading". For that, in
Android, use either HttpURLConnection or HttpClient to bring down the
MP3 files, at which point you have any number of options for playback.

In your third paragraph, you use the term "streaming". If you truly mean
streaming -- playback in tandem with the download -- MediaPlayer should
be able to handle it.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

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

Reply via email to