So what I wanted to at first (but couldn't get it to work due to cross domain and iframe handling) is that the system app would be injecting the weinre code into all apps that it starts through the windows manager. Still hoping I can get around this.