I am using a Raspberry Pi Zero W. I have succeeded in connecting the Pi to my Android Device on startup of Pi. Then I turn on Internet Sharing to make sure my Pi has an internet connection. I want to make an application which can receive data from Android Device and run preexisting scripts based on it without using ssh, if possible.
I normally use Juice SSH on my android phone to run scripts on the Pi but that involves manual work like finding and executing the script which I do not want my user to do.
The script I want to run is a Google Directions Python Script. I have the script ready, it just takes input of Origin and Destination from the user. After that it fetches the Direction Response and starts showing instructions on a screen connected to the Pi.
TLDR: I would like to know a way to initiate a python script on a Raspberry Pi from an Android Device connected via Bluetooth. Do I need to make a server? Is it possible using Firebase?