Wp8.1app Execution Process

Source: Internet
Author: User

Execution process:

(program start) user clicks on the Reference program icon

The main function of the program type generated in the system execution App.xaml

The system instantiates the application type in the main function

System invoke Application type constructor

The system initializes objects declared in XAML

System creates the current application Rendering window object

System calls the current application's onwindowcreated event

The system starts running the application

System calls the current application's OnLaunched event

The system tries to fetch the contents of the current window

(You can set a page directly for the contents of the current window, but you won't be able to use the navigation mechanism.)

Determine if the previous content frame is taken, and if not, create a new frame as the form content

Determine if there is content in the frame, and if not, the system sets the transition animation for the current frame navigation and then navigates the current frame content to the mainpage

The system resets the current application window to the focus state

User Suspend app action

System calls the current application Suspending Event

The app is suspended and if the user manually stops the application or the system recycles the app resource, the current app state is changed to Notruning (program end!)

The user continues to run the current app

The system invokes the current application resuming event (and starts calling the previous Onlaunched event to execute down)

Wp8.1app Execution Process

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.