tags:

views:

9

answers:

0

Hi Folks,

I have read that recent version of Android(2.2) supports Adobe flash(10.1) files(.swf), bascially i want to open swf file in android emulator using through eclipse for development purpose. I have seen some coding on internet to open swg file(like shown below) but unable to open so.

ComponentName toLaunch = new ComponentName("com.flash.common","com.flash.common.TestFlash"); if(toLaunch != null) { File file = new File("/common/Canon.swf"); Intent i = new Intent(Intent.ACTION_VIEW); i.setData(Uri.fromFile(file)); i.putExtra("play", "/common/Canon.swf"); i.setComponent(toLaunch);

startActivity(i);

After opening that file i want to use some links on that file.

Could any one give me answer about the above question? Please help.

related questions