Smart Smart Phone Development

Embed Size (px)

Citation preview

  • 8/6/2019 Smart Smart Phone Development

    1/31

    SMARTPHONE DEVELOPMENT:

    IOSVERSUSANDROID

  • 8/6/2019 Smart Smart Phone Development

    2/31

    WHAT IS SMART SMARTPHONE?

    While there is no standard definition of the term

    "smartphone" across the industry, but usually, any

    phone which does more things than the normal cell

    phone does is categorized as smart phone.

    Asmartphone is a mobile phone that offers more

    advanced computing ability and connectivity .

    We can think of a smartphone like a miniaturecomputer that can also place and receive calls.

  • 8/6/2019 Smart Smart Phone Development

    3/31

    CONTINUED

    Smart phones run complete operating system softwareproviding a platform for application development.

    While almost all cell phones include some sort of

    software, a smartphone will have the ability to domore.

    It may allow you to create and edit Microsoft Office

    documents--or at least view the files.

    Or it may allow you to edit photos, get driving

    directions via GPS, and create a playlist of digital

    tunes.

  • 8/6/2019 Smart Smart Phone Development

    4/31

    KEY SMARTPHONE FEATURES:

    Operating System: In general, a smartphone will be

    based on an operating system that allows it to run

    productivity applications.

    Software: Smart phones are equipped with muchmore software applications, and offer many features,

    which enlarges the purpose area to Internet access,

    digital photography, GPS and other areas.

    Messaging:All cell phones can send and receive text

    messages, but what sets a smartphone apart is its

    better handling of e-mails.

  • 8/6/2019 Smart Smart Phone Development

    5/31

    CONTINUED

    Web Access: Smartphones can access the Web at

    higher speeds, thanks to the growth of 3G data

    networks and the addition of Wi-Fi support to many

    handsets.

    QWERTY Keyboard: Many cell phones now have full

    QWERTYkeyboards, but this is a basic requirement

    for smartphones.

  • 8/6/2019 Smart Smart Phone Development

    6/31

    INCREASING MARKET SHARE OF SMARTPHONES :

    According to figures for 2010 released by Gartner,

    smartphones accounted 19% of the mobile phones sold

    that year. That's 72.1% more sales than in 2009.

    The Coda Research Consultancy predict globalsmartphone sales of some 2.5 billion over the 2010-

    2015 period.

    Mobile Internet use via smartphones will increase 50

    fold by the end of that period.

    Morgan Stanley Research estimates sales of

    smartphones will exceed those of PCs in 2012.

  • 8/6/2019 Smart Smart Phone Development

    7/31

    NEED OF SMARTPHONE DEVELOPMENT?

    In a remarkably short timeframe, developing apps for

    smartphones has gone from an arcane curiosity to an

    essential skill set.

    Employers are scrambling to find developers capable of

    transforming their ideas into apps.

    As a result industry need for smartphone developers is

    increasing at a rapid pace.

  • 8/6/2019 Smart Smart Phone Development

    8/31

    DIFFERENT SMARTPHONE OS PLATFORMS:

    There are a plethora of platform possibilities:

    y Googles Android

    Developed by Google.

    Market leader having more than 33% share.

    Supports Multitasking. More than 1,00,000 apps available.

    y iPhone OS

    Developed by Apple Inc.

    Simple and elegant. Supports Multitasking.

    More than 3,50,000 apps available

  • 8/6/2019 Smart Smart Phone Development

    9/31

    CONTINUED

    y Windows Mobile Developed by Microsoft.

    Newer than iOS and Android.

    Fewer apps available, not app centric.

    Little market share.

    y RIMs BlackBerry Less development support available.

    Though older than iOS and Android, only around 20,000

    apps available.

    Decreasing market share.

    y Samsungs Bada Newest OS in field.

    Lacks multitasking.

    Little market share.

  • 8/6/2019 Smart Smart Phone Development

    10/31

    WHICH PLATFORM A DEVELOPER SHOULD OPT?

    A detailed examination of so many platforms is impractical

    here, so I have decided to concentrate on two of the leading

    platforms, Google's Android and Apple's iOS.

    We will compare their hardware/operating system

    requirements, Software Development Kits (tools,

    frameworks, languages, documentation),instructor

    resources, and finish up by describing the development of a

    s on both platforms.

  • 8/6/2019 Smart Smart Phone Development

    11/31

    1.HARDWARE/OS REQUIREMENTS

  • 8/6/2019 Smart Smart Phone Development

    12/31

    IOS

    Intel based Macintosh

    Computer. Mac OS X 10.6 (Snow

    Leopard).

  • 8/6/2019 Smart Smart Phone Development

    13/31

    ANDROID

    Unlike iOS, which is

    restricted to Mac OS X,

    Android apps can be

    developed using any of the

    current major operating

    systems, Windows (XP or

    higher), Mac OS X (10.5.8

    or higher), and Linux

    systems (running withkernel 2.6 or higher).

  • 8/6/2019 Smart Smart Phone Development

    14/31

    2.SOFTWARE DEVELOPMENT KIT

  • 8/6/2019 Smart Smart Phone Development

    15/31

    IOS

    iOS apps are written using Xcode, a modern IDEused to code, debug, and lay out the interface.

    iOS applications are most commonly written

    using Objective-C, a superset of ANSI-C thatborrows its OO syntax from SmallTalk.

    The iOS simulator lets you build and run youriPhone or iPad application on your computer.

    The simulator application presents the iPhone oriPad user interface in a window on yourcomputer.

  • 8/6/2019 Smart Smart Phone Development

    16/31

    CONTINUED

    The first step towards testing our applications on areal device is to sign up for the iPhone Developer

    Program at

    http://developer.apple.com/iphone/program/.

    There are two programs available - Standard and

    Enterprise. For most developers wanting to release

    applications on the App Store, they can simply sign up

    for the Standard program, which costs US$99 per year.

    In an Xcode project, the interface is specified in a .xib

    file, and the implementation in an Objective-C class.

  • 8/6/2019 Smart Smart Phone Development

    17/31

    CONTINUED

    Creating the Project:

    y When creating a new project in Xcode, the user

    is offered multiple templates. We choose one

    according to our need, a Viewbasedapplication, targeted for the iPhone. The

    template provides:

    A single view, stored in a .xib file, on which we

    graphically lay out the interface elements of the

    project;

  • 8/6/2019 Smart Smart Phone Development

    18/31

    CONTINUED

    a view controller, stored as code in a .h (header) and

    .m(implementation) file, which plays its customary

    role as an intermediary between the view and model;

    and

    A .plist (property list) file, in which we define the

    app's name, and icon, and other items.

    However, people must deal with memory management

    themselves for performance reasons garbage

    collection is not available.

  • 8/6/2019 Smart Smart Phone Development

    19/31

    ANDROID

    The Android software development kit (SDK)

    includes a comprehensive set of development

    tools. These include a debugger, libraries, a

    handset emulator, documentation, sample code,

    and tutorials. Eclipse is the recommended and most popular

    development environment for Android.

    The GUI layout for an Android app consists ofXML files which include Layout and View

    elements.

  • 8/6/2019 Smart Smart Phone Development

    20/31

    CONTINUED

    An Android project has three main elements:

    y Manifest file detailing its internal organization,

    y Resources, such as images and files, and

    y

    The main Activity and associated class files.

    The directory hierarchy and a basic template for all

    three elements are created when a new project is

    begun in Eclipse.

  • 8/6/2019 Smart Smart Phone Development

    21/31

    3.SAMPLE EXAMPLE

  • 8/6/2019 Smart Smart Phone Development

    22/31

    IOS

  • 8/6/2019 Smart Smart Phone Development

    23/31

    CODE SNIPPET

    @implementation basicViewController

    - (IBAction) submitYourName

    {lblUserTypedName.text = txtUserName.text;

    }

    @end

  • 8/6/2019 Smart Smart Phone Development

    24/31

    ANDROID

  • 8/6/2019 Smart Smart Phone Development

    25/31

    CODE SNIPPET

  • 8/6/2019 Smart Smart Phone Development

    26/31

    SUMMARY

    iOS Android

    Minimum

    Development

    Operating System

    Requirements

    Mac OS X 10.6 Windows XPLinux

    Mac OS X 10.5.8

    DevelopmentDevice

    iPhone 3GiPod Touch

    iPhone 4

    iPad

    Nexus OneSamsung Galaxy S

    Motorola Milestone

    IDE Xcode Eclipse 3.5

    GUI Creation Xcode XML

    Language Objective-C Java

    Reference

    Website

    http://developer.

    apple.com/iphone

    http://developer.

    android.com/

  • 8/6/2019 Smart Smart Phone Development

    27/31

    CONCLUSION

    Both iOS and Android have their advantages.

    iOS development requires a specific type of

    hardware that may be more difficult to obtain but

    it gives exposure to another operating system.

    On the other hand Android development can take

    place in any modestly equipped computer science

    laboratory. The iOS gives advantage to exposing

    professionals to a relatively novel language and

    development environment.

  • 8/6/2019 Smart Smart Phone Development

    28/31

    CONTINUED

    Developers have to deal with memory managementissues in iOS.

    But there can be no denying that students studying

    Android will likely know Java; students studying iOS

    will very likely not know Objective-C.

    Both are capable of 2D and 3D graphics with OpenGL

    and database management with SQLite.

    Computing on mobile devices is mushrooming, and

    regardless of platform choice there are enough

    opportunities for the developers to make their careerin this relatively new field of application

    development, and make for an exciting professional

    experience

  • 8/6/2019 Smart Smart Phone Development

    29/31

    REFERENCES:

    ACM Digital Library-

    y Smartphone Development: iOS versus Android

    Authors:

    Mark H. Goadrich:C

    entenaryC

    ollege ofLouisiana, Shreveport, LA, USA

    Michael P. Rogers:Northwest Missouri

    State University, Maryville, MO, USA

    Published: March 2011.

    http://developer.android.com http://developer.apple.com

  • 8/6/2019 Smart Smart Phone Development

    30/31

    THANKYOU!

    Prashant Kumar

    GRNo-08c015

    MCA(III).

  • 8/6/2019 Smart Smart Phone Development

    31/31

    QUESTIONS?