<?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/"
		>
<channel>
	<title>Comments on: Flash Development with Android SDK 1.5 Part 2</title>
	<atom:link href="http://www.flashmobileblog.com/2009/08/12/flash-development-with-android-part2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flashmobileblog.com/2009/08/12/flash-development-with-android-part2/</link>
	<description>Mark Doherty - Blog Archive</description>
	<lastBuildDate>Tue, 07 Feb 2012 19:02:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Nik Bhattacharya</title>
		<link>http://www.flashmobileblog.com/2009/08/12/flash-development-with-android-part2/comment-page-1/#comment-4834</link>
		<dc:creator>Nik Bhattacharya</dc:creator>
		<pubDate>Wed, 18 Nov 2009 20:45:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashmobileblog.com/?p=595#comment-4834</guid>
		<description>It is possible to launch the the HTC file browser to list all of the flash files on your SDCard.  Create a generic android project and in the generated class, insert the following code:


Intent flashIntent = new Intent(Intent.ACTION_MAIN);
flashIntent.setClassName(&quot;com.htc.flash&quot;,&quot;com.htc.flash.FlashPlayer&quot;);
startActivity(flashIntent);

Mount your SDCard onto your computer.  Develop your flash app, move it to the SDCard, and relaunch the app.  Voila!  You have the FlashPlayer.  

Right now, I am not able to figure out how to get the FlashPlayer to remain in portrait mode.  It looks like it is getting forced into landscape.  Trying to figure it right right now.  

I have found that there is an Activity called com.htc.flash.SingleViewActivity that is in the com.htc.flash application that possibly has the emdedded flash player running in full screen mode.  Trying to see if I can launch that activity directly using Intent.  I still don&#039;t know what the required Intent.Action is and how it takes the URI of the SDCard flash file as its Data argument.  

