Development Technology comparison between Android 4.0 and WP7.5

Source: Internet
Author: User
Tags silver light

Comparing Google Android 4.0 Ice Cream SandWich and Microsoft WP7.5 Mango in development technology, we can see that Google learned Microsoft's WPF design method in the early days. Due to the slow release of Microsoft Windows Phone 7, as a result, Google technically improved Microsoft's complicated design methods. From now on, there are still huge differences in development technology between Android ice cream sandwich and Microsoft WP7 mango. For netizens preparing to step into mobile development, do a simple analysis on the current mainstream systems:

  I. UI controls and design modes

For WP7, the total number of controls is not as rich and practical as that of Android, but there are also some innovations, such as pivot Piovt controls, which are much better than Android TabHost in touch operations, however, the control similar to the GridView is not provided in Siliverlight. Because the UI refresh mechanism of WP7 is based on the MVVM mode, the INotifyPropertyChanged interface must be inherited from the MVC interface of Android, it is relatively cumbersome to update the value of the UI control through data binding. In terms of control customization, WP7 can use silver-light UserControl or directly derive from any existing controls. for Android, this is basically the same, however, the methods provided, such as touch and long-pressed Microsoft, depend on Toolkit for implementation, which is much more complicated as a whole.

  2. Database Layer

Microsoft has always had ms SQL in terms of databases and lightweight databases such as SQL CE on mobile phones. However, in terms of Operation processing, the INotifyPropertyChanged interface must also be implemented to update and modify tables, which seems to be more abstract. At the same time, for data exchange, Microsoft also has LINQ, which is almost the same as J2EE in terms of Web Services. However, compared with mobile phones, Android SQLite seems to be more useful and clear, and Microsoft does lose.

  Iii. system execution model

WP7.5 Mango supports multiple tasks, and the memory management is almost the same as that of Android. At the same time, data Push similar to iOS is added, which requires the Push Notification to be transferred to the Microsoft Server, because the application is recycled by the system memory at any time, the data on each page must be stored in persistent storage. For example, the IsolatedStorageSettings of silver light in WP, similar to SharedPreferences of Android, microsoft is learning Google in many places. Compared with WP7, Microsoft has improved WM6.

  Iv. Graphic System

WP7 is a world different from Android. In Windows CE, 3D is DirectX and 2D is rendered in GDI mode, while in Android, OpenGL is used. At the same time, WP7 cannot be developed in a local language, as a result, iPhone and Android programmers are unfamiliar with 3D.

  V. File System

On WP7 mango, Microsoft has learned the closures like iOS, and each application is completely independent. Therefore, there is no file manager. As a result, apps like Adobe Reader must put pdf files into their mailboxes, open and read through email attachments. Similarly, every Windows Phone 7 mango mobile Phone generally does not have a microSD card, but at least 8 GB or 16 GB of storage space is built in the body, and the USB flash drive function cannot be used. Each application is relatively isolated, running in your own sandbox space ensures application reliability and security, but it is not easy to use in some implementations.

  6. Smoothness

If you see that WP7 is running smoothly, you may be wrong. In essence, Java Virtual Machine and Microsoft. the underlying efficiency of the Net Framework Runtime Library is similar, but Android phones generally run more complex desktops, such as about N home screens and a bunch of appWidget plug-ins, microsoft seems that Windows Phone 7 applications generally work at five times. Otherwise, the task will be terminated. At the same time, due to some low-cost Android devices, the overall hardware configuration is low, for example, the ARM11 CPU and RAM are only MB, while the first generation of Microsoft WP7 mobile phone is equipped with at least GHz processor and mb ram, the second-generation WP7 Mango mobile phone is equipped with a new generation of Qualcomm Snapdragon of 1.4GHz, such as the 8X55 series. Therefore, WP7 is smoother in many places, but in fact from a single application, WP7 is much slower to start than Android, So Microsoft even designed such an image to provide a loading image for each default project. For applications that come with Microsoft, the local method can be called, which is much faster to start than a third-party Windows Phone application.

  Final ConclusionAndroid still recommends that you develop on an efficient and open platform provided by Google. At least it will not restrain your imagination and speed. Microsoft has designed many restrictions and thresholds, at the same time, non-open source will cause many problems in analysis and implementation. At least the Android SDK can work on Mac OS, Windows platforms, and Linux, microsoft seems to have locked the WP7 SDK on Vista and Win7.

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.