Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android Multicast can't receive!
Forum Updated to NodeBB v4.3 + New Features

Android Multicast can't receive!

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 988 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    ken_liu
    wrote on last edited by
    #1

    Hi guys:

    I'm new comer, and I want start a project that Android App communicate with Windows PC.
    

    I want to send package to multicast group from PC, and Android App join multicast group and listen the group.

    My platform: Windows 8.1, Qt Creator 3.3.0, Qt 5.4.0(MSVC 2010. 32bit)

    So I use example 「Multicast Receiver Example」、「Multicast Sender Example」, PC start Sender, App start Receiver, but App can't receive any package from multicast.
    I was tried use two phone run receiver and sender example, or two PC, it works, but PC and App works failed.
    But why ?
    I was search a topic, link as below
    http://qt-project.org/forums/viewthread/21081
    and
    https://bugreports.qt-project.org/browse/QTBUG-34111

    That says need to set
    android.permission.ACCESS_NETWORK_STATE
    android.permission.WRITE_EXTERNAL_STORAGE
    android.permission.ACCESS_WIFI_STATE
    android.permission.CHANGE_WIFI_MULTICAST_STATE
    android.permission.INTERNET

    But I don't know how to set it.
    If I set it, can solve my problem ? or other way?

    Thanks everybody read my problem with my poor English....

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved