Is there Intent API for android developers?

VLC for Android and Chrome OS specific usage questions
trungtrung
New Cone
New Cone
Posts: 3
Joined: 14 Apr 2015 17:00

Is there Intent API for android developers?

Postby trungtrung » 14 Apr 2015 17:03

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,

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Is there Intent API for android developers?

Postby Jean-Baptiste Kempf » 14 Apr 2015 23:16

Yes, there is an API, but it's still evolving, therefore, not documented.

There is a subtitle way, but only for files.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Is there Intent API for android developers?

Postby edwardw » 18 Apr 2015 02:25


trungtrung
New Cone
New Cone
Posts: 3
Joined: 14 Apr 2015 17:00

Re: Is there Intent API for android developers?

Postby trungtrung » 19 Apr 2015 05:24

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.

trungtrung
New Cone
New Cone
Posts: 3
Joined: 14 Apr 2015 17:00

Re: Is there Intent API for android developers?

Postby trungtrung » 19 Apr 2015 05:25

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?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Is there Intent API for android developers?

Postby Jean-Baptiste Kempf » 19 Apr 2015 13:02

In our main application intent
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 16 guests