a simple cache for android and java