Java bindings: Difference between revisions
Jump to navigation
Jump to search
m JavaBinding moved to Java bindings |
Materthron (talk | contribs) added compile and eclipse integration from README and links to the examples |
||
| Line 1: | Line 1: | ||
For a complete overview about Java binding in VideoLAN goto to the [http://trac.videolan.org/jvlc/ JVLC homepage]. | |||
= Source code = | |||
[http:// | Find the source code at {{file|bindings/java|bindings}} | ||
== Compile == | |||
We use [http://maven.apache.org/ Maven2] as the project management tool. | |||
Take a look at the website to download and for general instructions on how to use it. | |||
To compile the project, run from the bindings/java folder: | |||
mvn install | |||
== Tips and tricks == | |||
=== Eclipse integration === | |||
To import the JVLC project into the eclipse IDE: | |||
mvn eclipse:eclipse | |||
and then import as an existing Java project. | |||
=== Samples === | |||
{{file|bindings/java/samples}} | |||
Is the samples directory with a simple client. | |||
A simple VLC client | |||
{{file|bindings/java|bindings}} | {{file|bindings/java/samples/client/src/main/java/VlcClient.java}} | ||
Display multiple videos | |||
{{file|bindings/java/samples/client/src/main/java/MultipleVideosSample.java}} | |||
A comprehensive JVLC example | |||
{{file|bindings/java/core/src/main/java/org/videolan/jvlc/example/VLCExample.java}} | |||
= OSGi = | = OSGi = | ||
For the use of Java binding under | For the use of Java binding under OSGi go to the [http://vlc4osgi.forge.os4os.org VLC4OSGi Homepage] | ||
[http://vlc4osgi.forge.os4os.org VLC4OSGi Homepage] | |||
[[Category:Bindings]] | [[Category:Bindings]] | ||
Revision as of 00:46, 24 August 2009
For a complete overview about Java binding in VideoLAN goto to the JVLC homepage.
Source code
Find the source code at
- bindings/java (bindings)
Compile
We use Maven2 as the project management tool.
Take a look at the website to download and for general instructions on how to use it.
To compile the project, run from the bindings/java folder:
mvn install
Tips and tricks
Eclipse integration
To import the JVLC project into the eclipse IDE:
mvn eclipse:eclipse
and then import as an existing Java project.
Samples
Is the samples directory with a simple client.
A simple VLC client
Display multiple videos
A comprehensive JVLC example
OSGi
For the use of Java binding under OSGi go to the VLC4OSGi Homepage