With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
No. :( Maybe you could send me the working app solution might be missing something I think. Anyway, the app code you've given in the link is intended for Arduino, can it be able to work for Raspberry Pi 3? https://www.instructables.com/id/Control-Arduino-using-android-app/#step5
The app has no errors in Android studio. I couldn't control the LEDs with the app. Might be any other issue or something missing in the app?
Hi. Did you manage to work? Please let me know.
Ok. I renamed the file to "index.php". However, the app is still not working. I copied the three files for Android app: AndroidManifest.xml, MainActivity.java and styles.xml by creating a new project and I just changed the IP to my Raspberry Pi and put INTERNET permission. Removed the onOptionsItemSelected() and onCreateOptionsMenu() codes. I am still figuring out why its still not working for me :( Please help.
Hi. Could you please send me the Android app code?
Thanks for your quick response. So, whenever I want to run the Android app do I have to leave the web browser open like this in the image attached? E.g. http://Raspberry'sIP//.
Control Raspberry pi GPIO using an app
Hi. I am also trying out the project how do you run the index.php? Could you please help me! Do I have to key in any command to run it?
Hi. I followed through the steps you've given but the app doesn't seem to work. Anyway, how to run the the index.php script? I am new in php language. I put it under var/www/html.
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.