-1

is it possible to play .swf file and .flv files in android?? if yes then please provide code for that

shripal
  • 1,220
  • 4
  • 19
  • 40

3 Answers3

0

You can have a look to the docs, but those formats are not supported by "Android", maybe for some Android devices with the Youtube app, or through a WebView with plugins enabled, but it's not something general.

Supported media formats (Official)

Regards.

mdelolmo
  • 6,357
  • 3
  • 39
  • 58
0

FLV is not supported directly, but you can play it using a WebView and flash plugin: http://www.synesthesia.it/playing-flash-flv-videos-in-android-applications

FrancescoR
  • 535
  • 1
  • 4
  • 12
0

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

Community
  • 1
  • 1
Moog
  • 10,114
  • 2
  • 38
  • 66