Does Android support flash? If yes then i need an example code to play a flash file. Wonder if we can play a flash file in WebView?
Waiting for reply
Does Android support flash? If yes then i need an example code to play a flash file. Wonder if we can play a flash file in WebView?
Waiting for reply
I don't believe this is yet possible. I believe the Flash Player 10.1 release is supposed make this possible which is supposed to be released sometime in 2010. I've also heard that FP 10.1 is going to require Android 2.0.
Until Adobe releases 10.1 for Android, your only chance is if you have a HTC terminal. I wrote about it in Running Flash apps on Android/HTC Hero.
The thing is that the player that comes with the Hero is a HTC application, not from Adobe. Also it is not part of the standard Android release.
Actually the HTC Hero is the first Android device with Flash.
Here is my guess at some code to play a flash file:
Intent intent = new Intent();
intent.setAction(android.content.Intent.ACTION_VIEW);
File file = new File("/sdcard/SomeGame.swf");
intent.setDataAndType(Uri.fromFile(file), "flash/*");
startActivity(intent);
Does anyone have update on this topic after 2.2 release?
I'm using Android SDK 2.2 (emulator and eclipse). And launched 'browser' app, and browser to the URL which has flash swf embedded, but I couldn't see it.
Am I missing something??
Thanks in advance. fsustim