完成application context