F.O.C – arduino Fuck Off Cat project

Probably some of the cat owners relate to my problem, so here it goes! There are nights in which my cat is probably possessed by demons (plural here). While he does not climb walls, it does sound so. Another ability of his is to lick plastics, he will find them even if you thought there was… Read More »

Doze? – An Overview of Android Alarms (Part 1/3)

Mobile devices are nowadays our mobile personal computers, where we play games, read emails, access social networks and might even do some light productivity tasks. The mobility paradigm required many changes for developers that have now to be more aware of the connectivity differences (cable, wifi, 3/4G..), execution patterns and respective impacts on the limited… Read More »

How to: (Easy way) Load apk classes using DexClassLoader

Sometimes you may want to add functionality to an application dynamically by adding new jar libraries. Custom classloaders can be used to execute code not installed as part of an application. Examples can range from security (hiding code in resources), mocking/testing, Object-relational mapping, etc. In Android, the DexClassLoader allows an application to load classes from… Read More »

WIPJAM – Sony SmartWatch 2 and APIs

A few days ago I participated in the Hackathons of WIPJAM with my colleague from EMDC (Maria Stylianou). She is a passionate graph miner/ data scientist, check her blog! 😛 Our 1-day project consisted on developing a project over the Sony SmartWatch 2. This is the first time I comment on gadgets/hardware, so please bare… Read More »

How to : Android IPC using Messenger to a Remote Service

In this short tutorial we will see how to create an Android remote service and bind to it in order to send two-way inter-process-communication (IPC) messages using the Android Messenger api (simplifies the use of AIDL). In Android there are multiple ways to do IPC, such as Intents (check IntentService), Binders (AIDL or Messenger) and… Read More »

Highly Available Hadoop MapReduce

During my period at KTH (Sweden) while I was not freezing to death or broke, I was working on a project in collaboration with the Swedish research Institute of Computer Science (SICS). This project consisted on redesigning the (quite new at the time) YARN MapReduce architecture so that it would be highly available. Why is… Read More »

Skype Hacking – Reverse Engineering Android Apps

It has been a long time since I did my last post. Time is short and intense and I have been living at a fast-pace =) During one of my personal projects I decided to study the internals of Android and the potential of altering the Dalvik VM (e.g. Xposed framework and Cydia) and application… Read More »

Revisiting (1 month) old code

  Revisiting code is never like meeting a old friend, that no matter how long it passed you always seem to know it. After a week it becomes a Pandora box (even though you left so many comments for yourself). I will depict a typical case scenario of the world I live in, my head.… Read More »

Radio Resource Control for Dummies

In order to comprehend the Radio Resource Control (RRC) state machine, we should study the architecture of the third generation mobile cellular system, the Universal Mobile Telecommunications System (UMTS). The UMTS is composed by two subsystems, the UTRAN (Umts Terrestrial Radio Access Network) and CN (core network) : We are more interested in the UTRAN… Read More »

Android suspend

In order to save battery android suspends whenever the screen is locked or after a certain timeout. Suspend shuts down the CPU and “non-essential” radios such as WiFi and GPS but not the AlarmManager, GSM and CDMA[2]. When applications need to perform important updates they can require that the CPU stays ON, this is achieved… Read More »