How to get WiFi-Signal Strength with Unity engine and C# on Android? - c#

I need the WiFi strength of nearly access points to triangulate the position of the Android device user and show him the part of the building, he is located at the moment. It's for a location based game for new students at my university. There are easy ways with Java or Xamarin and C#, but i couldn't find a way to solve the problem using the Unity engine and C#. It there a way to get it?
I have a complete Android solution in Java from a fellow student and i tried to use AndroidJavaObjects to use that in my program, but without success. It seems to be too complex for that. Are there maybe other ways to use that Java Android code in Unity?
Thanks in advance for the help.

Related

Unity-How to play different sounds in different output devices

In the game I'm developing using Unity, I want some of the sounds come out from headphones, others from speakers. After some googling I found one way to implement this is to use NAudio, with which I wrote a c# program, tested it on a PC with two soundcards, and it works. However, I had difficulty using naudio in Unity - it's a Nuget package and I didn't manage to get it installed in Unity(tried asking there but no viable solutions yet:How to use Naudio in Unity).
Could someone help me on how to indicate different output devices for each audio in Unity, or any other workaround to make some sound come out from headphone, others from speakers? Thanks in advance!

Is it possible to use Voicemod API or Morphvox API with Unity?

I'm a french student in game programming and I'm trying to find a way to apply filter/voice changer on the mic.
I'm making an multiplayer online video game with Unity, players in a game can talk to each other (using Vivox) and i would like to apply a voice changer to a player at some moments in the game (for immersion purposes).
I found online that Voicemod has an API but I can't find any information regarding this. (I'm don't know if Morphvox even has an API)
So, is there a way to change players voices directly via Unity C# scripts with any of those too apps?
I'm sorry in advance for any possible english mistakes and thanks in advance!

Are there any resources that show the implementation of a webcam as a windows application for AR foundation or Vuforia?

I am trying to connect a webcam into Unity and track faces. This is for placing 3d models such as "vtuber" faces or a whole character body as an AR implementation into the webcam. I don't necessarily want to use it for a mobile app (it is made to be used in Windows). Btw I am not good at C# scripting myself. Are there any guides or tutorials that can help me understand how it is done? Hope you understood what I am getting at. Any help is appreciated!

Scanning for Bluetooth in Unity

I am trying to make a app in Unity and I am struggling to find any good resources on how to scan for Bluetooth (BLE) device.
Basically all I want to achieve now is to just press a button that calls a function that can scan for devices and list them along with the respective rssi.
I managed to do this in Ionic but it is proving a lot more difficult in Unity. So I am just wondering if someone has managed to do something like this before.
Also, is there a way to integrate a unity app into an ionic project?
Thank you

Calculate Free Disk Space On Ipad / Iphone Using Unity (C#)

I have been looking through a lot of different place to find a way to check how much space a user has on his device.
I am developing a game with Unity (C#) for Ipad and I would like to check how much space is available before writing my save game.
This post seems to be the most popular : How to detect total available/free disk space on the iPhone/iPad device?
Unfortunately this is Objective-C and I am way too noob / junior to use it.
I know there are some API available (U3DXT is one of them), but I can't find a way to convert it or make it work. I am not an engineer, so please excuse me in advance if I don't use the correct words to explain what I'd like to do.
If someone could point me in the right direction or have an existing script in C# I could use. I know that DriveInfo.GetDrives() doesn't work on PC, but I saw somewhere it could be working on Mac (Ipad?). At least I will try it.
Thanks in advance.
Check this for iOS native
https://stackoverflow.com/a/8036586/1031944
and then call this function from unity3d c#
e.g
https://stackoverflow.com/a/9568232/1031944

Categories

Resources