Connecting to a Remoting SDK Server for Java

(Thomas) #1

Hi everyone,

Currently we have an xcode (obj-c) application that interacts with a pairing service on an windows server.
this works fine, but now the question is how to make that possible with android (java) in Android Studio.
Is there any kind of example available?
On the https://docs.remotingsdk.com/Clients/ page there is an strike-out on the Java part…

What we finally want to archieve is an pairing system with a 4 digit code like the one with xcode.
alternatives are welcome btw.

regards

(marc hoffman) #2

What you’ll want to do is follow steps similar to those explained at https://docs.remotingsdk.com/IDEs/Xcode/ConnectToServer/, to generate the interface file for Java. you can do this in ROServiceImporter (Mac) or in ServiceBuilder (Windows). You can then use the _Intf.java file in your Android Studio project.

Unrelated, you could also consider using Elements (in Fire or VS) for the Android project, as described under https://docs.remotingsdk.com/IDEs/Fire/ConnectToServer/ ;).

(DonaldShimoda) #3

Actual fire release have the button connect disabled. Any other wat to proceed?

(marc hoffman) #4

press Tab. sometimes the text field doesn’t get validated until then.

(DonaldShimoda) #5

Thanks. I try everything but don’t work. Neither works browse for local rodl file (do nothing). Im downloading beta release to test.

(DonaldShimoda) #6

Beta release neither work.

(marc hoffman) #7

Yeah, you’re right. something is completely broken. I’ll investigate and get it fixed fro Friday. :(.

(DonaldShimoda) #8

Thanks!

(marc hoffman) #9

Fixed :wink:

(DonaldShimoda) #10

Great! When plan to release next beta?

(marc hoffman) #11

Friday.

(DonaldShimoda) #12

I test that and now the buttons are enabled, but click do nothing… in both cases. or im ding something very bad or don’t work.

Connect to RODL do nothing

Connect to server fo nothing.

I can see the server rodl on the web as expected

38

(marc hoffman) #13

Hmm, it worked for me after my fixes. Can you open Console.app, then try again and see if it shows any error messages from Fire?

(marc hoffman) #14

Nevermind; did find one more potential problem. fixed. I’ll send you a new build later today…

1 Like
(marc hoffman) #15

Up, shimodadonald@*.com account.

(DonaldShimoda) #16

Connection to the server never works. It gets 15 minutes connecting and hold there. Have no idea why. Connect to RODL works fine. The server is accesible via direct web access.

Bets regards.

(DonaldShimoda) #17

Still can’t make that work.

I have the RODL file partitioned in several RODL files (two by module, one for types and one for services used by the one for types). Seems like fire don’t understand that and files to produce the correct into files needed. Can I send the files to support mail?

(marc hoffman) #18

Anything in Console?

(marc hoffman) #19

Sure, but I’ll need a bit more explanation what the problem is; ideally a project test case that already contains the RODLs, and steps what do do with it that fails.