I followed this tutorial https://varunmishra.com/teaching/cs65/http-volley/
to create simple Flask server backend and Android app to interact with it over HTTP REST