Intent Video

G
Gui
Iserba

Hello,

I would like to use sendintent to launch video on samsung A40 mobile. I use script menu with this :

sendintent -a "intent:file:///sdcard/download/test.mp4#Intent;type=video;component=com.samsung.android.video;end

It no works and i don't see execution error in SOTI log. If somebody already test it, i appreciate.

Thanks

6 years ago
Android
ANSWERS
G
Gui
6 years ago

I can play video with this line, i just put /mp4 after type=video

sendintent -a "intent:file:///sdcard/download/test.mp4#Intent;type=video/mp4;end"

But i delete component=com.samsung.android.video because it's not works. i can't select wich application open the video.

In my way, i search to play video with the most minimal player and then delete it.

Thanks

 

JS
Jaipaul Singh
2 years ago

sendintent -a "intent:file:///sdcard/Filename.mp4#Intent;type=video/mp4;component=org.videolan.vlc;launchFlags=0x4000000;end"

Please change the component according to your requirement.