1
votes

I am trying to develop an application on android to work as a screen for inputs data and these data will be processed to generate some interfaces after some amount of time. It is a sort of human-android interaction. During the processing I want the android to be connected to raspberry pi and instruct GPIOs to move a servos.

I would be grateful if i get any direction to walk through.

1
Please state your question, not tell us what you want to do. Which part are you having difficulty with? There are lots of examples on setting up a python web server and controlling GPIO with a REST API. As it is, though, your post is too broad - OneCricketeer
Thanks Cricket for your reply. In fact, my question is how to to connect an android app running on android device to raspberry pi in order to control its GPIO. Thanks. - Hayder
Right. And I feel like I have seen said examples elsewhere. Asking for tutorials on StackOverflow is off-topic, unfortunately. 1) Learn to control GPIO using Python, for example 2) Learn a python web server 3) Learn to connect Android to a web server. All of those topics make your question quite broad. Hope you understand - OneCricketeer
Thanks a lot. I completely understand. Again, thanks for your help. I will try to check out your suggestions. cheers. - Hayder

1 Answers

0
votes

Now (since December 2016) You can do it with Android Things on Raspberry Pi side.