I want to send 2MB wave file via android device and esp8266 real time.And esp8266 is connected to STM32F030 . I used wifi bridge library from this site. I changed BaudRate to 2.4M bit per second . Because Flash and RAM of STM32 is low , I have to send data as 512 byte from ..
Category : sockets
I have a python socket server running, but when I try to connect via my mobile app (written in kotlin) it won’t establish a connection and it gives me the "IllegalStateException" exception. What could be the problem here? Here’s the python code: import socket import threading import command_handler PASSWORD = "abcd" HEADER = 64 PORT ..
I have code to refresh data from server which I need to run even when screen is off. I tried to do this with an isolate: static void isolateFunc(SendPort mainSendPort) async{ String _answer = ""; while(true){ Socket socket = await Socket.connect(ipAddress, port, timeout: Duration(seconds: 5)); socket.add(utf8.encode("connection test")); socket.listen((List<int> event) { _answer = utf8.decode(event); }); socket.close(); ..
How to make a player on android, which would allow synchronously watching videos through one player on different android devices. Coding on Java (Android Studio) Source: Android..
We are trying to make an Android application for a website (without api) that allows you to watch movies synchronously. So, there is a website player in online room with synchronous video playback (if I fast forward 5 minutes, then the other person’s video will fast forward 5 minutes – all user’s actions in videoplayer ..
I have read through a number of different posts and questions, and it seems to me that this should be relatively easy to get right. I managed to send a UDP packet to the correct (address, port) using one socket object but can only read the message using the same socket object. This behaviour can ..
I want to create a game in android and add real time voice chat, googled a lot and couldn’t find a descent example or snippet on how to achieve this! the senders and receivers are both android client over a node js server, i managed to send and receive recorded voice and text chat, but ..
I am creating a test chat application where two android devices are using Wi-Fi to communicate. A connection has been established and I want to use socket programing to send messages between the devices. Does anyone have code on how to create the server and the client? I am using Java in Android Studio Source: ..
I’m trying to connect an Android app using Native Socket.IO to an Express server. The server has a very simple job (currently) of taking incoming traffic on 4200 and sending it back out to other clients so they can display it – although right now I’m just debugging the server and this Android implementation, hoping ..
I am new to react-native & facing a hard time to keep the socket connection alive in the background/killed app. I have started a foreground service to track the user’s location and sending the location every time the location changes through client socket in react-native. When the app is in foreground, every thing works fine ..
Recent Comments