- Home /
Android Require Wifi to play?
Hey guys, I'm wondering how I can make a MANDATORY requirement to be on Wifi to play my game. I'm not getting all into what kind of game I am making, I just want to know if this is possible? Last thing I want is my customers data plans getting eaten up in an hour LOL.
Answer by Joe_User · Nov 13, 2014 at 08:00 PM
Here's a quick answer: yes, it's possible. :-)
You may get a more informative answer (and I hope to update mine when I'm at my workstation), but here's one way that would work:
You can compile your game to an Android project. This link (scroll to "Using Java Plugins") explains how to expose your Java code to your Unity scripts. Then look at this posting that talks about checking the Wi-Fi status.
I hope this is a useful start! :-)
Thanks buddy! I'm looking into it now. Hope it's not to complicated, you wouldn't think so lol. But thanks again! I'm checking it out now.
Excellent!
Feel free to vote up my answer. I need the points on here. ;-)
Heh I will (if it's correct)... I want to make sure it's 100% correct before Upvoting, don't want to make false stuff the correct answer LOL.
(No offense) lol. Just want to make sure it's right. Can't stand it when I find an answer to a problem and it's WRONG lol.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Android Native Plugin (NOT WORKING) 1 Answer
Unity3d Controls Not Working Win8 0 Answers
Help Understanding the Use of Unity with Android 1 Answer
Instantiate then access component(s) 2 Answers