Execute a raspberry python script through an android phone - Raspberry Pi Forums


hi,
i'm new raspberry, want execute python script raspberry pi (model b+) without use ssh. example, create android application on button press raspberry execute script. until i'm using connectbot execute script ssh.
can me?

i suggust webapp , send post/get request php script thats located in raspi there can execute python script command:

code: select all

shell_exec();  
in raspi use that:

code: select all

shell_exec($_post["command"]); 


raspberrypi



Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support