Hey, this example does not seem to work for me on multiple levels.
Primarily within mainActivity m.socket is unresolved, once i make my way around that, thew main activity then does not know how to find io from IO.Options.
I have followed your example exactly as you have written it, i have tried to work my way around it, and regardless of what i do, i am not able to make an instance of an android app connect to a socket.io server.
One thing that isn't really shown here is giving your app permissions to use the internet and access the network state in the Manifest - that would be a good thing to try if you're still having issues
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey, this example does not seem to work for me on multiple levels.
Primarily within mainActivity m.socket is unresolved, once i make my way around that, thew main activity then does not know how to find io from IO.Options.
I have followed your example exactly as you have written it, i have tried to work my way around it, and regardless of what i do, i am not able to make an instance of an android app connect to a socket.io server.
Am i missing something?
One thing that isn't really shown here is giving your app permissions to use the internet and access the network state in the Manifest - that would be a good thing to try if you're still having issues