<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Android Tutorial 3: Custom Audio Streaming with MediaPlayer</title>
	<atom:link href="http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/</link>
	<description>Know Anywhere</description>
	<lastBuildDate>Wed, 21 Jul 2010 14:23:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: extract audio from video</title>
		<link>http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/#comment-689</link>
		<dc:creator>extract audio from video</dc:creator>
		<pubDate>Sat, 10 Jul 2010 10:01:08 +0000</pubDate>
		<guid isPermaLink="false">http://pocketjourney.wordpress.com/?p=16#comment-689</guid>
		<description>I recommend to look for the answer to your question in google.com</description>
		<content:encoded><![CDATA[<p>I recommend to look for the answer to your question in google.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/#comment-685</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 30 Jun 2010 20:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://pocketjourney.wordpress.com/?p=16#comment-685</guid>
		<description>Thanks, but actually, that threw an exception.

I&#039;m not sure why the source would have made a difference, though.

Anyway, let me briefly explain my setup - how it&#039;s different from yours is that I have an array of &quot;media players&quot; that are in a listview (essentially).  It&#039;s actually an array of StreamingMediaPlayer objects.  Nonetheless, once you get into the actual StreamingMediaPlayer object that is instantiated for the particular row, it should behave no differently than yours (so *I* believe).

Anyway, that&#039;s the situation - the selected &quot;row&quot; streams the file properly, but handler.post(updater) that is fired off in testMediaBuffer APPEARS to never be run - which leads me to believe that I&#039;m not set up properly - somehow my thread from which these posts are being done (handled) is not right.  Why I think this is because of this constructor definition in the API:

public Handler ()
Since: API Level 1

Default constructor associates this handler with the queue for the current thread. If there isn&#039;t one, this handler won&#039;t be able to receive messages.

Any help is GREATLY appreciated.  Stuck in the mud...

Thanks,
Daniel

P.S.  I HAVE read both tutorials...</description>
		<content:encoded><![CDATA[<p>Thanks, but actually, that threw an exception.</p>
<p>I&#8217;m not sure why the source would have made a difference, though.</p>
<p>Anyway, let me briefly explain my setup &#8211; how it&#8217;s different from yours is that I have an array of &#8220;media players&#8221; that are in a listview (essentially).  It&#8217;s actually an array of StreamingMediaPlayer objects.  Nonetheless, once you get into the actual StreamingMediaPlayer object that is instantiated for the particular row, it should behave no differently than yours (so *I* believe).</p>
<p>Anyway, that&#8217;s the situation &#8211; the selected &#8220;row&#8221; streams the file properly, but handler.post(updater) that is fired off in testMediaBuffer APPEARS to never be run &#8211; which leads me to believe that I&#8217;m not set up properly &#8211; somehow my thread from which these posts are being done (handled) is not right.  Why I think this is because of this constructor definition in the API:</p>
<p>public Handler ()<br />
Since: API Level 1</p>
<p>Default constructor associates this handler with the queue for the current thread. If there isn&#8217;t one, this handler won&#8217;t be able to receive messages.</p>
<p>Any help is GREATLY appreciated.  Stuck in the mud&#8230;</p>
<p>Thanks,<br />
Daniel</p>
<p>P.S.  I HAVE read both tutorials&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/#comment-684</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 30 Jun 2010 20:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://pocketjourney.wordpress.com/?p=16#comment-684</guid>
		<description>Uh, wow.  Thanks for you quick reply!

I changed the handler.post calls to kicking off new threads, and, WHEW, that really made for interesting results...  Don&#039;t know what I&#039;m doing wrong.

Thanks - I&#039;ll try it...

Daniel</description>
		<content:encoded><![CDATA[<p>Uh, wow.  Thanks for you quick reply!</p>
<p>I changed the handler.post calls to kicking off new threads, and, WHEW, that really made for interesting results&#8230;  Don&#8217;t know what I&#8217;m doing wrong.</p>
<p>Thanks &#8211; I&#8217;ll try it&#8230;</p>
<p>Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Biosopher</title>
		<link>http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/#comment-683</link>
		<dc:creator>Biosopher</dc:creator>
		<pubDate>Wed, 30 Jun 2010 19:39:49 +0000</pubDate>
		<guid isPermaLink="false">http://pocketjourney.wordpress.com/?p=16#comment-683</guid>
		<description>Try streaming this file: http://www.pocketjourney.com/downloads/pj/video/famous.3gp</description>
		<content:encoded><![CDATA[<p>Try streaming this file: <a href="http://www.pocketjourney.com/downloads/pj/video/famous.3gp" rel="nofollow">http://www.pocketjourney.com/downloads/pj/video/famous.3gp</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/#comment-681</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 30 Jun 2010 19:20:15 +0000</pubDate>
		<guid isPermaLink="false">http://pocketjourney.wordpress.com/?p=16#comment-681</guid>
		<description>Hey, there.

Great tutorial.  I&#039;ve implemented it, however, and it&#039;s not working properly.

I&#039;m using Eclipse, and I&#039;m stepping through the code with the debugger, and it appears as though once the download thread is started, none of the code that&#039;s supposed to be handled by the handler is being handled.  I&#039;m sure it&#039;s something I&#039;ve done wrong.

Was there something special that I was supposed to do to ensure that the message handler thread exists?  Getting VERY frustrated...

Thanks,
Daniel</description>
		<content:encoded><![CDATA[<p>Hey, there.</p>
<p>Great tutorial.  I&#8217;ve implemented it, however, and it&#8217;s not working properly.</p>
<p>I&#8217;m using Eclipse, and I&#8217;m stepping through the code with the debugger, and it appears as though once the download thread is started, none of the code that&#8217;s supposed to be handled by the handler is being handled.  I&#8217;m sure it&#8217;s something I&#8217;ve done wrong.</p>
<p>Was there something special that I was supposed to do to ensure that the message handler thread exists?  Getting VERY frustrated&#8230;</p>
<p>Thanks,<br />
Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Biosopher</title>
		<link>http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/#comment-678</link>
		<dc:creator>Biosopher</dc:creator>
		<pubDate>Fri, 25 Jun 2010 07:16:42 +0000</pubDate>
		<guid isPermaLink="false">http://pocketjourney.wordpress.com/?p=16#comment-678</guid>
		<description>The code works in the emulator.</description>
		<content:encoded><![CDATA[<p>The code works in the emulator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jubin</title>
		<link>http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/#comment-677</link>
		<dc:creator>jubin</dc:creator>
		<pubDate>Fri, 25 Jun 2010 07:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://pocketjourney.wordpress.com/?p=16#comment-677</guid>
		<description>Hi,

I have used this code but it is not streaming audio.Will this code work on android emulator.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have used this code but it is not streaming audio.Will this code work on android emulator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Biosopher</title>
		<link>http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/#comment-674</link>
		<dc:creator>Biosopher</dc:creator>
		<pubDate>Wed, 16 Jun 2010 14:04:33 +0000</pubDate>
		<guid isPermaLink="false">http://pocketjourney.wordpress.com/?p=16#comment-674</guid>
		<description>Sadly I don&#039;t have time to review an entire project.  What lines of code did you change and why did you change them?</description>
		<content:encoded><![CDATA[<p>Sadly I don&#8217;t have time to review an entire project.  What lines of code did you change and why did you change them?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhijeet</title>
		<link>http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/#comment-673</link>
		<dc:creator>Abhijeet</dc:creator>
		<pubDate>Wed, 16 Jun 2010 07:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://pocketjourney.wordpress.com/?p=16#comment-673</guid>
		<description>hi Biospher ,

yes I have changed the code , I have posted it already . If you don&#039;t mind can you please send me your email id , I will send you the complete project of mine.My email id is abhijeetpatna2008@gmail.com

I am using android 2.1</description>
		<content:encoded><![CDATA[<p>hi Biospher ,</p>
<p>yes I have changed the code , I have posted it already . If you don&#8217;t mind can you please send me your email id , I will send you the complete project of mine.My email id is <a href="mailto:abhijeetpatna2008@gmail.com">abhijeetpatna2008@gmail.com</a></p>
<p>I am using android 2.1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Biosopher</title>
		<link>http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/#comment-672</link>
		<dc:creator>Biosopher</dc:creator>
		<pubDate>Wed, 16 Jun 2010 02:47:13 +0000</pubDate>
		<guid isPermaLink="false">http://pocketjourney.wordpress.com/?p=16#comment-672</guid>
		<description>Thanks Tiger.

Hi Abhijeet,

Did you change Android&#039;s VideoPlayer demo code at all or did you simply plug-in the URL for my video file?

What version of Android are you using?</description>
		<content:encoded><![CDATA[<p>Thanks Tiger.</p>
<p>Hi Abhijeet,</p>
<p>Did you change Android&#8217;s VideoPlayer demo code at all or did you simply plug-in the URL for my video file?</p>
<p>What version of Android are you using?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
