Java – The best way to play swf files (flash) in my android program?

The best way to play swf files (flash) in my android program?… here is a solution to the problem.

The best way to play swf files (flash) in my android program?

When the user clicks the link, I have to play Flash (SWF) in my program. Which is best? Focus on Android 2.2 and use Adobe Flash Player, or what do you recommend? I’ve tested WebView but can’t play swf in the emulator. HTC has a custom Flash player, but it feels like a limitation.

Some code examples to play SWF in android for as many users as possible?

Solution

Have you considered using Flash instead of Java to create an AIR application for Android? If you have to download and run an external SWF file, this seems to me the path of least resistance. Of course, this requires learning ActionScript, but if you know Java, it’s not that hard.

Related Problems and Solutions