Universal app sample code.