ArticleslgStudy

computer science

Android Marshmallow

Android Marshmallow is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Android Marshmallow rather than just read about it. In short: Android Marshmallow (codenamed Android M during development) is the sixth major version of the Android operating system developed by Google, being the successor to Android Lollipop. It was announced at Google I/O on May 28, 2015, and released the same day as a beta, before being officially released on September 29, 2015.

Android Marshmallow — main illustration
Android Marshmallow — illustration

Key takeaways

  • Android Marshmallow belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Android Marshmallow to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Android Marshmallow from memory before moving on to harder problems.

Reference excerpt

Android Marshmallow (codenamed Android M during development) is the sixth major version of the Android operating system developed by Google, being the successor to Android Lollipop. It was announced at Google I/O on May 28, 2015, and released the same day as a beta, before being officially released on September 29, 2015. It was succeeded by Android Nougat on August 22, 2016. Android Marshmallow primarily focuses on improving the overall user experience of its predecessor. It introduced a new opt-in permissions architecture, new APIs for contextual assistants (first used by a new feature "Now on Tap" to provide context-sensitive search results), a new power management system that reduces background activity when a device is not being physically handled, native support for fingerprint recognition and USB-C connectors, the ability to migrate data and applications to a microSD card, and other internal changes. Android Marshmallow saw low adoption, with 13.3% of Android devices running it by July 2016. Usage of Android Marshmallow steadily increased since then, and by August 2017, 35.21% of Android devices ran Marshmallow, before receding. As of January 2026, 1.62% of Android devices ran Marshmallow. Security updates for Android Marshmallow ended in August 2018. On 30 July 2026, Google Play Services support for Android Marshmallow was dropped.

History

Android Marshmallow was internally codenamed "Macadamia Nut Cookie". The first developer preview build for Android Marshmallow, codenamed Android "M", was unveiled and released at Google I/O on May 28, 2015, for the Nexus 5 and Nexus 6 smartphones, the Nexus 9 tablet, and the Nexus Player set-top box. The second developer preview was released on July 9, 2015, and the third and final preview was released on August 17, 2015, along with announcing that Android M would be titled Android "Marshmallow". On September 29, 2015, Google unveiled launch devices for Marshmallow: the LG-produced Nexus 5X, the Huawei-produced Nexus 6P, alongside Google's own Pixel C tablet. Android 6.0 updates and factory images for Nexus 5, 6, 7 (2013), 9, and Player were released on October 5, 2015. Older Nexus devices, including the Nexus 4, Nexus 7 (2012) and Nexus 10, did not receive an official update. On October 14, 2015, LG announced that it planned to release Marshmallow for its flagship LG G4 smartphone in Poland the following week, marking the first third-party device to receive an update to Android Marshmallow. Android 6.0.1, a software patch featuring security fixes, support for Unicode 8.0 emoji (although without supporting skin tone extensions for human emoji), and the return of the "until next alarm" feature in Do Not Disturb mode, was released on December 7, 2015.

System features

User experience A new "Assist" API allows information from a currently opened app, including text and a screenshot of the current screen, to be sent to a designated "assistant" application for analysis and processing. This system is used by the Google Search app feature "Google Now on Tap", which allows users to perform searches within the context of information currently being displayed on-screen. While the "Home" button was used in Android 5 to show available apps, the "Home" button is used now (together with a voice command) to generate on-screen cards which display information, suggestions, and actions related to the content. "Direct Share" allows Share menus to display recently used combinations of contacts and an associated app as direct targets.

Adoptable storage The new "Adoptable storage" feature allows a newly inserted SD card or other secondary storage media to be optionally designated as "internal" rather than "portable" storage. "Portable" storage is the default behavior in previous Android versions, treating the media as a secondary storage device for user files. Storage media can be removed or replaced without repercussions, but user-installed apps are restricted to writing to their respective package-name directories under Android/data. This restriction was introduced in Android 4.4 KitKat. The Storage Access Framework, through which shared writing access to memory cards has been reinstated in Android 5.0 Lollipop, is backwards-incompatible and slower due to latencies. When designated as "Internal" storage, the storage media is reformatted with an encrypted ext4 file system, and is "adopted" by the operating system as an extension of the primary storage partition. Existing data (including applications and "private" data folders) is migrated to external storage, and the device's regular operation becomes dependent on the media's presence. Apps and operating system functions will not function properly if the adopted storage device is removed, and the card cannot be reused in other devices until reformatted. If the user loses access to the storage media, the adopted storage can be "forgotten", which makes the data permanently inaccessible. Not all OEMs support this feature, including LG and Samsung in particular; Samsung cited the potential for user confusion and data loss.

Platform Android Marshmallow introduces a redesigned application permissions model; apps are no longer automatically granted all of their specified permissions at installation time. An opt-in system is now used, prompting users to grant or deny individual permissions (such as camera or microphone access) to an application when they are needed for the first time. Applications remember the grants, which the user can revoke at any time. The new permissions model is used only by applications developed for Marshmallow using its software development kit (SDK), and older apps will continue to use the previous all-or-nothing approach. Permissions can still be revoked for those apps, though this might prevent them from working properly, and a warning is displayed to that effect.

… excerpt ends here. Continue reading the full article.

Illustrations

Android Marshmallow illustration
Android Marshmallow illustration

Worked examples

Example 1 — a first encounter with Android Marshmallow

Start with the simplest possible case. Write down what Android Marshmallow claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Android Marshmallow before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Android Marshmallow ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Android Marshmallow

In research
Android Marshmallow appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Android Marshmallow in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Android Marshmallow is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2015 software, Android (operating system) versions, so understanding it makes those chapters shorter.
In everyday life
Look for Android Marshmallow outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Android Marshmallow” →

How to study Android Marshmallow in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Android Marshmallow means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Android Marshmallow out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Android Marshmallow in simple terms?

Android Marshmallow (codenamed Android M during development) is the sixth major version of the Android operating system developed by Google, being the successor to Android Lollipop. It was announced at Google I/O on May 28, 2015, and released the same day as a beta, before being officially released…

Why does Android Marshmallow matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Android Marshmallow?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Android Marshmallow.

Tags

  • 2015 software
  • Android (operating system) versions

Keep exploring