Detecting hand gestures on Samsung Galaxy.

The Gesture SDK on Samsung Galaxy phones supports an interesting feature of detecting palm movements in front of the screen. The issue however is that they’re only supported on Galaxy S5, Note3 and Note4 devices and since December 2014, Samsung provides no further updates for the SDK for new Samsung mobile devices. But it’s still… Continue reading Detecting hand gestures on Samsung Galaxy.

Storing files privately on Android and opening them using an external application.

This blog will be divided into two parts. First, how can we store files in the private storage of our Android application so that it is not directly accessible by other applications running on the device, such as the file manager and second, how to open these files using an external application. Step 1 :… Continue reading Storing files privately on Android and opening them using an external application.

Android, JavaScript and Python compatible RSA Encryption.

It’s extremely painful to implement RSA Encryption so that data encrypted on either of these platforms can be easily decrypted on the other platforms and even more so for someone like me who had almost zero knowledge of programming using encryption algorithms. While developing an initial pairing mechanism for Ambient Dynamix, I had already settled… Continue reading Android, JavaScript and Python compatible RSA Encryption.

Dynamically change jQuery Mobile colour swatch.

There’s no easy way to be able to switch the jQuery Mobile colour swatch dynamically for the whole page. A quick google search suggests this stackoverflow question where the accepted answer suggests removing and adding relevant classes for the required colour swatch. For instance : There are a bunch of other elements that you’ll need to update as mentioned… Continue reading Dynamically change jQuery Mobile colour swatch.

Multicast DNS Service discovery in python.

As discussed in the last post, I use the JmDNS library for service advertisement on the local area network. You can refer to it here. In this post, I’ll explain how I used the pyZeroconf library to search for the service advertised by the android device. There do exist other libraries but the ones that I… Continue reading Multicast DNS Service discovery in python.

Using JmDNS for service advertisement and discovery on android.

While working on the Ambient Dynamix project, I needed to search for android devices running the Dynamix framework from a python based application running on the desktop. Starting API 16, android provides the NSDManager class to advertise and search for services. However, to be able to support pre android 16 devices, I used the JmDNS… Continue reading Using JmDNS for service advertisement and discovery on android.