Nik Bhattacharya
frog design</description>
		<content:encoded><![CDATA[<p>It is possible to launch the the HTC file browser to list all of the flash files on your SDCard.  Create a generic android project and in the generated class, insert the following code:</p>
<p>Intent flashIntent = new Intent(Intent.ACTION_MAIN);<br />
flashIntent.setClassName(&#8220;com.htc.flash&#8221;,&#8221;com.htc.flash.FlashPlayer&#8221;);<br />
startActivity(flashIntent);</p>
<p>Mount your SDCard onto your computer.  Develop your flash app, move it to the SDCard, and relaunch the app.  Voila!  You have the FlashPlayer.  </p>
<p>Right now, I am not able to figure out how to get the FlashPlayer to remain in portrait mode.  It looks like it is getting forced into landscape.  Trying to figure it right right now.  </p>
<p>I have found that there is an Activity called com.htc.flash.SingleViewActivity that is in the com.htc.flash application that possibly has the emdedded flash player running in full screen mode.  Trying to see if I can launch that activity directly using Intent.  I still don&#8217;t know what the required Intent.Action is and how it takes the URI of the SDCard flash file as its Data argument.  </p>
<p>Nik Bhattacharya<br />
frog design</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HO</title>
		<link>http://www.flashmobileblog.com/2009/08/12/flash-development-with-android-part2/comment-page-1/#comment-4465</link>
		<dc:creator>HO</dc:creator>
		<pubDate>Mon, 05 Oct 2009 16:26:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashmobileblog.com/?p=595#comment-4465</guid>
		<description>Interesting, and was setFlashPlayerEnabled() part of the WebView class?</description>
		<content:encoded><![CDATA[<p>Interesting, and was setFlashPlayerEnabled() part of the WebView class?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jade</title>
		<link>http://www.flashmobileblog.com/2009/08/12/flash-development-with-android-part2/comment-page-1/#comment-4379</link>
		<dc:creator>jade</dc:creator>
		<pubDate>Tue, 15 Sep 2009 10:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashmobileblog.com/?p=595#comment-4379</guid>
		<description>Hi!

My question is, that if I want to create an app, that I publish on Nokia or Windowsmobile devices with Adobe packager, which solution should I use: filepicker or webview?
Are there any differences, like no webconnection in standalone mode etc.</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>My question is, that if I want to create an app, that I publish on Nokia or Windowsmobile devices with Adobe packager, which solution should I use: filepicker or webview?<br />
Are there any differences, like no webconnection in standalone mode etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zarate</title>
		<link>http://www.flashmobileblog.com/2009/08/12/flash-development-with-android-part2/comment-page-1/#comment-4363</link>
		<dc:creator>Zarate</dc:creator>
		<pubDate>Wed, 09 Sep 2009 12:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashmobileblog.com/?p=595#comment-4363</guid>
		<description>Hi!

Nice 2 articles, they are going to be very helpful in the near future : )

For the time being, is it possible to launch the stand alone player installed (reported in Applications as HTC Flash Player) and open a SWF from the SD card?

I&#039;m basically looking for a way to test a Flash app on my Hero.

ta!</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Nice 2 articles, they are going to be very helpful in the near future : )</p>
<p>For the time being, is it possible to launch the stand alone player installed (reported in Applications as HTC Flash Player) and open a SWF from the SD card?</p>
<p>I&#8217;m basically looking for a way to test a Flash app on my Hero.</p>
<p>ta!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Doherty</title>
		<link>http://www.flashmobileblog.com/2009/08/12/flash-development-with-android-part2/comment-page-1/#comment-4150</link>
		<dc:creator>Mark Doherty</dc:creator>
		<pubDate>Mon, 24 Aug 2009 18:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashmobileblog.com/?p=595#comment-4150</guid>
		<description>Hmm, so it doesn&#039;t fail on the device and seems to be calling the function.  However I see the same resulting icon which seems to indicate that the Flash Plugin isn&#039;t active in WebView.

Nice bit of code by the way :-)</description>
		<content:encoded><![CDATA[<p>Hmm, so it doesn&#8217;t fail on the device and seems to be calling the function.  However I see the same resulting icon which seems to indicate that the Flash Plugin isn&#8217;t active in WebView.</p>
<p>Nice bit of code by the way <img src='http://www.flashmobileblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.flashmobileblog.com/2009/08/12/flash-development-with-android-part2/comment-page-1/#comment-4147</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 24 Aug 2009 12:47:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashmobileblog.com/?p=595#comment-4147</guid>
		<description>Okay, looks good. Here&#039;s what I&#039;m seeing.

On the emulator, I&#039;m getting a &#039;Method Not Found&#039; Exception.

On the HTC Hero, I think it is calling the method, but I&#039;m still getting the &#039;missing plugin&#039; icon.</description>
		<content:encoded><![CDATA[<p>Okay, looks good. Here&#8217;s what I&#8217;m seeing.</p>
<p>On the emulator, I&#8217;m getting a &#8216;Method Not Found&#8217; Exception.</p>
<p>On the HTC Hero, I think it is calling the method, but I&#8217;m still getting the &#8216;missing plugin&#8217; icon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.flashmobileblog.com/2009/08/12/flash-development-with-android-part2/comment-page-1/#comment-4146</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 24 Aug 2009 12:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashmobileblog.com/?p=595#comment-4146</guid>
		<description>Here&#039;s some code - let&#039;s see if makes it through okay . . .

mWebView = (WebView) findViewById(R.id.webview);
        
        mWebView.getSettings().setJavaScriptEnabled(true);
        mWebView.getSettings().setAllowFileAccess(true);
        mWebView.getSettings().setPluginsEnabled(true);
        
        //mWebView.getSettings().setPluginsPath(&quot;?????&quot;);
        
        //Try to Call Set Flash Player Enabled
        Boolean[] input={new Boolean(true)};
        try{
        	Class cl=Class.forName(&quot;android.webkit.WebSettings&quot;);
        	Class[] par=new Class[1];
        	par[0]=Boolean.TYPE;
        	Method mthd=cl.getMethod(&quot;setFlashPlayerEnabled&quot;,par);
        	mthd.invoke(mWebView.getSettings(),input);
        	//mWebView.loadUrl(&quot;file:///android_asset/index.html&quot;);
        	mWebView.loadUrl(&quot;http://www.questionwritertracker.com/index.php/quiz/display?id=1634&amp;token=6P3DTKGE&quot;);
        }catch(Exception e){
        	mWebView.loadUrl(&quot;http://www.google.com/&quot;+e.toString());
        }</description>
		<content:encoded><![CDATA[<p>Here&#8217;s some code &#8211; let&#8217;s see if makes it through okay . . .</p>
<p>mWebView = (WebView) findViewById(R.id.webview);</p>
<p>        mWebView.getSettings().setJavaScriptEnabled(true);<br />
        mWebView.getSettings().setAllowFileAccess(true);<br />
        mWebView.getSettings().setPluginsEnabled(true);</p>
<p>        //mWebView.getSettings().setPluginsPath(&#8220;?????&#8221;);</p>
<p>        //Try to Call Set Flash Player Enabled<br />
        Boolean[] input={new Boolean(true)};<br />
        try{<br />
        	Class cl=Class.forName(&#8220;android.webkit.WebSettings&#8221;);<br />
        	Class[] par=new Class[1];<br />
        	par[0]=Boolean.TYPE;<br />
        	Method mthd=cl.getMethod(&#8220;setFlashPlayerEnabled&#8221;,par);<br />
        	mthd.invoke(mWebView.getSettings(),input);<br />
        	//mWebView.loadUrl(&#8220;file:///android_asset/index.html&#8221;);<br />
        	mWebView.loadUrl(&#8220;http://www.questionwritertracker.com/index.php/quiz/display?id=1634&amp;token=6P3DTKGE&#8221;);<br />
        }catch(Exception e){<br />
        	mWebView.loadUrl(&#8220;http://www.google.com/&#8221;+e.toString());<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Doherty</title>
		<link>http://www.flashmobileblog.com/2009/08/12/flash-development-with-android-part2/comment-page-1/#comment-4141</link>
		<dc:creator>Mark Doherty</dc:creator>
		<pubDate>Sun, 23 Aug 2009 15:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashmobileblog.com/?p=595#comment-4141</guid>
		<description>How did you call the setFlashPlayerEnabled method? I believe it&#039;s private/protected?

Java&#039;s reflection API doesn&#039;t work since it was closed in 1.1 :-(</description>
		<content:encoded><![CDATA[<p>How did you call the setFlashPlayerEnabled method? I believe it&#8217;s private/protected?</p>
<p>Java&#8217;s reflection API doesn&#8217;t work since it was closed in 1.1 <img src='http://www.flashmobileblog.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.flashmobileblog.com/2009/08/12/flash-development-with-android-part2/comment-page-1/#comment-4122</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 21 Aug 2009 16:18:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashmobileblog.com/?p=595#comment-4122</guid>
		<description>I&#039;m calling it on the WebSettings object of the webview - apparently it is part of the HTC builds,
http://forum.xda-developers.com/showthread.php?t=521221

It&#039;s not enough on its own though. I&#039;m still getting the &#039;missing plugin&#039; box.</description>
		<content:encoded><![CDATA[<p>I&#8217;m calling it on the WebSettings object of the webview &#8211; apparently it is part of the HTC builds,<br />
<a href="http://forum.xda-developers.com/showthread.php?t=521221" rel="nofollow">http://forum.xda-developers.com/showthread.php?t=521221</a></p>
<p>It&#8217;s not enough on its own though. I&#8217;m still getting the &#8216;missing plugin&#8217; box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Doherty</title>
		<link>http://www.flashmobileblog.com/2009/08/12/flash-development-with-android-part2/comment-page-1/#comment-4119</link>
		<dc:creator>Mark Doherty</dc:creator>
		<pubDate>Fri, 21 Aug 2009 08:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashmobileblog.com/?p=595#comment-4119</guid>
		<description>Interesting, and was setFlashPlayerEnabled() part of the WebView class?</description>
		<content:encoded><![CDATA[<p>Interesting, and was setFlashPlayerEnabled() part of the WebView class?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

