Get Package Usage Statistics in Android

In developing PhoneLab Conductor, I need to get various statistics about a installed package to determine if a app is actively used by participant. For example, for interactive apps, I'd like to know how many times the user launches the app, and how long user actively interact with the app. For background apps (e.g., data collection), I'd like to know how long the background service has been running.

more ...

Simulate Random MAC Protocol in NS2 (Part I)

In this network project, we would need to:

  • Write an simulator using TCL
  • Add an new MAC protocol to NS2
  • Analyze the simulation results

Let's tackle them one by one. In this post, we'll mainly focus on the simulator part.

more ...