Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Connect Android devices using Direct WiFi

Hello! I've set up a basic networking project. I'm trying to connect 2 or more devices to each other while they're direct-wifi connected. The devices already find each other if they're on the same network, that much is working as intended.

Is ue4 set up to handle direct wifi connections? what's the expected behavior in this case?

I've googled like crazy trying to find information about this with not much luck. Although i found an answehub post that says direct wifi works, though for me it really doesn't. I have access to android.permission.INTERNET, android.permission.ACCESS_NETWORK_STATE, android.permission.ACCESS_WIFI_STATE, and android.permission.CHANGE_WIFI_STATE. Those are the permissions that i could gather were there ones that needed to be allowed, and they are. If I check the permission using the "check permission" node, they all return true.

In fact, ue seems to only be willing to even look for sessions if the devices is connected to a wifi network. if the only connection is wifi direct, it's fails the same frame.

Is there something else I'm missing?

Thanks for any help.

update: i notices that when the devices are wifi direct connected a network connection for the other devices appears in the wifi list called "direct-devicename".bu man, after like 3 hours googling, for the life of me, no one seems to have any clue as to how to set the password that connection asks for =O i wonder that if i do manage to connect using that network options, will unreal attempt an actual search?

Product Version: UE 4.17
more ▼

asked Aug 09 '17 at 12:21 PM in Everything Else

avatar image

Sargas Evigmae
74 12 17 20

avatar image Sendy50 Apr 12 '19 at 09:38 AM

hey Sargas Evigmae You Solve it using Direct WiFi ??

avatar image Evigmae Apr 12 '19 at 06:28 PM

I ended up giving up a long time ago. But you could probably do it if you're able to implement the appropriate android libraries on the engine, which is way beyond my skill.

avatar image Sendy50 Apr 13 '19 at 05:10 AM

but it possible or not ?

avatar image Evigmae Apr 13 '19 at 05:22 AM

It's an open source C++ engine. anything is possible. you just have to do it yourself. the engine doesn't support it out-of-the-box.

avatar image Sendy50 Apr 13 '19 at 05:49 AM

thank buddy

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question