SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-25-2007, 10:13 PM
UFGrayMatter's Avatar
UFGrayMatter UFGrayMatter is offline
Sage Advanced User
 
Join Date: Aug 2006
Posts: 185
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
Reply With Quote
  #2  
Old 01-26-2007, 12:19 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 02:33 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.