{"id":153,"date":"2018-12-06T22:38:55","date_gmt":"2018-12-06T17:08:55","guid":{"rendered":"http:\/\/blogs.shydrate.com\/?p=153"},"modified":"2018-12-06T22:39:37","modified_gmt":"2018-12-06T17:09:37","slug":"difference-between-android-and-ios","status":"publish","type":"post","link":"http:\/\/blogs.shydrate.com\/index.php\/2018\/12\/06\/difference-between-android-and-ios\/","title":{"rendered":"Difference between Android and IOS:"},"content":{"rendered":"<p class=\"p1\"><em><strong>1. Architecture:<\/strong><\/em><\/p>\n<p class=\"p1\">IOS:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-151 aligncenter\" src=\"http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/Ios-Arch-300x288.png\" alt=\"\" width=\"300\" height=\"288\" srcset=\"http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/Ios-Arch-300x288.png 300w, http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/Ios-Arch.png 320w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p class=\"p1\">1.<span class=\"Apple-converted-space\">\u00a0 <\/span>In IOS architecture there are 4 layers mainly Cocoa touch, Media player, Core services, Core Os.<\/p>\n<p class=\"p1\">Core OS:<\/p>\n<p class=\"p1\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-148 alignleft\" src=\"http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/Core-os-layer-300x146.png\" alt=\"\" width=\"329\" height=\"160\" srcset=\"http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/Core-os-layer-300x146.png 300w, http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/Core-os-layer-365x179.png 365w, http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/Core-os-layer.png 369w\" sizes=\"auto, (max-width: 329px) 100vw, 329px\" \/>This layer contains the low-level features on basis of which the other high-level features are built. Though we may not use these services directly, they used by the frameworks which are used by our\u00a0application. We\u00a0can make use of these features when we need to implement the security features or communicating with an external hardware accessory.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p class=\"p1\">Core Service layer:<\/p>\n<p class=\"p1\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-149 alignleft\" src=\"http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/Core-service-300x258.png\" alt=\"\" width=\"333\" height=\"286\" srcset=\"http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/Core-service-300x258.png 300w, http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/Core-service.png 556w\" sizes=\"auto, (max-width: 333px) 100vw, 333px\" \/>This Layer contains basic system services for apps. Core Foundation and Foundation Frameworks are the key services provided by this layer, which define the basic types that all apps use it also has the technologies which support the features like location, iCloud, social media and networking.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p class=\"p1\">Media Layer:<\/p>\n<p class=\"p1\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-150 alignleft\" src=\"http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/Media-layer-300x100.png\" alt=\"\" width=\"339\" height=\"113\" srcset=\"http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/Media-layer-300x100.png 300w, http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/Media-layer.png 661w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/>This layer contains the graphics, audio, and video technologies you use to implement multimedia experiences in your apps. The technologies in this layer make it easy for you to build apps that look and sound great.<\/p>\n<p>&nbsp;<\/p>\n<p class=\"p1\">Cocoa touch:<\/p>\n<p class=\"p1\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-147 alignleft\" src=\"http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/cocoa-touch-300x113.png\" alt=\"\" width=\"343\" height=\"129\" srcset=\"http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/cocoa-touch-300x113.png 300w, http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/cocoa-touch.png 642w\" sizes=\"auto, (max-width: 343px) 100vw, 343px\" \/>Cocoa Touch mainly contains the classes implemented in Objective-C, an object-oriented language that is compiled to run at incredible speed, yet employs a truly dynamic runtime making it uniquely flexible. Because Objective-C is a superset of C, it is easy to mix C and even C++ into your Cocoa Touch\u00a0applications<\/p>\n<p class=\"p1\">Android:<\/p>\n<p class=\"p1\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-152 aligncenter\" src=\"http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/android-arch-300x215.jpg\" alt=\"\" width=\"486\" height=\"348\" srcset=\"http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/android-arch-300x215.jpg 300w, http:\/\/blogs.shydrate.com\/wp-content\/uploads\/2018\/12\/android-arch.jpg 485w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/>In Android, there are mainly 4 layers: Linux kernel, Libraries &amp; Android Runtime, Application framework, and application.<\/p>\n<p class=\"p1\">Linux Kernel:<\/p>\n<p class=\"p1\">Android is partly Linux with some changes. In this layer device drivers, memory management, process management, and networking. However, we will never be programmed to this layer directly.<\/p>\n<p class=\"p1\">Libraries &amp; Android runtime:<\/p>\n<p class=\"p1\">This layer contains native libraries. They are all written in C\/C++ internally, but you&#8217;ll be calling them through Java interfaces. In this layer, you can find the Surface Manager (for compositing windows), 2D and 3D graphics, Media codecs (MPEG-4, H.264, MP3, etc.), the SQL database (SQLite), and a native web browser engine (WebKit).<\/p>\n<p class=\"p1\">Next is the Android runtime, including the Dalvik Virtual Machine. Dalvik runs\u00a0dex\u00a0files, which are converted at compile time from standard\u00a0class\u00a0and\u00a0jar\u00a0files. Dex files are more compact and efficient than class files, an important consideration for the limited memory and battery-powered devices that Android targets. Java libraries are also part of the Android runtime. They are written in Java, as is everything above this layer.<\/p>\n<p class=\"p1\">Application framework:<\/p>\n<p class=\"p1\">Parts of this toolkit are provided by Google, and parts are extensions or services that you write. The most important component of the framework is the Activity Manager, which manages the lifecycle of applications and a common &#8220;back-stack&#8221; for user navigation.<\/p>\n<p class=\"p1\">Application:<\/p>\n<p class=\"p1\">This is the top layer. Most of our code will live here, alongside built-in applications such as the Phone and Web Browser.<\/p>\n<p class=\"p1\"><em><strong>2. Security:<\/strong><\/em><\/p>\n<p class=\"p1\">Studies have found that a far higher percentage of mobile malware targets Android than iOS, the software that runs Apple\u2019s devices. That\u2019s down both to Android\u2019s huge global popularity and its open approach. Plus, Apple tightly controls which apps are available on its App Store, vetting all apps to avoid allowing malware through.<\/p>\n<p class=\"p1\">Many threats to Android could be largely eliminated if all users upgraded their handsets to the latest version of the OS. The fragmentation of Android devices across old versions plays into the hands of malware creators, so it\u2019s vital to keep your own devices up to date.<\/p>\n<p class=\"p1\">Apple has no similar problem, as each release of iOS quickly filters through to users. Indeed, iOS updates are big events that prompt mass upgrades, and that means significant security scares are rare enough to be big news when they occur. There are of course downsides to Apple\u2019s tight grip over everything that occurs on its platform, but there\u2019s no doubt it makes for a more secure environment for casual users.<\/p>\n<p>Majority cellphone users are android and that is the reason that android phones are easy to hack as hacker target majority users. And you might have read articles about google, facebook collecting data. if you are using apple phones chances are less .<\/p>\n<p class=\"p3\"><span class=\"s1\">Source:\u00a0<\/span><span class=\"s1\"><a href=\"https:\/\/us.norton.com\/internetsecurity-mobile-android-vs-ios-which-is-more-secure.html\">1 <\/a><\/span><span class=\"s1\">\u00a0<a href=\"https:\/\/www.zdnet.com\/article\/how-android-works-the-big-picture\/\">2<\/a><\/span>\u00a0<a href=\"https:\/\/tilakgondi.wordpress.com\/2015\/01\/14\/ios-architecture\/\">3<\/a><\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>1. Architecture: IOS: 1.\u00a0 In IOS architecture there are 4 layers mainly Cocoa touch, Media player, Core services, Core Os. Core OS: This layer contains the low-level features on basis of which the other high-level features are built. Though we<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[10,9],"class_list":["post-153","post","type-post","status-publish","format-standard","hentry","category-my-articles","tag-android-vs-ios","tag-difference-between-android-and-ios"],"_links":{"self":[{"href":"http:\/\/blogs.shydrate.com\/index.php\/wp-json\/wp\/v2\/posts\/153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blogs.shydrate.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blogs.shydrate.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blogs.shydrate.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blogs.shydrate.com\/index.php\/wp-json\/wp\/v2\/comments?post=153"}],"version-history":[{"count":2,"href":"http:\/\/blogs.shydrate.com\/index.php\/wp-json\/wp\/v2\/posts\/153\/revisions"}],"predecessor-version":[{"id":155,"href":"http:\/\/blogs.shydrate.com\/index.php\/wp-json\/wp\/v2\/posts\/153\/revisions\/155"}],"wp:attachment":[{"href":"http:\/\/blogs.shydrate.com\/index.php\/wp-json\/wp\/v2\/media?parent=153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blogs.shydrate.com\/index.php\/wp-json\/wp\/v2\/categories?post=153"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blogs.shydrate.com\/index.php\/wp-json\/wp\/v2\/tags?post=153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}