Questions tagged [android-websocket]

4 questions
1
vote
0 answers

Where to create a MQTT/Socket connection in android?

I am working on an app which receives realtime updates from the server and which will be using MQTT or Socket connection(TBD) to receive the realtime updates from the server. This manager will be responsible for receiving all the realtime updates…
0
votes
1 answer

java.net.MalformedURLException: unknown protocol: ws KTOR android

as stated in documentation I want to create websocket in Server and connect to it from Android my code for Android: class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { …
0
votes
0 answers

Websocket client connection taking some 5 seconds

Some developer has developed Mobile App which sends specific SMS to a remote Websocket server. For many mobiles it's quick enough to connect and send the SMS. However there are a few mobiles where it's taking 5-10 seconds extra to deliver the…
user5858
  • 1,082
  • 4
  • 39
  • 79
0
votes
1 answer

Confirm data sent through socket had been received in the server

I defined the websocket in my android app as below: package com.oryx.geoop import android.content.Context import androidx.lifecycle.MutableLiveData import org.java_websocket.client.WebSocketClient import…
Hasan A Yousef
  • 22,789
  • 24
  • 132
  • 203