You are on page 1of 31

SMARTPHONE DEVELOPMENT:

IOS VERSUS ANDROID


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.

• A smartphone is a mobile phone that offers more advanced


computing ability and connectivity .

• We can think of a smartphone like a miniature computer that


can also place and receive calls.
CONTINUED…

• Smart phones run complete operating system software


providing a platform for application development.

• While almost all cell phones include some sort of software, a


smartphone will have the ability to do more.
• 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.
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 much more


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.
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


QWERTY keyboards, but this is a basic requirement for
smartphones.
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 global smartphone
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.
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.
DIFFERENT SMARTPHONE OS PLATFORMS:

There are a plethora of platform possibilities:


 Google’s Android
 Developed by Google.
 Market leader having more than 33% share.

 Supports Multitasking.

 More than 1,00,000 apps available.

 iPhone OS
 Developed by Apple Inc.
 Simple and elegant.

 Supports Multitasking.

 More than 3,50,000 apps available


CONTINUED…
 Windows Mobile
 Developed by Microsoft.
 Newer than iOS and Android.

 Fewer apps available, not app centric.

 Little market share.

 RIM’s BlackBerry
 Less development support available.
 Though older than iOS and Android, only around 20,000 apps

available.
 Decreasing market share.

 Samsung’s Bada
 Newest OS in field.
 Lacks multitasking.

 Little market share.


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.
1.HARDWARE/OS REQUIREMENTS
IOS

 Intel based Macintosh


Computer.
 Mac OS X 10.6 (Snow
Leopard).
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 with kernel 2.6 or
higher).
2.SOFTWARE DEVELOPMENT KIT
IOS
 iOS apps are written using Xcode, a modern IDE used to
code, debug, and lay out the interface.

 iOS applications are most commonly written using


Objective-C, a superset of ANSI-C that borrows its OO
syntax from SmallTalk.

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

 The simulator application presents the iPhone or iPad


user interface in a window on your computer.
CONTINUED…
 The first step towards testing our applications on a real 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.
CONTINUED…

 Creating the Project:


 When creating a new project in Xcode, the user is
offered multiple templates. We choose one according
to our need, a Viewbased application, 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;
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.
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 of XML


files which include Layout and View elements.
CONTINUED…
 An Android project has three main elements:
 Manifestfile detailing its internal organization,
 Resources, such as images and files, and
 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.
3.SAMPLE EXAMPLE
IOS
CODE SNIPPET

@implementation basicViewController
- (IBAction) submitYourName
{
lblUserTypedName.text = txtUserName.text;
}
@end
ANDROID
CODE SNIPPET
SUMMARY
iOS Android

Minimum Mac OS X 10.6 Windows XP


Development Linux
Operating System Mac OS X 10.5.8
Requirements
Development iPhone 3G Nexus One
Device iPod Touch Samsung Galaxy S
iPhone 4 Motorola Milestone
iPad
IDE Xcode Eclipse 3.5

GUI Creation Xcode XML

Language Objective-C Java

Reference http://developer. http://developer.


Website apple.com/iphone android.com/
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.
CONTINUED…
 Developers have to deal with memory management issues 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 career in this relatively new field of
application development, and make for an exciting
professional experience
REFERENCES:
 ACM Digital Library-
 Smartphone Development: iOS versus Android
Authors:
Mark H. Goadrich: Centenary College of
Louisiana, Shreveport, LA, USA
Michael P. Rogers: Northwest Missouri
State University, Maryville, MO, USA
Published: March 2011.
• http://developer.android.com
• http://developer.apple.com
THANK YOU!

Prashant Kumar
GR No-08c015
MCA(III).
QUESTIONS?

You might also like