Hi everybody, I'm new to the forum so excuse me in advance for anything very stupid I say.
So, I'm supposed to develop a system which should let an arduino board and an android app remotely (not just over wifi but realistically from anywhere), exchanging data.
I've stumbled upon Firebase to read/write data from both sources but I'm not sure it's the right path to follow. Is it gonna serve my purpose or are there any better solutions that I don't know of yet?
Use an ESP8266 based board, such as NodeMCU or WeMOS D1 Mini. Those can connect direct to WiFi, even be WiFi host, making it easy to connect to your phone.
You can make Arduino become a web server and them access it via web browser from anywhere on the word. Data can be exchanged between Arduino and Web browser without reloading webpage by using WebSocket. See more this example