Android operating system

Android operating system

With more than eighteen % market share, Android is the famous mobile operating system today. It’s running on countless models of smartphones and tablets, as well as many other devices. Judging by this, one would think that programming for Android operating system is simple and easy. Or is it?

A few years ago, Miley Cyrus was still singing country music, Justin Bieber wore his famous “Bieber” haircut, Malcolm still played in AC/DC and Android development was quite complex. Android developers had a lot of problems with developing even the simplest possible applications for Android OS.

Android operating system


Why? Well, my dear reader, problems were everywhere between Android operating system and OS:
Buggy day – have you ever ever tried to repair your automobile with a shovel? Or tried to select up ladies whereas driving your grandfather’s 40-year previous Yugo? within the humanoid world, we have a tendency to had a politician IDE for humanoid development – Eclipse, that had a large amount of issues and will drive you mad in ten minutes. The Eclipse ADT plugin was simply buggy, slow and unfriendly for a lot of complicated comes. we have a tendency to quickly got fed up it and were praying for a miracle.

OS fragmentation – cake (2.3.7) occupied quite an market share (at least 15-20 percent) of humanoid OS versions. As you already understand, humanoid underwent complete overhaul with the version four.0 Android operating system (Ice Cream Sandwich) – we have a tendency to got new UI parts, new arthropod genus for device hardware, new screen densities… This resulted in U.S.A. having to watch out to optimize and program our apps to figure well on the new likewise ancient versions of humanoid. All this greatly affected our development method and resulted in prolonged development time with a lot of bugs and crashes.

Slow emulators – we’d like to check our apps on completely different humanoid OS versions and screen dimensions, therefore we’ve got to shop for a minimum of twenty completely different humanoid devices. Sounds crazy? OK, therefore we are able to use emulators. however have you ever ever tried to use the default humanoid somebody? it is so painfully slow that you’re going to shortly catch yourself numeration cars put before of your workplace whereas your app is being deployed to your emulator.

UI – humanoid apps were boring. If you commit blasphemy and take a glance at iOS apps, you’ll see that they’re jam-packed with life and colours. Everything is animated, reworking, going from left to right, right to left so on… Our apps were static, and if we have a tendency to needed to counterpoint our wife, the previous cake would have shortly killed all our hopes and desires.

But that was like therefore 2013!

A opportunity

Everything modified last year, and changes were happening therefore quick that you just might simply lose track of them and raise yourself, “When did this happen???” what is even a lot of vital is that the undeniable fact that the entire humanoid system underwent several enhancements – we have a tendency to got new hardware (smartwatches), new computer code (Gradle, humanoid Studio), new OS Android operating system (Android five.0 Lollipop).

Everybody contributed – Google, device makers, developers. everyone had an equivalent goal and asked themselves an equivalent question: “OK, currently we’ve got stable OS Android operating system, billions of apps with billions of users – however will we have a tendency to more modify and improve Android operating system? however will we have a tendency to create the event method better?” {this is|this is often|this will be} wherever open access and open supply principles have shown their true potentials – everyone can create a modification. associate improvement. one thing new.

It’s onerous to summarize all the changes, however I’ve created an inventory of things that square measure (in my opinion) the foremost important:

1. humanoid STUDIO

Our favorite IDE for humanoid development finally became stable with the version one.0. I will not enter an excessive amount of detail regarding why AS is nice for the event method as a result of we’ve got already lined this subject in 2 of our diary posts (first and second). i am going to simply say that the Eclipse ADT plugin is formally deprecated and that i powerfully advise you to migrate all of your apps to humanoid Studio. Hail to the king!



Gradle could be a project automation tool that has replaced Apache pismire as a primary build system for robot applications. it’s gained large quality among robot developers as a result of we will just about alter everything with it – from dividing our apps into completely different flavors, language with correct configuration, incrementing our build numbers, process external dependencies and far additional.

Because of that, it’s become a kind of associate degree “administration” tool, with that we tend to outline and maintain our project settings. Gradle is additionally one in every of the most reasons for the increasing variety of take a look at automation libraries and alter build servers, that have brought the continual integration (CI) development method to robot OS. however not everything is therefore rosy – Gradle is additionally heavily criticized for its speed of execution. It will be very slow on complicated comes, however we tend to hope that this downside are fastened within the coming versions and releases.


Google aforementioned that Lollipop was the most important improvement of robot Android operating system OS since the start of man, and that they were right. each a part of robot has undergone some modifications and enhancements, however we tend to area unit nonetheless to visualize however users can react to the changes. we tend to had plenty of issues with upgrading older devices to Lollipop, however we tend to hope that this can be fastened within the coming versions.

4. LOLLIPOP ON the surface – MATERIAL style

A lot has been written regarding bright new robot UI, referred to as Material style. It’s one in every of the foremost vital innovations on robot OS within the previous couple of years, that has fully modified the design and feel of our applications. What i favor the foremost regarding Material style is that the complete amendment of married woman principles – everything is vital. there’s no such issue as little details which might be unnoticed. we’ve to retort to each user interaction, click, touch, etc. Because, as Google says, motion provides that means. we’ve to be daring, embrace new vivid colours, use animations at each step, giant fonts – merely aforementioned – we tend to add life to our applications. Also, Material style is totally adjusted to the robot scheme and it adapts to completely different screen sizes. that is why our apps have an analogous however not constant look on completely different platforms.

