Category Archives: technology

How to: download most popular Android apps!

Downloading the top apps of Android can be useful for many tasks. For example, one might want to automate the installation of the most trending apps, or even for researchers who want to study app internals or store metadata (e.g., number of downloads). A few existing projects exist for this purpose: egirault/googleplay-api : provides a… Read More »

Android Alarms – draining battery even when phone is idle?

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 »

Android: Loading and executing code at runtime – 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 »

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 »

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 »

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 »

Random Walks on LastFM

Big social networks don’t often disclose their data to other interested individuals. Their data and users add value to their business. So in order to estimate certain parameters such as the average age or other user characteristics or interests, we need to access the nodes individually. The way this nodes are accessed depends on the… Read More »