• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Need a code to play swf local file in froyo?

Hi,

I am so in trouble . Getting no guidedence over net that how to play swf file from sdcard/myswf.swf folder or data/data/package.name/flash/myswf.swf in froyo.

I have froyo in my mobile and adobe flash is installed from market.

But i not knowing, what code i need to write to run this local file in my Webview?

Please reply ASAP and explain with your code.

Thanks,
Arsalan
 
IIRC it's like this (pretty convoluted, but works)

content://com.android.htmlfileprovider/sdcard/myswf.swf

It opens the local SWF file inside the browser. If there's a better way, I'm game. :D I just set a bunch of bookmarks aiming at various SWF files.
 
Back
Top Bottom