|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Help clear something for me...
I want to write some code to access Sage's server similar to the webserver so I can get access to EPG data and use it in an external program that will be used as a "sage remote."
CAN - I write this plugin in C#? Or does it have to be in Java. I have seen the "Integrating .NET" 'how-to' but I think that just left me more confused . many thanks to any help. Ryan |
#2
|
||||
|
||||
In principle you can write the bulk of your plugin in any language you like, using JNI as the glue to hold things together. In practice JNI is kind of a pain to work with and still requires you to have a Java compiler and write a thin Java layer to wrap your JNI code. So I found it simpler to just bite the bullet and learn Java, and I'm a VB guy. C# is much closer to Java to start with, so you shouldn't have much trouble making the transition. The biggest hurdle is learning the tools, which you kind of have to do anyway for JNI. The Java runtime libraries pretty much parallel the .Net Framework in concept and functionality (or the other way round, since Java came first), so coming up to speed there is largely a matter of learning the package names.
And by the way, questions like this on how to write customizations generally go in the Studio forum, even if the question isn't Studio-specific.
__________________
-- Greg |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|