tokens: This API communicates with Android OS services , which are mostly written in Java and which run on separate , privileged processes : for example , the Media Server process runs the Camera Service , and the System Server runs the Activity Manager and many other core services .