Conversation
Not sure if this will work or not. :S
|
Ok, Will need this to be tested as well as an IOS and Win implementation |
FIxed to get the port via the 2nd ":" delimeter.
|
I'm having trouble finding out how to pass the port for SocketRocket. |
|
Reading the documentation I could not find anything specific, but, it is mentioned in the docs that the test server runs on port 9900, so I think it is supported. My gut says we should try manually adding it to the NSURL here https://github.com/NVentimiglia/Websockets.PCL/blob/master/Websockets.Ios/WebsocketConnection.cs#L43 e.g. _client = new WebSocket(new NSUrl(url+":"+port)); If not, lets open a ticket with them. |
|
Hello, How do I compile the project for testing? Under 2015 I tried to do a On 9/1/2016 1:51 PM, Nicholas Ventimiglia wrote:
|
|
what errors ? |
|
Hello, Maybe the image did not show, ill attach it to this message. Kind regards, Josh L. On 9/3/2016 1:15 AM, Nicholas Ventimiglia wrote:
|
|
Sorry here is the image link: |
|
Looks like you are missing a reference, are if referencing to the common library ? |
|
Is there a file called: "Websockets.DroidBridge.BridgeController.cs" that's missing from the source? |
|
Yes, it is imported from the Java Jar file from the binding library. |
|
how do I get the BridgeController file from it? Sorry I'm new to this. |
|
Its a binding library, so it should be generated when that project is built https://developer.xamarin.com/guides/android/advanced_topics/binding-a-java-library/ |
|
Looking at the compile output this error is occurring: |
|
more debug info these are the commands it runs prior to that error: |
|
The error is because it's calling version 24 of the Android SDK build-tools. How do I set it to call version 23 instead? |
|
I got it compiled I had to rename the android sdk 24 to "24~" so it fell back to version 23 when compiling. |
|
Look, I would love to help more. Normally, I would jump on this and try to directly implement the feature. Right now, I cant due to other responsibilities. If you want to continue with this I would suggest reading through the code... CS, Java, and Objective C. Also reading through the frameworks I am using... Xamarin, SocketRocket, and Android Async. I think this might be a little much for someone new to these environments. |
|
I got compiling working fine for the Solution Part. Whats the easiest way to compile Websockets.DroidBridge.jar? I used the command line to compile it to classes then a jar file but it does not work. Do you compile with the iml file as input? edit: |
|
No worries, The Java project is located here. |
|
Why you'd like to handle the port in BridgeController? |
Not sure if this will work or not. :S