Android Question Send Data to multiple Devices?

Discussion in 'Android Questions' started by Quillok, Aug 14, 2019.

  1. Quillok

    Quillok Member Licensed User

    Hey,

    is it possible to send data to multiple devices without internet/server connection?

    As far as i know, a blutooth connection is only possible for two devices.

    Is there a possibility if all devices are in the same wifi network? Or maybe without beeing in the same network?
     
  2. emexes

    emexes Well-Known Member Licensed User

    Is it the same data to all devices?

    If all the devices have Bluetooth Low Energy, then you could use this library:

    https://www.b4x.com/android/forum/threads/ble-peripheral.84051/

    to make the sending device a BLE server, and this post:

    https://www.b4x.com/android/forum/threads/ble-peripheral-advertising-data.91842/

    suggests that you can stuff some data into the advertising packets, from where it can be received without each individual receiver having to connect to the server.
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    asales likes this.
  4. MarkusR

    MarkusR Well-Known Member Licensed User

    or via tcp/ip server/client inside the same network.
    app with server socket that listen on any port and the other apps connect by ip and port then you can stream data in both directions.
     
  5. emexes

    emexes Well-Known Member Licensed User

    It'd help to know: What is the intended use? Are the devices going to know each other? Will they be in a location where they can connect to a shared network, or is this gathering going to happen in different and unknown locations?
     
  6. asales

    asales Well-Known Member Licensed User

  7. Erel

    Erel Administrator Staff Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice