Breaking News

1.Introduction to android

                             CHAPTER-01

android turorial




 Agenda

1.Introduction to mobile app development.
2.Reason to Go MAD.
3.Introduction to android.
4.Android version history.
5.The android architecture.

The Pre-requisites

1.Basic of OOPs.
2.Familiarity with core java(JSE).

                        
Q. Why should I go for mobile development?

Ans :-In today’s mobile world, there should be no question as to whether a business should have a Mobile App (i.e. its own proactive mobile presence) … only to when.  Would you ask whether your business should have a website, for example? Of course not – in today’s internet-based world, where almost everyone goes to the Worldwide Web for answers and providers in response to whatever questions they may have, as well as to communicate whatever their own messages and services may be, the idea of a business not having its own website is silly! And yet, did you know that:
  • there are more mobile phones than PC’s, and 64% of mobile phone time is spent on Apps?
  • Customers use mobile Apps 6x more than websites?
  • On average people check their mobile phones over 150 times a day – that’s once every 6 minutes!?
  • 79% of smartphone users use their phones to make purchasing decisions and over 50% of those users make some sort of purchase with-in 1 hour compared to 1 month on a desktop?
  • 85% of business owners have a smartphone and 73% of them use Apps on a daily basis?
  • Windows 8 is a mobile operating system – this is the new standard for OS’s – Microsoft is not giving anyone a choice – everything and everyone is being directed towards mobile
Mobile Facts


What is Android?

[]As per Google:-
             "Android is a software stack for mobile devices that include an operating system, middleware and key application.

The Android Architecture. 

Why android rocks?

  • Open source .
  • Google's Support.
  • Development opportunities.
  • Affordable.
  • High salaries.
  • It's Free.

History of android

⬜Android,Inc. was founded in California, united state in October,2003 by andy rubin to develop smarter mobile devices.

⬜On August, 2005 google acquired Android Inc. Making android Inc. a wholly owned subsidiary of Google Inc. and made Andy, CTO of it's mobile operations. 

⬜At google, the team lead by rubin developed a mobile device platform powered by the Linux kernel .


⬜ In 2007, the Open handset Alliance a consortium of several companies which include Google, HTC, Intel, LG, Motorola, Samsung, T-Mobile etc was announced.

⬜The goal of the Open Handset Alliance is to develop open standards for mobile devices,

⬜In 2008, 14 new members joined, including Sony Ericsson, Toshiba Corp, and Vodafone Group.

⬜As of today OHA is group of 86 Companies.












  Versions of android 




Android Version History


Name Version Release date
Cupcake 1.5 27th April 2009
Donut 1.6 15th September 2009
Eclair 2.0/2.1 26th October 2009
Froyo(Frozon Yogurt) 2.2 20th may 2010
Ginger Bread 2.3 6th December 2010
Honey Comb 3.0/3.1/3.2 22nd February 2011
Ice Cream Sandwich 4.0 16th December 2011
Jelly Bean 4.1/4.2/4.3 9th July 2012
Kit Kat 4.4 31th October 2013
Lollipop 5.0/5.1 12th November
Marshmallow 6.0 5th October
Nougat 7.0 22nd Aug 2016

Android Market Share

Android has captured a market share of 81.5% and is the topmost smartphone.
⬜IOS of apple is at second position with 14.8%.
⬜Windows Phone holds third sop with 2.7%.
⬜BlackBerry holds fourth spot with 0.6%.




Android's Interesting Facts

⬜ 20 Million app developers required by 2020.
⬜On 11th july 2016 Google has announced that it will hire 2 Million  Indian Android developers for it 's new development center at Hyderabad.
⬜Avg salary of an junior android developer is $117,000 (Rs 7605000).


Android v/s IOS




The Android Mascot

Irina Blok, a designer at google, Created the famous green android robot logo . Surprisingly, it was inspired by pictograms of the universal man and woman that often appear on bathroom doors.


Android Powered Devices

⬜Smartphones.
⬜Tablets.
⬜E-reader devices.
⬜TVs.
⬜Music Players.
⬜Android Watch.
⬜Android Auto.

and many more. . .


Google Play

⬜Google Play, is the official app store for android smartphones and tablets.

⬜As an Android Developer to make our app publically available we need to publish it on Google Play.

⬜The membership fee for it is $25 life time.

Monetary Benefits

⬜Till May 2016 , 65 billion downloads have been made from Google Play.

⬜Application developers receive 70% of the application price.

⬜The remaining 30% is distributed among carriers and payment processors.

⬜Google itself does not take a percentage.

Android Architecture.

1.Linux kernel 

Android is built on the Linux kernel, but Android is not Linux.

Does not include the full set of standard Linux utilities.

Only provides core system services such as process, memory, power management, network stack,  driver model and security.

The Android kernel source is available today.
      ◽ http://git.android.com




2.Libraries

⬜C/C++ library.

⬜Designed for CPUs at relatively low clock frequencies.

WebKit
                 - Full CSS, Javascript, DOM, AJAX support

Media Framework
                 - Supports standard video, audio, still-frame formats

SQLite
                 - Light-weight transactional data store
                 - Back end for most platform data storage



3.Android Runtime

⬜Application Developed Language : Java

⬜Dalvik Virtual Machine 
       ◽Instrction set: Dalvik Excutable.

⬜Java Standard Library
        ◽Compile java code to Dalvik Executable(dex format).

  

4.Application Framework

⬜Written in JAVA programming language.

⬜Activity Manager
        - manage the life cycle of application.

⬜ Content Provider
         - Share data between application.

⬜Notification Manager.
           - Display custom alerts in the status bar


5.Applcations

⬜Use the powerful and flexible application framework to develop your application.

⬜Written in JAVA programming language.



Android Development Process







⬜Android applications are primary written in the Java programming language.

⬜The Java source files are converted to Java class files by the Java compiler.

⬜Android provides a tool dx which converts Java class files into a dex (Dalvik Executable) file. All class files of one application are placed in one compressed .dex file. 

⬜The .dex file and the resources of an Android project, e.g. the images and XML files are packed into an .apk(Android Package) file.

⬜The resulting .apk file contains all necessary data to run the Android application and can be deployed to an Android device.


Thank You. . .
⬜⬜⬜





No comments