Create an IPhone simulator with WPF

Source: Internet
Author: User
For work reasons, we need to create a mobile phone simulator on the Windows platform. This time, we chose WPF for development, which has a good effect. Let's share it with you.
Run (Install. NetFramework3.5):

1. the standby interface (no more functions, only basic phone calls, text messages, and Internet access. It also includes the message and Contact Record Service)

2. Dialing interface (all basic functions have been implemented)

3. Call Interface

4. Write text messages

5. browser (supports internet configuration)

Run the installation package

 

Next, let's talk about some experiences in design and development:

1. The selection of WPF for projects is based on the need for some animation effects and vector graphics.

2. part of the developed icon material is a vector image from the IPhone in the network. You can use Expression Design to import a vector image (aifile) and export it as the Path of the XAML, which is very convenient, providing a solid material foundation for UI beautification!

3. XAML is easy to describe the UI. Any UI elements are changeable and can easily produce beautiful interfaces.

 

Development Process:

The solution consists of five projects:

The EPhone project provides the APP running environment, Login, Splash, and other functions, as well as global attribute configuration.

The PhoneLibrary project provides control templates, color resources, metadata resources, and simple controls. There are also two main UI interfaces in this class library.

The PhoneService project provides public services for mobile phone simulators. Including call history, contacts, text messages, and other storage services. Instances of these services can be maintained independently to facilitate future calls when adding functions.

The PhoneSurface project provides the basic interface for mobile phone simulators. Including browsers, calls, contacts, text messages, and the standby interface. These interfaces are provided by default. More functions can be implemented using the ISurface interface and transferred to the simulator in Plug-In mode.

The PhoneView project integrates mobile phone simulators, including UI integration, animation effects, and maintenance of service instances.

The Plugin folder contains various functional plug-ins that can be developed and implemented independently.

 

The IPhone simulator has not yet been fully developed, so we should not make it ugly here, publish the source code, and release the source code at an appropriate time.

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.