Communication between Android and PC

Hello everyone.
The idea is simple: I want to create a little “companion app” for android.
With this app i want to send 2 or 3 variable to my game that runs on PC and read them.
Both application will be made with Unreal Engine,of course.

What do you suggest? Blueprint networking?

Thanks.

Simply put, you should just need to replicate your variables. But, if you are new to networking I highly suggest reading over the documentation. I have 6 months experience total or so with Unreal and I still am finding new things out. The biggest thing to keep in mind is that only the authority can change the value of a replicated variable. If you change it on a client, it will not replicate.

Thanks for the answer.

So basically i can change variables only from the Game on the PC?
Or can i use the Companion App (on Android) as Authority?

Thanks for the help,i’ll give a look at the documentation too!!

Anyone can be authority as far as I know. It can be a dedicated server, it can be the PC, or it can even be the android. Typically the person to host the game is the authority, or the dedicated server.

Also when you say companion app, do you mean a completely different application? Not sure how that would work in that case. May have to look into opening a connection yourself.

My idea is to create two different Unreal Engine Project:
One is the game itself (Created with the engine,runs on pc)
One is the companion app (Created with the engine,runs on android)
The game and the companion are created with the same program (Unreal Engine,of course)
The only thing i want to know is if it’s possible to send via Network a variable from the Android app and read it from the PC Game

Hi

Did you ever get an answer or figure this out? I have the same question as yours:

My idea is to create two different Unreal Engine Project: One is the game itself (Created with the engine,runs on pc) One is the companion app (Created with the engine,runs on android) The game and the companion are created with the same program (Unreal Engine,of course) The only thing i want to know is if it’s possible to send via Network a variable from the Android app and read it from the PC Game

Thanks
LB

I have a realtime shooter game where Android can play against PC, so yes. I have it working where either the PC or Android is the server, and that works.