Question

Hi so I'm currently using MIT App Inventor to create a app and I wanted to...

Hi so I'm currently using MIT App Inventor to create a app and I wanted to know what would be the best way to link it with Python so that when I press a button in the app, a python script will run on my computer (ie something as simple as printing "hello world")

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The best way to link MIT App Inventor to Python is by using an Arduino. Arduino can be used to send or receive the data via bluetooth module HC-05 or HC-06 so what you have to do is connect the App with bluetooth module and on pressing the button on App , send a trigger message using arduino that will enable the python script to run on the computer.

Add a comment
Know the answer?
Add Answer to:
Hi so I'm currently using MIT App Inventor to create a app and I wanted to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Hi, I wanted to know if it is possible to get information from Python and display...

    Hi, I wanted to know if it is possible to get information from Python and display onto a app made using MIT App Inventor. Currently the best solution I thought of is to create a web server using python that MIT App Inventor connects based on the video: "Easy Python tutorial 16: Android-PC communication" from youtube but I don't understand it fully. What would be the best and easiest way to display python data onto a app using MIT App...

  • Hi so I want to run a Python script (in this example it can be something...

    Hi so I want to run a Python script (in this example it can be something as simple as print hello world) when a button on a Python Flask Server is pressed. In other words when I enter the web server, there will be a button and pressing it will launch the python script on my computer. Thank you

  • Hi I'm trying to write a code for a web server in python with flask. This...

    Hi I'm trying to write a code for a web server in python with flask. This is what I have so far from flask import Flask app = Flask(__name__) @app.route('/') #first endpoint i.e. "http://localhost/" def index(): return 'hello' #return data in string if __name__ == '__main__': app.run(debug=True) After running the code, I'm given a address to the web with the text hello. The problem is that this only works with my computer that is running the code. If I try...

  • Hi, I am trying to create a simple android app using spinners. It need not be...

    Hi, I am trying to create a simple android app using spinners. It need not be very complex. The app should allow the user to use a simple spinner to select a team from the following list of teams (Kansas City Chiefs, New England Patriots, New Orleans Saints, and the Los Angeles Rams), once the user selects the team they wish to view, the app should display a small paragraph of information (hardcoded) To the screen for the user to...

  • Hi, I am current using flask to run a python web application that currently just allows...

    Hi, I am current using flask to run a python web application that currently just allows users to access a video camera on a localhost. As of now, I need to type python main.py to actually run the project and turn on the localhost. What I want to do is, be able to click a button in HTML, through google chrome, and just run the webcam like that. To sum it up, I want to click a simple button and...

  • Hi, I studied my textbook, and I'm so embressed about something Cuz, My textbook doesn't have...

    Hi, I studied my textbook, and I'm so embressed about something Cuz, My textbook doesn't have solution about this problum. I want to know how to solve it. ps)I'm foregin student so, write the numbers sharply please. Have a good Day :) Problem Consider the circuit shown in Fig. 1 (a) Qualitatively speaking, what does this circuit do to an ac signal? (b) Make a Bode plot of the amplitude ratio le1leil. (c) Add a Bode plot of the amplitude...

  • I am trying to create a slide show using JavaScript. This is what I have so...

    I am trying to create a slide show using JavaScript. This is what I have so far: HTML: <!DOCTYPE html> <html lang="en"> <head>    <meta charset="utf-8"> <title>Slide Show</title> <link rel="stylesheet" href="main.css"> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script src="slide_show.js"></script> </head> <body> <section> <h1>Fishing Slide Show</h1> <ul id="image_list"> <li><a href="images/casting1.jpg" title="Casting on the Upper Kings"></a></li> <li><a href="images/casting2.jpg" title="Casting on the Lower Kings"></a></li> <li><a href="images/catchrelease.jpg" title="Catch and Release on the Big Horn"></a></li> <li><a href="images/fish.jpg" title="Catching on the South Fork"></a></li> <li><a href="images/lures.jpg" title="The Lures for Catching"></a></li> </ul>...

  • So I'm currently doing coding in Python. There's two parts and we're supposed to use loops...

    So I'm currently doing coding in Python. There's two parts and we're supposed to use loops and nested loops to produce the following outputs: part A) 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 .... for ten times in total part B) 0 0 0 0 0 0...

  • Next, create a simple benchmark experiment using the timeit module as we did in class. •...

    Next, create a simple benchmark experiment using the timeit module as we did in class. • Run each of your functions 1 time (e.g. quad_timest timeit(number 1)) for list sizes ranging from 1,000 to 20,000 in increments of 1,000. You will notice that the quadratic time function really starts to slow down as the size of the list Increases Display a table the run times (should look something like this: ratio 906 Size Tinear 3000, 0.00000 15000 3000, 0.0001202000. 5000,...

  • The way I understand it is i'm trying to link a list that I read into...

    The way I understand it is i'm trying to link a list that I read into python from a cvs file to json and xml and pass the doctest. Please refere the lines where I show what I did below. home / study / engineering / computer science / questions and answers / """this script converts a csv file with headers ... Question: """This script converts a CSV file with headers to... Bookmark """This script converts a CSV file with...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT