📅  最后修改于: 2023-12-03 14:59:15.219000             🧑  作者: Mango
Android Marshmallow (6.0) was released in October 2015 and is the sixth major version of the Android operating system. It introduced several new features and improvements over its predecessor, Android Lollipop (5.0/5.1).
One of the biggest changes in Android 6.0 was the introduction of app permissions. With this feature, users were able to grant or revoke permissions at runtime, instead of being forced to accept all permissions at install time. This gave users more control over their privacy and security.
Developers needed to update their apps to support this new feature, and provide a good user experience when asking for permissions. As a result, developers were advised to check for permissions at runtime and request them only when needed.
Another major change introduced in Android 6.0 was Doze mode. This feature helps to save battery life by suspending background processes when the device is not in use. It works by detecting when the device has been idle for a certain amount of time, and then gradually reducing the frequency of background tasks.
This feature is especially useful for users who use their device infrequently, as it helps to extend battery life.
Now on Tap was another new feature introduced in Android 6.0. It lets users search for information related to what they are currently doing or looking at on their device. It works by analyzing the contents of the screen and providing relevant information based on keywords or phrases.
This feature was made possible by the introduction of Google's assistant, which is able to understand and interpret natural language queries. Developers were encouraged to use Now on Tap to provide more context and information for their users.
App links is a feature that allows apps to handle web links instead of the default browser. With this feature, users could tap on a link to a website and have it open directly in the relevant app, instead of the browser.
This was designed to improve the user experience, as it allowed users to navigate between their favorite apps and websites more easily.
# Android Marshmallow (6.0)
Android Marshmallow (6.0) was released in October 2015 and is the sixth major version of the Android operating system. It introduced several new features and improvements over its predecessor, Android Lollipop (5.0/5.1).
## App Permissions
One of the biggest changes in Android 6.0 was the introduction of app permissions. With this feature, users were able to grant or revoke permissions at runtime, instead of being forced to accept all permissions at install time. This gave users more control over their privacy and security.
## Doze Mode
Another major change introduced in Android 6.0 was Doze mode. This feature helps to save battery life by suspending background processes when the device is not in use. It works by detecting when the device has been idle for a certain amount of time, and then gradually reducing the frequency of background tasks.
## Now on Tap
Now on Tap was another new feature introduced in Android 6.0. It lets users search for information related to what they are currently doing or looking at on their device. It works by analyzing the contents of the screen and providing relevant information based on keywords or phrases.
## App Links
App links is a feature that allows apps to handle web links instead of the default browser. With this feature, users could tap on a link to a website and have it open directly in the relevant app, instead of the browser.
This was designed to improve the user experience, as it allowed users to navigate between their favorite apps and websites more easily.