Embed SWF file to android splash screen - android

I have a swf file that has sound. I would like to embed the file to my App as a splash screen? What would be the best solution?
Like convert it to a video put there or any other solution?
Thanks!

With swf file, you can:
Using Webview to load file (be sure device support Flash)
Or convert to video (ex: mp4,..) to embed in your activity (recommend)
Media supported: https://developer.android.com/guide/topics/media/media-formats.html

Related

Can It play flash files on Android?

The Android supports flash files?
How I can integrate this?
WebView??
Integrate with some tool of Adobe??
The idea is have local flash files and play that inside of my application.
Short Answer:
Yes, you can play flash files in android app using just a Webview.
Long Answer:
You have to create an html file with embedded swf file. See sample here http://pastebin.com/BYrfKmea
After that You can put html and swf files in assets folder and try opening it in a WebView by
mWebView.loadUrl("file:///android_asset/player.html");.
This thread also might be useful.

Android: playing video in Webview using HTML 5

I wanted to play video in webview using html page. i created html page and kept in asset folder and video are stored in sdcard.
Thanks in advance.
see https://gist.github.com/3718414 for a sample which plays video in a webview. It shows how to either reference the HTML as a URL or assemble it inline.
you will need to make sure that you also take note of the permissions mentioned in the comments

Embedded video inside of Android media player

I have an application that I want to play a video in. I want to play the video from an embed code via html5 in an iframe. Is it possible to call the androids stock video player to play the video from the iframe embed code?
I fixed this by putting my embed code in an html file inside the assets folder. works greate.

HTML embeded in android

i have try to load swf in android.i use this :
but,i think that this is recommend to store SDCARD first and trying to display?
my question is, my point of view is correct or wrong?
i have try by android_asset but not get success.
First of all, I think you should use webview control to load SWF file. (if you have not done above).
Using webview, You can load swf file in any of following way,
Android Asset.
From SD Card.
URL from web.

How to play flv video in android?

I want to display my FLV video in emulator. Anybody who have already work on this?
Basically I need to play video from particular URL and assets folder. So just help on this topic.
You can play a FLV video using the flash plugin inside a WebView. See here.
Hope this will help you.
Edit:
These are done using Action Scripts.
Call the Action Script
Play flv using Action Script
flv programming
Also this
There is a workaround which will also allow you to play from a local asset resource, please read my answer to this similar question for a full solution:
Problem to load flv video in webview
I used flv.js in the webpage to make the html support flv video file without flash. Then use XWalkView something like webview in android studio to load the webpage. Use WWalkView..

Categories

Resources