Thursday, March 22, 2012

Re: [android-developers] SWF file

Well, I got this to work if I have something called SWF Player installed:

Intent intent = new Intent(); 
intent.setAction(android.content.Intent.ACTION_VIEW); 
File file = new File("/mnt/sdcard/test.swf"); 

intent.setDataAndType(Uri.fromFile(file) , "application/x-shockwave-flash");
      
startActivity(intent);



On Wednesday, March 21, 2012 8:18:51 PM UTC-7, MagouyaWare wrote:
Have you googled this?  When I did, I came up with this stackoverflow post which should help answer your question.  In the future, maybe do a little homework first... :-)

http://stackoverflow.com/questions/1887758/playing-a-flash-file-in-android
 
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Mar 21, 2012 at 2:43 PM, bob <bob@coolfone.comze.com> wrote:
Does anyone know the easiest way to play back an SWF file on an Android device?

Thank you.

--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment