Let the user know that MPD has failed. Not the best thing to do, but better than pretending it still runs.
Add class Context which wraps the Android/Java Context class and add a JNI wrapper for method Context.getCacheDir().
Finally, MPD runs on Android. For some small value of "runs". Very much work left, too much to describe.