[mythtv] how to get and use Java-based UI from mythtv interface

florin baiduc florinbaiduc at gmail.com
Thu Apr 5 12:25:57 UTC 2007


I must have missunderstood his question. If he want to run his own Java
application from within MythTV, that's really simple - just use the EXEC...
but if he wants to program a plugin in Java - now that's a very difficult
task - if he really wants to go through the Java Native Interface...

On 4/5/07, Simon Kenyon <simon at koala.ie> wrote:
>
> Xi Jiarong wrote:
> >
> > :)!
> > Thanks for you! hehe:)
> > My current project is for educational use, it's just about build one
> > media center in our school!
> > Hope to get your instructions.
> > thanks a lot!
> > > First tell us on what project r u working at and then I'll tell you on
> > > how to run external applications from within MythTV :))
> >
> > >> hello, everyone!
> > >> I need to ask for your help about mythtv UI(User Interface);
> > >> Can I use my own UI based on Java through one plugin way, just like
> > that:
> > >> when you choose the plugin button, and then the Java-based UI appear.
> > >> How do you think about this plan? Is it fesible?
> > >> or do you have any other idea about getting and using Java-based UI
> > from
> > >> mythtv interface?
> > >> Any suggestion would be welcom, and many thanks for you!
> > >>
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> >
> for your first project in myth using java would have to be one of the
> hardest things you could do...
>
> anyway, assuming you just want to invoke an external program, that is
> possible with the menu system. read the docs.
> to write a plugin, take one of the simpler ones and use that as a basis.
> mythgallery might be one - but who knows and start hacking.
>
> if you really want to use java in a plugin then you would have to:
>
> 1 - learn how to embed java code within a C++ program
> 2 - create an helloworld in java and get that working within your dummy
> plugin
> 3 - define an interface between myth and the java and then implement
> that interface
> 4 - code your plugin
>
> i would have though that wiring together all this would be a pretty big
> job
> never mind the implementation of the functionality of the plugin
>
> best of luck (and no, i've not done this and don't intend to either)
> --
> simon
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20070405/fc1519a2/attachment.htm 


More information about the mythtv-dev mailing list