1. Check out our companion app, Forums for Android! Download from Google Play

Need a code to play swf local file in froyo?

Discussion in 'Android Apps & Games' started by arsalanansari, Jun 30, 2010.

  1. arsalanansari

    arsalanansari New Member
    Thread Starter
    5

    Jun 30, 2010
    1
    0
    5
    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
     

    Advertisement

  2. xsoulbrothax

    xsoulbrothax Active Member
    16

    Mar 12, 2010
    41
    2
    16
    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.
     

Share This Page

Loading...