Posts

Showing posts from November, 2014

Control Your Laptop with Android, Python, Twisted, and Django

Image
Introduction It’s always fun to put your programming skills on display. A while back, I figured it’d be cool to try and control my laptop via my Android mobile device. Think about it: being able to play and pause music, start and stop programming jobs or downloads, etc., all by sending messages from your phone. Neat, huh? Before you keep on reading, please bear in mind that this is a pet project, still in its early stages—but the basic platform is there. By gluing together some mainstream tools, I was able to setup my Android phone to control my laptop via a Python interpreter. By the way: the project is open source. You can check out the client code here , and the server code here . The Tool Belt This project involves the following technologies, some of which you may be familiar with, some of which are quite specific to the task at-hand: Python 2.7+ Twisted : an excellent event-driven framework especially crafted for network hackers. Django : I used v1.4