Programmers who have done Android development know that when it comes to developing an Android software, it often takes into account the various adaptation scenarios. For example, several of the more common
Is the adaptation of the screen and the system version. From the screen viewed from the previous phone screen to the current flat screen, from the previous low resolution
The screen to the current high-resolution screen, are constantly changing. There is also the Android version from the original Android 1.5 (cupcakes) to the present android5.0 (Lollipop), every
To a version has a great change, and its performance has been greatly improved. Although compared to the original version of Android earlier to the present android5.0 has been a great improvement, but
The transition to the version is also confusing to programmers, for example, if you want to use some features of the new version, but consider the compatibility of previous versions. So often in the development of an Android software
Are developed based on the lowest SDK version. The current market share of each version:
The specific data are:
The "Jelly Bean" system (Android 4.1.x and Android 4.2.x) shares climbed to 37.9%, and the "Gingerbread" system (Android 2.3.x) share was 34.1%.
"Ice Cream Sandwich" (Android 4.0.x) is 23.3%; "Hive" (Android 3.2) is only 0.1%;android 2.2 share of 3.1%;android 2.1 is 1.4%.
The data released by Google in early June showed that the "gingerbread" system shares the highest, up to 36.4%, "Ice Cream Sandwich" (android4.0) share of 25.6%;android4.1/4.2 "jelly beans" share of 33%.
Through the above data can be seen that although most of the users of the system version is android4.0 above, but android2.3.x market share also have a lot.
So for Android developers to develop an Android software to get more users, it is necessary to adapt to the appropriate Android SDK. As an Android developer, you want to get a good
The user experience often takes into account the following points:
One, screen adaptation
The most common way for Android developers to get the most out of the development process is the screen fit problem, which is best suited to lower-resolution phones. Although it can be adapted to a low-rate cell phone, but if the same
When the layout is placed on a high-resolution phone. The effects are quite different, so Android developers often use custom controls to fit the phone's screen to achieve the same results. Often many people
All feel that the Apple phone display effect is very delicate. In fact, compared to the earlier Apple and Android phone resolution, the earlier popular iPhone4 resolution is 960x640 pixels.
The iPhone4 features a 3.5-inch IPS screen with new Retina display (retina) displays, 326 pixels per inch, and usually a 72ppi screen resolution.
The iPhone4 has a resolution of more than 4 times times the computer, so the display will be very delicate. The most popular resolution for Android in the early days was 480*320 pixels, which is why Apple phones are so expensive.
In the current popular Android and Apple to see, there is a big gap. Below are the resolutions of the Samsung Galaxy S5, Xiaomi 4 and Iphone6 plus.
You can see how much of a mobile phone is suitable for Android developers, from 480*320 pixels to 1920x1080 pixels. And this pixel transition is also relatively long, where the pixel transition is mainly
Versions of different pixels are still present. The reason is that there are still many domestic handset manufacturers to use the screen is not a stable version, often low-end phone screen resolution is relatively poor. and high-end
The resolution of the phone is relatively high. In fact, compared to Android developers, the Apple developer is still more fortunate, because the current version of the Apple phone transition is nothing more than iphone4~iphone6.
So for screen adaptation, Apple developers are still looking at a little bit. That's why the same app, on Android phones, is showing worse than Apple. In fact, part of the reason is that Apple
itself, it is careful to find that Apple's transition to the UI is better than Andorid. So screen fit is one of the reasons that affects Android apps.
Second, the adaptation of the Android system version
with the market share of the Android system version above, it is certain that as an Android developer there is a problem with the adaptation of the Android system version. Generally speaking, as an Android developer, the version of the Android system that is generally adapted to the
is primarily for systems with more than 2.3.x. In fact, a few of the earlier versions of the classic version are mainly android2.2.x and 2.3.x two versions, so although the current tallest
Android system has developed to android5.0. However, there are still many users who are using both the 2.2 and 2.3 system versions. In fact, there are also mobile phone manufacturers, in the early days of Android mobile phone manufacturing
Business in the mobile phone embedded system. It didn't take into account the system upgrades that were used to get the phone, because they would rather be used to re-buy a new system version of the phone. Also do not want users in the original mobile phone
on the basis of the system upgrade, it may be that the early mobile phone and can not run a number of normal high-version system. In fact, each version of the system has a great change, the comparison of the failure is still android3.0. Because this version of
is primarily for Android tablets. For this reason Google on October 19, 2011, hastily released the android4.0. The system integrates mobile phones with tablet devices, with a new UI interface
and a Linux kernel that supports virtual keys. In fact, we can compare the two versions of the Android version of the content, which can be seen in the based on the development of low-version Android and high-version system development for the application of the impact.
The comparison between the earlier classic android2.3 and the current high market share of the android4.0 is compared in the following two versions:
Android 2.3 Update content android4.0 update content
Added new garbage collection and optimized processing events new UI interface
New Management window and lifecycle framework new Chrone Lite Browser, support offline reading, tabs, Incognito browsing mode and other functions
Supports VP8 and WEBM video formats, provides AAC and AMR broadband encoding, features
Provides a new audio effect with more powerful picture editing capabilities
Support for front camera, Sip/voip and NFC (near field communication) comes with photo application comparable to INSTAGRANM, can add filters, add photo frame, for 360° Panorama shooting, photos can also be sorted by location
Simplified interface, faster Gmail join gestures, offline Search, more powerful UI
One-click Text selection and copy/paste new traffic management tools to see the traffic not generated by the app
Improved power management systems are running programs that can switch to each other like a computer
New application management approach to face-down functionality with front-facing camera for face unlocking
Increased In-app purchases function system optimization, faster
Support virtual keys, mobile phone can no longer have any keys
A more intuitive list of programs
Tablets and Smartphones are universal (which is why Android 3.0 is a failed product reason)
Support for greater resolution
Optimized drivers written for dual-core processors
The new Linux kernel (the Linux kernel version that Android 4.0 already uses is 3.0)
Enhanced copy-and-paste functionality
A new notification bar
Richer data-transfer capabilities
Support for more sensors
New 3D drive for improved game support
The new Google Marketplace (Google Play)
Enhanced Desktop plugin Customization features
Comparing these two system versions, the early Android system still has a big gap with the current high-version system. That's why some Android apps are doing so well, often using the
Some features in the higher-version system. In fact, for Android developers, based on the high-version of Android development is not a benefit, say a simple example: android4.0 animation can be used to animate the property
And in 2.3 is not supported. Property animation is more concise than the animation used in 2.3, a code can be done. But often we need to consider the reasons for the user volume, we have to use the low version of the Android SDK to develop the application.
Third, the application of memory processing
Many Android developers tend to focus on application effect control and rarely manage their own application memory in the development process. Using an Android phone has the same feeling, that is when the mobile phone installed too many applications
There will be a situation where the phone hangs or freezes. And when the application is installed to a certain number of times often can not install the application, in fact, there are a lot of Android users complain that Android too card, running programs particularly slow. I just bought a new cell phone, special.
Do not flow, when the number of installation gradually increased. This will happen, even if the application is removed or not as smooth as before. It's only a bit better to reset your phone to factory settings, which is why a lot of Android users are turning to Apple users
In fact, the main reasons are several points: 1, Android system is to allow the background for a long time process, the general Android app will start the background service through the app and boot service. Unless the memory is very tense, some long-time useless
Background service to kill. This is also one of the differences between Android and iphone, iphone is not allowed long-time background service. Within a certain amount of time, the system will automatically kill the service regardless of whether you are important or not. That's why Apple's 1G of running memory doesn't even work.
The reason for the card. On the current Android device, 1G of running memory can not meet the needs of users. 2, the android application stored in the local data is particularly large, the following is a few applications installed after the memory occupied. Everyone is familiar with the QQ, occupied by the memory
is 84M, data storage alone is 54.7M. It is conceivable that if more and more Android applications are installed, there must be insufficient memory. 3. Uninstall app data retention, Android apps often generate a lot of data after they are installed on the phone. However, when the user uninstalls the software
The data did not disappear as the user imagined, but there was a local presence. In fact, you can imagine the installation of 10 applications, each application of data consumption memory is 50m, the data left after unloading is 500M. It is conceivable that the memory impact on the phone is how big.
There is a problem is the need, which is why there will be clear residue of waste software (360 Guardian, Baidu mobile phone butler)
Summary : The above analysis is purely personal theory, the specific to the actual prevail. In fact, to promote the development of Android is often not mobile phone manufacturers to make better mobile phones, but also the need for Android developers to make better applications to attract users.
Only in this way can Android be invincible, I think that is why Google will open up Android. Throughout the development of Android, it has to be said that there is a miracle. To this end, we hope that everyone together for the development of Android efforts.
Who destroyed our Android app?