Android operating system

5. LOLLIPOP ON the within – ART

Everybody’s talking concerning style, UI elements, animations, colors… however we tend to square measure developers and we’re inquisitive about what’s below the hood. And, oh boy, the engine is pure beauty: a innovative runtime system, called ART. only for the record, ART isn’t a brand new factor – it absolutely was introduced as a secondary runtime system on Kitkat Android operating system. With the introduction of Lollipop, it became the first system that has fully replaced Dalvik. ART is nice due to many things, however i will mention solely 2 of them:

It uses AOT (ahead-of-time) compilation, which implies that it compiles the intermediate language (Dalvik bytecode) into a system-dependent binary. This leads to shorter execution time of our apps, less central processing unit usage and fewer battery drain. On the opposite hand, the installation method is sort of longer.

It provides multidex support out of the box. Dalvik dex files had one major flaw – they may contain solely sixty five,356 strategies. we tend to had to arrange our humanoid applications in an exceedingly manner that the strategy count does not exceed this limitation. though this variety could seem quite massive, if {you take|you’re taking|you square measure taking} under consideration Google Play services (which are required in nearly each application) and many external libraries, you may simply exceed this limit. ART organizes your application in an exceedingly manner that it breaks byte-code in multiple dex files that square measure prepacked along in one single APK.

4. humanoid IS all over

We have began to develop apps for smartwatches, TVs and cars, however why stop there? If you’re sitting in your area and having a cup of hot low, take a second and appearance around yourself. you’ll most likely see a minimum of 5 things which is able to run humanoid OS within the next few years – the TV, laptop, tablet, camera, bicycle, room appliances, thermostats, cars, etc. humanoid started as associate degree experiment and it’s well-tried that it is run on each item which might hold atiny low microchip.


Smartphones square measure still core devices for humanoid OS. For an extended time, we tend to had issues with their overall quality. Older humanoid devices were abundant uglier and slower than older iPhones – iOS continually felt additional fluid. This was very true for cheaper devices created by a mess of Chinese makers.

Luckily, the standard and speed of humanoid smartphones have steady enlarged, thus nowadays we’ve got a superfluity of latest devices that square measure appropriate for everyone’s budget and desires. It does not matter if you wish a movable with nice camera resolution, design, processor or battery – we’ve got it all.

My personal favorite is Motorola quality (nowadays a subsidiary of the Chinese engineering company Lenovo) with their nice line of smartphones – Moto X, Moto G and Moto E, that so have a very sensible price/quality quantitative relation. Also, a team at Google is functioning on a standard smartphone. Project Ara aims to fully shake the humanoid world and, if all goes well, it most likely can.


What’s next?


As we’ve got finally fastened most of our issues with day and OS versions, we are able to shift our focus to alternative humanoid issues.

IMHO, the foremost vital downside is that the core downside of humanoid development – Java. Sorry, Java Harmony. that is essentially Java seven. Or Java 6. however isn’t Java. Don’t get Maine wrong – I powerfully believe that Java could be a sensible artificial language, however I conjointly assume that it’s the correct time to assume outside of the box. we want to start out longing for alternative programming languages that may replace Java because the primary language for humanoid development.

Just consider our most significant challenger – Apple. they need introduced a totally new language known as Swift which mixes the simplest options of many alternative languages (like Python, Ruby or C#). we tend to already would like significantly longer than iOS developers to develop constant app, and currently we’ll be even slower.

That’s why we want one thing new. we tend to already a have few concepts regarding that language may replace Java. My eyes ar assault Groovy. Its syntax is sort of just like Java (actually, it’s engineered upon Java) and that we have already got some operating prototypes. Also, do not forget that it’s the first language for Gradle – therefore why not use it in humanoid development? or even Scala (which is quickly gaining new users) or Kotlin (Jake Edith Newbold Jones Wharton recently wrote an excellent summary of Kotlin for Android operating system)?


I would conjointly prefer to signifies another downside – management API. If you commit blasphemy all over again and take a glance at our competitors – iOS (Core information, to be additional precise) – you will see that they need very nice strategies and user interface for making info objects, CRUD strategies, info amendment listeners. however if you consider the default humanoid API – we tend to still haven’t gotten aloof from writing SQL commands that greatly affects our development method.

Debugging SQL errors isn’t really easy – it is time overwhelming, and that we don’t have any user interface for staring at our info information. though there ar some sensible ORM libraries (like GreenDAO, ActiveAndroid or SugarORM), all of them have their own issues. I actually have ne’er been utterly glad with them – they need been either advanced to use or one thing has been missing (like info amendment listeners). My mind is about on Realm for humanoid and DBFlow, that i am hoping can solve all of my issues and can even have shorter execution times.


About Hassan Abbas

Hassan Abbas 24 year Old young Entrepreneur From The City Of Sialkot P@kistan. I"m Web Designer & Web Developer & Blogging Expert & SEO expert. I Have Good Knowledge And I"m Interested In Following Services, I Can Provides your help in these subjects As well As you Can Hire Me For Any Out Of These Services! thanks

Check Also

how to install solidworks without error

solidworks installation manager If you experience a blank SOLIDWORKS Installation Manager when window while attempting …

Leave a Reply

Your email address will not be published. Required fields are marked *