H hackhack Active Member Licensed User Longtime User Jun 30, 2011 #1 I have an swf file on the device (like so "file.swf") - if I 'click' on this (in a file manager) it launches the Adobe player and it plays fine. Can I somehow trigger this from B4A? Ie, not run in interface or anything, just use the app as a launcher of this file.
I have an swf file on the device (like so "file.swf") - if I 'click' on this (in a file manager) it launches the Adobe player and it plays fine. Can I somehow trigger this from B4A? Ie, not run in interface or anything, just use the app as a launcher of this file.
H hackhack Active Member Licensed User Longtime User Jun 30, 2011 #2 Seems this is how you do it: B4X: Dim Intent1 As Intent Intent1.Initialize(Intent1.ACTION_VIEW,"file:///sdcard/video/filename.swf") intent1.SetType("application/x-shockwave-flash") StartActivity(Intent1) Upvote 0
Seems this is how you do it: B4X: Dim Intent1 As Intent Intent1.Initialize(Intent1.ACTION_VIEW,"file:///sdcard/video/filename.swf") intent1.SetType("application/x-shockwave-flash") StartActivity(Intent1)