Monthly Archives: November 2013

MTV Exit has finished.

Just came back from 2-days MTV Exit hackathon where we tried to solve issues related to slavery problem in the world.

Very impressive people and community and unbelievable passion of people from organizations which trying to challenge this hot topic.

We we doing riskmap application – site riskmap.org.ua to solve to issues in one shot:

1. Problem of insufficient level of information in society about real statistics, cases and real risk for each of us.

2. Problem of too many resources on too many sites which are not related to my specific questions regarding work migration to another country.

Have a look at our site, let me know your opinion.

BTW. We took second place in the competition and are planning to finish this project to the end.

Control sound with sound keys from Processing app on android

I was looking for a way to use sound controls on android to control remotely (from device) omxplayer running on raspberry pi:

sound-controls

Here is code how to do this easily on processing:


void keyPressed() {
    if (key == CODED && keyCode ==
        android.view.KeyEvent.KEYCODE_VOLUME_DOWN) {
        println ("Volume down");
    }
    if (key == CODED && keyCode ==
        android.view.KeyEvent.KEYCODE_VOLUME_UP) {
        println ("Volume up");
    }
}