All Questions
171 questions
0
votes
1
answer
70
views
What should I use to create an android messenger?
I'm new to Android but I'm trying to figure it out. So I need my app to
Send messages (and other info) to my server
Recieve messages online from server
Recieve notification about new message when app ...
-1
votes
1
answer
65
views
SocketIO Java client not connecting
I am attempting to create a simple connection between a python SocketIO server on repl.it and an Android Java app. When I attempt to connect to the socket nothing is happening.
Client:
Socket socket;
...
1
vote
2
answers
130
views
Cant connect to express server from android app
I have a backend written with express and an app with Java for android.
Background:
I want to create socket communication between the app and the server, but I can't connect to the server from the app....
1
vote
0
answers
109
views
How to play streamed audio thought socketio on Android Device?
I've created a simple voice call app that sends the Microphone input audio to the socket server which is written in Python and gets the audio through socket connection and plays it.
There is a problem ...
1
vote
0
answers
177
views
Get an exact error response from websockets (android)
I am trying to connect to server via websockets.
I was able to reach it via postman, but getting server error each time trying to connect.
I would like to see a response from server. How can I do it?
...
0
votes
1
answer
34
views
Android $CalledFromWrongThreadException error when trying to get string to send to socket.io
I am trying to get a String from an EditText and emit it using socket.io, however, I keep getting the error android.view.ViewRootImpl$CalledFromWrongThreadException whenever this runs.
What I tried:
...
1
vote
1
answer
878
views
I got an issue with 2.1.0 socket version in android
How can make Socket.IO works on android client side
I wrote this code in build.gradle
implementation('io.socket:socket.io-client:2.1.0') {
exclude group: 'org.json', module: 'json'
}
and here's ...
0
votes
2
answers
706
views
Not able to receive acknowledgement from server in socket.io in android kotlin
I successfully make connection between client server but problem is that one of my event chat:enter cannot be acknowledge from server in android and it is working fine in frontend , just problem in ...
0
votes
1
answer
164
views
Java.net.ConnectException:Connection refused, All Android Browsers wont connect to (https://t.co|https://g.co etc) links
Hello I'm running Android 7.0 Nougat sdk 24 rooted and I'm having issues with all browsers connecting to https://t.co links from Twitter. I have used Android Studio logcat with the browsers and have ...
0
votes
1
answer
231
views
I keep getting 404 error in socket.io connection
I am trying to connect my android app to NodeJS server.
ANDROID PART
First I include the Socket.io library to my dependency
implementation('io.socket:socket.io-client:2.0.0') {
exclude group: 'org....
0
votes
1
answer
192
views
Java socket io client fail to connect to socket io nodejs server
I am using v4 of socket-io nodejs server. I am using v2 of java socket-io client.
private val uri: URI = URI.create("MY_URL")
private val options: IO.Options = IO.Options.builder() // IO ...
0
votes
0
answers
296
views
Android Java Socket Io Emitter can't send message
For a few days I've been trying to get the socket.io chat example to work from here. First I tried it by typing everything myself. But it didn't work. Every time i get this error.
Attempt to invoke ...
0
votes
1
answer
637
views
How can i read text from socket Kotlin/Android?
I will say right away that I started to study Kotlin recently, and I just want to rewrite one program, and therefore I took up this
I want to read the text received from the incoming stream, but as a ...
1
vote
1
answer
2k
views
How can WebRTC reconnect to the same peer after internet disconnect?
I am working on a peer-to-peer Video call system based on WebRTC in android. my problem is I have no ideas how to reconnect video call when internet disconnect or switch from a network to other ...
7
votes
0
answers
339
views
Building a Wear OS app and getting io.socket.engineio.client.EngineIOException: xhr poll error, although ng rok manages to make it work
EDIT: For the solution, scroll down to the end of this post!
I have built a Socket IO + node.js chat application which works seamlessly using a web client. I can use the external IPv4 IP address to ...