network

  1. yo3ggx

    B4J Question Finding local port used by a socket

    I have a tcp connection established to a remote server. How can I find the tcp port used by the local socket? I want to use it for an UDP connection too. Thank you.
  2. M

    iOS Question Access Network Dialog iOS - Wait for answer

    Hi everyone, today I experienced an issue. My app makes some checks online when it starts. But the first time a dialog is prompted asking to the user to allow the app to go on internet. the dialog is not blocking! so my program will still going in the background, failing the checks because it...
  3. B

    Android Question Play file via network

    Hi everyone, i need to play some file (*.mp3/*.mp4) via network, and i found this thread: https://www.b4x.com/android/forum/threads/how-do-i-play-a-music-file-from-a-network-server.28506/#post-165736 where @Erel suggest to download the file with SMB and then play with MediaPlayer; but the thread...
  4. R

    Android Question Unable to access resource from Network path for ExoPlayer

    I am attempting to access a network resource to play using ExoPlayer. The Android test device appears to be able to access my NAS using Astro File Manager without problem. This code (direct copy from the ExoPlayer example) is causing the issue:- player1.Initialize("player") Dim sources As List...
  5. saeed10051

    Android Question B4A B4J communications

    I have used Network library to send data from my B4A app on my mobile to my desktop running a B4J app. A custom data type can be send this way using wifi connection. I need to know which library / method i can use to communicate between my B4A app and B4J app over the internet. I am considering...
  6. KMatle

    Android Example B4a bridge via LAN

    Just bought an Android TV box and I mentioned that you can connect to the bridge via LAN (usually WiFi). Even it shows "Not connected to wireless network" and doesn't show a ip address the internal server listens to any connection so just get to know the LAN address and connect.
  7. W

    Android Question Change Network operator with code

    Hi Please There must be a way to change the network operator on a rooted device. I found this code that use the TelephonyManager to change data state and it is working very nice , but i also need to change the network operator. Sub Process Globals Dim joData As JavaObject End Sub Sub...
  8. J

    Android Question FTP files in a 4G network Not Downloading or Importing

    Hello Good Morning I have a Sales App Developed in b4a, where the vendors of the company have a config file generated in a desktop system transfered to the FTP in model ".CSV", then In the APP the files are downloaded from the FTP and Imported to the system base. but when the vendor uses a 4G...
  9. Waldemar Lima

    Android Question Problem with GmapsLib [official ] With NetworkLib [ Official ]

    hi everyone ! i am creating a application using Gmaps Library [ Official ] working with Network Library [ Official ] but this application bellow sometimes it works and sometimes it does not work . what i am doing wrong ? someone can help me please ? Project size : 7MB Link to download ...
Top