Page 1 of 1

Is there Intent API for android developers?

Posted: 14 Apr 2015 17:03
by trungtrung
Hi,

I am a developer, I want to use VLC as a video player for my Android app. Is there any public Intent API for me to open a video (with subtitle) in VLC player programmatically? I have search the wiki but could not find any document about this.

Thanks,

Re: Is there Intent API for android developers?

Posted: 14 Apr 2015 23:16
by Jean-Baptiste Kempf
Yes, there is an API, but it's still evolving, therefore, not documented.

There is a subtitle way, but only for files.

Re: Is there Intent API for android developers?

Posted: 18 Apr 2015 02:25
by edwardw

Re: Is there Intent API for android developers?

Posted: 19 Apr 2015 05:24
by trungtrung
Yes, there is an API, but it's still evolving, therefore, not documented.

There is a subtitle way, but only for files.
Hi Jean,

Could you show me the code where I can load the subtitles from files?
Thanks.

Re: Is there Intent API for android developers?

Posted: 19 Apr 2015 05:25
by trungtrung
Hi Edward,

I was able to open video by VLC now, but I don't know how to set the subtitle. I could not found the way to use subtitle in the link you provided, do you have any idea?

Re: Is there Intent API for android developers?

Posted: 19 Apr 2015 13:02
by Jean-Baptiste Kempf
In our main application intent