this time I would like to share my knowledge about connecting a java server program with a python client program using TCP socket communication. Yesterday I spent quite a lot time to get this running, by reading several tutorials on socket programming but I only got java-java or python-python communication running smoothly.
Ok, my key problem was that java expects the end-of-line sign (EOL) in some way, that the python examples didn’t supply. It all depends on the combination of what kind of functions are used to read and write from and to the sockets. Continue reading
you probably know by now that I am working currently with Android using Ubuntu. On my laptop I still run Ubuntu 10.04 LTS 😀 and had problem setting up the new Eclipse version Indigo in combination with the current Android SDK r17.
Now I found a way that is pretty simple if you also wanna update your Eclipse version. Continue reading
in this post I would like to show you how easy it is to set up Dropbox on a Ubuntu server only using a ssh connection.
Ok, where to start. Hmm, first of all here is my setup:
I have a MiniITX mainboard with an Intel Atom CPU, 2GB RAM and 160GB HDD running 24/7 (almost ^_^). This system serves my as NAT Router to separate my network from the LAN in the building I am living. I bought it 3-4 years ago and it was really worth its price and by the way, energy consumption is really low (< 15 Watt). This system runs a Ubuntu 10.04 LTS server version and on this system I set up a Dropbox to have access to my account there too.
These sources were helpfull during my approach:
and basically this post is a mixture of both of them 😉
in this post I wanna give you a short introduction how you can launch scripts (specifically python scripts) from your android application.
To follow this tutorial you have to have SL4A installed on your device / emulator.
In case you don’t know SL4A, you can check my previous post on that: https://norwied.wordpress.com/2012/03/28/scripting-on-android/ and I also found another quite good tutorial on how to install SL4A here: https://www.ibm.com/developerworks/opensource/library/mo-python-sl4a-1/index.html