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.