- What Is Android?
- The ins and outs of the Android operating system
- Android Open-Source Project
- Beyond the Phone
- Open Handset Alliance
- Google Play (Android Market)
- Service Providers
- Google Services
- Touchscreen
- Security
- Fragmentation
- The Good and Bad of Fragmentation
- Android Operating System
- What Is the Android Operating System?
- Key Takeaways
- Understanding the Android Operating System
- Android Operating System vs. Apple iOS
- Limitations of the Android Operating System
- Операционная система Android
- История развития
- Архитектура
- Android против Linux
- Ядро Android
- Разработка приложения
- Заключение
What Is Android?
The ins and outs of the Android operating system
What is Android? We’re not talking about robots. In this case, we’re talking about smartphones. Android is a popular, Linux-based mobile phone operating system developed by Google. The Android operating system (OS) powers phones, watches, and car stereos. Let’s take a closer look and learn what Android really is.
Android Open-Source Project
Android is a widely-adopted open-source project. Google actively develops the Android platform but gives a portion of it for free to hardware manufacturers and phone carriers who want to use Android on their devices. Google only charges manufacturers if they also install the Google apps portion of the OS.
Many (but not all) major devices that use Android also opt for the Google apps portion of the service. One notable exception is Amazon. Although Kindle Fire tablets use Android, they do not use the Google portions, and Amazon maintains a separate Android app store.
Beyond the Phone
Android powers phones and tablets, but Samsung has experimented with Android interfaces on non-phone electronics like cameras and refrigerators. The Android TV is a gaming and streaming platform that uses Android.
Parrot makes a digital photo frame and a car stereo system with Android. Some devices customize the open-source Android without the Google apps, so you may or may not recognize Android when you see it. The list of customizations and applications goes on and on.
Open Handset Alliance
Google formed a group of hardware, software, and telecommunication companies called the Open Handset Alliance with the goal of contributing to Android development. Most members also have the goal of making money from Android, either by selling phones, phone service, or mobile applications.
Google Play (Android Market)
Anyone can download the SDK (software development kit) and write applications for Android phones and start developing for the Google Play store. Developers who sell apps on the Google Play market are charged about 30 percent of their sales price in fees that go to maintain the Google Play market. (A fee model is typical for app distribution markets.)
Some devices do not include support for Google Play and may use an alternative market. Kindles use Amazon’s app market, which means Amazon makes the money off of any app sales.
Service Providers
The iPhone has been very popular, but when it was first introduced, it was exclusive to AT&T. Android is an open platform. Many carriers can potentially offer Android-powered phones, although device manufacturers might have an exclusive agreement with a carrier. This flexibility allowed Android to grow quickly as a platform.
Google Services
Because Google developed Android, it comes with many Google app services installed right out of the box. Gmail, Google Calendar, Google Maps, and Google Now are pre-installed on most Android phones.
However, because Android can be modified, carriers can choose to change this. Verizon Wireless, for instance, has modified some Android phones to use Bing as the default search engine. You can also remove a Gmail account from most Android phones.
Touchscreen
Android supports a touchscreen and is difficult to use without one. You can use a trackball for some navigation, but nearly everything is done through touch. Android also supports multi-touch gestures such as pinch-to-zoom. Still, Android is flexible enough that it could potentially support other input methods, such as joysticks (for the Android TV) or physical keyboards.
The soft keyboard (onscreen keyboard) in most versions of Android supports either tapping keys individually or dragging between letters to spell out words. Android then guesses what you mean and auto-completes the word. This drag-style interaction may seem slower at first, but experienced users find it faster than tap-tap-tapping messages.
Security
Most Android phones offer some level of security, from fingerprint identification to facial recognition features. Most also support two-factor authentication processes and offer lock screen security options such as tracing a pattern over dots or inputting a PIN code or password to keep strangers from accessing a phone. You can also lock apps in different ways.
Fragmentation
One frequent criticism of Android is that it’s a fragmented platform. Phone carriers like Motorola, HTC, LG, Sony, and Samsung have added their own user interfaces to Android and have no intentions to stop. They feel it distinguishes their brand, although developers often express their frustration at having to support so many variations.
The Good and Bad of Fragmentation
Android is an exciting platform for consumers and developers. It is the philosophical opposite of the iPhone in many ways. Where the iPhone tries to create the best user experience by restricting hardware and software standards, Android tries to ensure it by opening up as much of the operating system as possible.
This is both good and bad. Fragmented versions of Android may provide a unique user experience, but they also mean fewer users per variation. That means it’s harder to support for app developers, accessory makers, and technology writers. Because each Android upgrade must be modified for the specific hardware and user interface upgrades of each device, that also means it takes longer for modified Android phones to receive updates.
Fragmentation issues aside, Android is a robust platform that boasts some of the fastest and most amazing phones and tablets on the market.
Android Auto is the Android version of Apple’s CarPlay. Essentially, it’s a form of Android that runs on your car and can connect to your phone. Once you connect the vehicle to Android Auto, you can navigate using Google Maps, play music, and enjoy traditional smart car features.
To connect your AirPods to Android, open Settings on your Android device, tap Bluetooth and put your AirPods into pairing mode. Then, tap your AirPods once they appear in the Bluetooth menu.
To factory reset your Android and wipe all data on your phone, tap Settings > System > Advanced > Reset options. Next, tap Erase all data (factory reset) > Erase all data.
Источник
Android Operating System
James Chen, CMT is an expert trader, investment adviser, and global market strategist. He has authored books on technical analysis and foreign exchange trading published by John Wiley and Sons and served as a guest expert on CNBC, BloombergTV, Forbes, and Reuters among other financial media.
Thomas J Catalano is a CFP and Registered Investment Adviser with the state of South Carolina, where he launched his own financial advisory firm in 2018. Thomas’ experience gives him expertise in a variety of areas including investments, retirement, insurance, and financial planning.
What Is the Android Operating System?
The Android operating system is a mobile operating system that was developed by Google (GOOGL) to be primarily used for touchscreen devices, cell phones, and tablets. Its design lets users manipulate the mobile devices intuitively, with finger movements that mirror common motions, such as pinching, swiping, and tapping. Google also employs Android software in televisions, cars, and wristwatches—each of which is fitted with a unique user interface.
Key Takeaways
- The Android operating system was developed by Google (GOOGL) for use in all of its touchscreen devices, tablets, and cell phones.
- This operating system was first developed by Android, Inc., a software company located in Silicon Valley before it was acquired by Google in 2005.
- While the Android source code is released in an open-source format to help advance open standards across mobile devices, it is still packaged with proprietary software when sold on handset devices.
Understanding the Android Operating System
The Android operating system was first developed by Android, Inc., a software company located in Silicon Valley before Google acquired it in 2005. Investors and electronics industry analysts have questioned Google’s true intentions for entering the mobile market space since that acquisition. But in any case, soon thereafter, Google announced the impending rollout of its first commercially available Android-powered device in 2007, although that product actually hit the marketplace in 2008.
Since then, software and application developers have been able to use Android technology to develop mobile apps, which are sold through app stores, such as Google Play. And because it is developed as a Google product, Android users are given the opportunity to link their mobile devices to other Google products, such as cloud storage, email platforms, and video services.
The Android source code is released in an open-source format to help advance open standards across mobile devices. However, despite being released as “open,” Android is still packaged with proprietary software when sold on handset devices.
According to research from Trend Micro, premium service abuse is the most common type of Android malware, in which text messages are sent from infected phones to premium-rate telephone numbers with neither the knowledge nor the consent of the user.
Android Operating System vs. Apple iOS
The emergence of Android created a new rivalry between smartphone manufacturers, with Apple (AAPL) serving as Google’s chief competitor. To some, this competitive dynamic mirrors that of the “cola wars” between Coca-Cola (KO) and Pepsi (PEP) over the past 30 years, where no clear winner or loser has emerged. Android was the most popular operating system on mobile devices as of the end of 2020, with 84.8% of the global market share while Apple’s iOS was in second place with 15.2%, according to International Data Corporation.
The increased popularity of the system has also led to a number of patent-related lawsuits, including a lawsuit brought forth by Oracle (ORCL). In 2010, the company alleged that Google unlawfully used Java APIs to develop its Android software. The case was pending as of October 2020.
Limitations of the Android Operating System
While Android offers users a viable alternative to other mobile operating systems, several limitations still remain. On the developer side, coding complex user experiences and interfaces is an often difficult task that demands a greater reliance on Java than Objective-C. For users, the apps on the Android Market tend to have lower standards than comparable app stores.
In other words, the apps have lower security profiles and make users more susceptible to data breaches. Meanwhile, Android’s lack of a voice-controlled assistant and its heavy dependence on advertising can repel some users.
Источник
Операционная система Android
Feb 4 · 6 min read
Android — это операционная система с открытым исходным кодом, созданная для мобильных устройств на основе модифицированного ядра Linux. Эта ОС разработана консорциумом Open Handset Alliance, состоящим из крупных технологических компаний при организующей роли Google. Исходный код ОС представлен как часть проекта Android Open Source Project (AOSP) с лицензией Apache. Выпущенный на рынок в 2007 году Android вскоре стал самой продаваемой операционной системой в истории, благодаря своей открытой модели разработки и удобному интерфейсу. Последняя версия Android 11 вышла в 2020 году.
История развития
Проект Android появи л ся в 2003 году с целью разработки интеллектуальных мобильных устройств. Начинался он с разработки ОС для цифровых фотокамер, но вскоре акцент сместился на мобильные телефоны из-за их большой распространенности на рынке. В 2005 году проект приобрел Google и в качестве основы для этой ОС было выбрано ядро Linux за счет его гибкости и возможности обновления.
С целью разработки платформы с открытым исходным кодом для мобильных устройств в 2007 году Google сформировала Open Handset Alliance с несколькими производителями оборудования и операторами беспроводной связи. В то время каждый производитель выпускал мобильные телефоны на базе собственной платформы, с ограниченными возможностями для сторонних приложений. Альянс заявил, что открытая платформа обеспечит тесное сотрудничество между производителями и разработчиками, чтобы ускорить производство недорогих инновационных продуктов и приложений.
Платформа Android была представлена в 2007 году и вышла на рынок на следующий год. Поначалу ей мешал ограниченный набор функций и небольшая база пользователей по сравнению с конкурентами Symbian и Windows. Однако возможность обновления стала самым большим преимуществом этой ОС, поскольку каждое обновление давало новые функции и улучшенную производительность. Из-за «сладости, которую они приносят в нашу жизнь», первые версии были названы в честь десертов, в алфавитном порядке, например Cupcake, Jellybean и KitKat. Однако вскоре у Google закончились десерты, и с 2019 года новые версии ОС получают номера, начинающиеся с Android 10. Лицензия с открытым исходным кодом также помогла увеличить популярность этой ОС среди производителей мобильных устройств, поскольку они могут теперь модифицировать ОС под свои требования, не влияя при этом на разработку приложений.
Но самая главная особенность в том, что Android — это больше, чем просто операционная система. Он во многом уравнял мобильные устройства с персональными компьютерами, позволив разработчикам писать приложения независимо от аппаратной платформы устройства. Это привело к созданию глобальной платформы для приложений и укрепило позиции Android, как передовой мобильной платформы, и в 2011 году он стал самой продаваемой операционной системой для смартфонов и для планшетов в 2013 году. Сегодня на Android работает множество электронных устройств, включая смарт-камеры, часы, медиаплееры и многое другое.
Архитектура
Первоначально Android разрабатывался для архитектуры ARM, а затем был расширен для поддержки архитектур x86 и x86–64. Однако в целом Android не заботится об аппаратном обеспечении устройства из-за разнообразия и множества типов среди компонентов в мобильных устройствах.
Основой ОС Android является модифицированная версия ядра Linux LTS, которая непосредственно взаимодействует с оборудованием. Драйверы, необходимые для работы устройства, реализуются производителями оборудования и добавляются в ядро. Это позволяет производителям оборудования разрабатывать драйверы для хорошо известного ядра, а разработчикам ОС игнорировать разнообразие оборудования. Android 11 поддерживает версии ядра 4.14, 4.19 и 5.4.
Особенности оборудования дополнительно маскируются также реализуемыми производителями уровнями аппаратной абстракции, которые предоставляют стандартные интерфейсы для высокоуровневых структур, чтобы обеспечить доступ к аппаратному обеспечению устройства, не заботясь при этом о реализации драйверов.
Android Runtime (ART) — это виртуальная машина, которая выполняет код приложения, содержащийся в файлах Dalvik Executable (DEX). Она управляет компиляцией кода, отладкой и очисткой памяти. Каждое приложение работает со своим собственным экземпляром ART, то есть в своей собственной виртуальной машине, чтобы обеспечить изоляцию кода. ART заменил Dalvik в качестве виртуальной машины Java для Android в 2013 году, поскольку его компиляция Ahead-of-Time обеспечила лучшую производительность по сравнению с компиляцией Just-in-Time у последней.
Собственные библиотеки C/C ++ являются важной частью операционной системы, поскольку большинство основных компонентов Android написаны на собственном коде. Инфраструктура Java API — это шлюз в ОС для всех пользовательских приложений. Он предоставляет множество сервисов для приложений в виде вызовов Java API, включая менеджеры действий, ресурсов и уведомлений, поставщиков контента и систему просмотра. Именно поэтому приложения для Android в основном разрабатываются на Java, хотя собственные библиотеки обеспечивают некоторую поддержку C/C++. Совсем недавно также поддерживался и Kotlin, он даже предпочитался Google для разработки приложений Android. Код компилируется Android Software Development Kit (SDK) и архивируется в виде пакета Android (APK).
Android против Linux
Хотя некоторые считают Android дистрибутивом Linux, он имеет мало общего с обычной ОС Linux.
В традиционном стеке Linux ядро выполняет большую часть системных функций, включая управление памятью и файлами, аппаратное взаимодействие и планирование процессов. Системные функции предоставляются приложениям через библиотеки и вызовы API на языке Си. Именно поэтому GNU C является более важной библиотекой в Linux. Пользователи взаимодействуют с системой через оболочки, которые транслируют пользовательские команды в системные вызовы.
С другой стороны, Android можно рассматривать как пользовательское приложение, работающее в Linux. ОС использует ядро для взаимодействия с оборудованием и управления системой, а затем предлагает свои функции другим приложениям через интерфейс API. Этот интерфейс написан полностью на Java, и даже функции библиотек C/C ++ предложены в оболочках Java. В Android нет оболочки, хотя некоторые утилиты командной строки поддерживаются через приложение Toybox.
Кроме того, Android оптимизирован для мобильных устройств, которые обычно обладают малой вычислительной мощностью, имеют небольшой объем памяти и работают от батарей. По умолчанию, в качестве библиотеки C, вместо GNU, он использует Bionic из-за пониженных требований к памяти и процессору. При нехватке памяти, Android может уничтожить наименее используемые процессы и сбросить блоки разделяемой памяти. Кроме того, здесь реализуется уникальная система управления питанием, в которой устройство остается в спящем режиме, потребляя минимальную мощность до тех пор, пока процесс не запросит ресурс.
Ядро Android
Перед установкой на устройство само ядро Linux подвергается модификации несколькими участниками проекта. Во-первых, разработчики Android оптимизируют ядро LTS для мобильных устройств, вносят коррективы в функции Android и оставляют код как общее ядро AOSP. Разработчики AOSP реализуют большинство изменений в виде драйверов устройств, чтобы гарантировать внесение минимальных изменений в основной код ядра. Это позволяет с минимальными изменениями объединять обновления базового ядра в ACK. Поставщики оборудования добавляют драйверы и уровни абстракции для создания ядра поставщика. Затем, производители устройств обновляют ядро в соответствии со своими требованиями, реализуя новые драйверы или даже улучшая систему. Это ядро, в конечном счете, устанавливается на выпускаемые производителем устройства.
Разработка приложения
Основной принцип разработки в Android заключается в том, чтобы абстрагироваться от вариативности оборудования и предоставить унифицированный интерфейс для приложений. Это достигается запуском всех приложений на виртуальных машинах Java, подобных Dalvik или ART. Еще более способствует этой абстракции и упрощает разработку приложений комплект, состоящий из инфраструктуры Java API и SDK Android. Интерфейс API выполняет всю сложную работу, обеспечивая приложениям доступ к системным ресурсам лишь через вызов функции, в то время как SDK предоставляет визуальные инструменты для создания макетов приложений и управления вводом данных пользователя.
Android предоставляет приложениям большую часть своих функций через службы (services). Служба — это приложение, которое выполняет длительные операции в фоновом режиме. Она не предоставляет пользовательского интерфейса и доступна только через платформу API. Службы также могут выполнять операции в приоритетном порядке и сообщениями уведомлять пользователя. Служба также может быть привязана к приложению и обеспечивать интерфейс клиент-сервер.
Стек Android также включает вторую операционную систему Trusty. Она работает параллельно с основной операционной системой и обеспечивает доверенную среду для изолированного выполнения. В основном она используется для мобильных платежей, безопасного банковского обслуживания, обработки паролей и других процессов, требующих безопасности и конфиденциальности.
Заключение
При первых анонсах Open Handset Alliance их планы по взаимодействию при разработке открытой и многоцелевой платформы представлялись не более чем громким заявлением. Однако через десять лет платформа Android произвела революцию, и не только в мобильной индустрии. Фактически, она породила совершенно новые отрасли промышленности и коренным образом изменила наш образ жизни, работы и общения.
Источник