Too Long; Didn't Read
Using ‘Flask’ we can send our data from Android to Flask server via REST API calls and do the python related processing inside the flask server and get the output back to our android app via REST API calls. The REST API will work on those requests and send you the data as http response. The ‘Send Post Request’ button sends a ‘POST’ request to the server with user’s name entered on the server. The response you receive will be displayed on the bottom text view.