Jump to content
The simFlight Network Forums

FSUIPC for Java


Recommended Posts

Hello!

I really like programming in Java, and I'd like to explore more about the FSUIPC and its uses with Java. I am also doing some course work for my Master that could benefit from the interaction between my system and FS. Does anyone use Java to program for the FSUIPC? Even though I like Java, I also like notepad to write it in. I am not familiar with installing all the classes and packages from the Java SDK in the right places. Can someone help me? I have SunOneStudio from Sun installed on my computer. I am not familiar with Ant, but I am sure I can manage to get used to it.

Thanks!

Link to comment
Share on other sites

Welcome to Java.

You'd need to master JNI to interface with FSUIPC, and possibly write a small wrapper in C or C++ to expose the functions you're interested in.

If you're looking for a good editor, take a look at http://www.eclipse.org

Far better than SunOne IMO, and doesn't obscure away the language from you forcing you to learn the tool rather than the language.

Link to comment
Share on other sites

You'd need to master JNI to interface with FSUIPC, and possibly write a small wrapper in C or C++ to expose the functions you're interested in.

There's some stuff for Java in the current FSUIPC SDK (on http://www.schiratti.com/dowson). This was kindly contributed by Mark Burton. I don't know anything about Java, but he says he's provided Java sources for Class-based access to FSUIPC. There's a lot of stuff in the ZIP he provided, including Help in html format.

Regards,

Pete

Link to comment
Share on other sites

Hi,

I've been off line for a while and I'm back now.

In the Java SDK I included a JNI wrapper for FSUIPC, so you dont need to worry about that.

There is also a test java app. I would sugest you follow the instructions and see if you can get the test app to work.

I haven't yet had time to test the java SDK with FS2004, but I will shortly.

Cheers

Mark

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.