App execution

Mobile apps are started and stopped, and can switch between foreground and background states when running.