1. HUGE Androidforums.com UPDATE! Learn what's new (and download the new app!)
    Dismiss Notice

Need a code to play swf local file in froyo?


Last Updated:

  1. arsalanansari

    arsalanansari New Member This Topic's Starter

    Joined:
    Jun 30, 2010
    Messages:
    1
    Likes Received:
    0
    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

    Joined:
    Mar 12, 2010
    Messages:
    41
    Likes Received:
    2
    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...