Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there some way of controlling how an installed application communicates over the network and writes data to disk?

Let's say I have an application that will handle sensitive data, but it comes from a third party so I can't control the implementation. Is it possible to provide some kind of environment where I can run the app and make sure that the data it writes to disk is encrypted and that its communication over the internet is secure? Like running it in a virtual machine that I control or forcing it to use some kind of framework I've created?

share|improve this question
Without having control over the app itself (source code), I doubt this is possible. The app itself would have to be written to use https and to encrypt text/data. On the plus side, all applications technically run in their own sandbox, so the application cannot be interfered with by other apps (other than the OS). – Bryan Denny Feb 4 '11 at 14:35

The Android Emulator can be run on your PC and is good for testing. You could use tools to sniff the data being sent on your network and see if it's encrypted, and check files written to the "device" storage. But you can't "control" the app per se.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.