Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Creating an Android app to control my Raspberry Pi. Need help

So I have already set up my Raspberry Pi 2 to have a static IP and can be controlled from anywhere in the world from the web. But now how do i do this from an android app? which API would i need to use? General HTTP request should do it from the app or what else? I am really confused, please help.

1 Answer

aakarshrestha
aakarshrestha
6,509 Points

Read this article... it should give you some idea on how to do it.

http://www.firmcodes.com/how-to-connect-android-phone-to-pc-using-ssh-putty/

Let me know if you get an idea of doing this.

I am using Raspberry Pi 3 for my webserver and database server for my android apps.

Happy coding!