ݺߣ

ݺߣShare a Scribd company logo
Smartphones
By
Hekmat Sarwarzada
What is a smartphone?
? Smartphones are mobile devices that do a lot more than
just make calls and send texts. They have
? cameras;
? they play music & videos;
? they send and receive email;
? they browse the web;
? they have GPS satellite navigation.
? They also have QWERTY keyboards (real, virtual onscreen
or both) and perhaps most important of all,
? they run apps.
Apps (Applications)
? Apps (or applications) are pre-installed or downloadable
pieces of software that can do ... well, almost anything.
They could be games, they could be business & office
tools, they could be personal organizers, or they could be
silly time-wasting programs.
? Apps make smartphones more like portable computers,
which is exactly what they are. The description of a
modern smartphone sounds just like a computer, with
multi-core processors, gigabytes of memory, and a real
operating system.
Early years
? The term "smartphone" first appeared in 1997,
when Ericsson described its GS 88 "Penelope" concept as
a Smart Phone.
? In the late 1990s,PDA runs Palm OS,BlackBerry
OS or Windows CE/Pocket PC.
? In 2007, Apple Inc. introduced the iPhone, The first
mobile phones to use a multi-touch interface.
? In 2008 google bought Android and develop. And install it
on HTC dreams
Steve jobs introducing the first iPhone
YouTube Video Link: Click Here OR
http://youtu.be/9hUIxyE2Ns8
iOS
? iOS is a mobile operating system developed by Apple Inc. and distributed
exclusively for Apple hardware.
? Originally unveiled in 2007 for the iPhone, it has been extended to support
other Apple devices such as the iPod Touch and iPad(s).
? iOS is the first OS for Touchscreen Phones.
? As of October 2013, Apple's App Store contained more than 1 million iOS
applications
? It had a 21% share of the smartphone mobile operating system units shipped
in the fourth quarter of 2012.
? According to the special media event held by Apple on September 12, 2012,
400 million devices had been sold by June 2012.
?People who are really serious
about software should make
their own hardware.
Alan key
Features of iOS
? Un Customizable
? Less option
? Multitasking
? Installing Apps only from AppStore
via Apple ID
? Synchronizing with iTunes.
? Best software and hardware
combination
? Best Available iPhone Device is iPhone 5s
? Its the most powerful smartphone have ever build
? It uses 64bit CPU architecture
Jailbreak!
Android
? Android is an operating system based on the Linux kernel, and designed
primarily for touchscreen mobile devices such as smartphones and tablet
computers.
? Initially developed by Android, Inc., which Google backed financially and later
bought in 2005,
? The first publicly available smartphone running Android, the HTC Dream, was
released on October 22, 2008.
? Android is Open Source: Android's source code is released by Google under
the license which allows everyone to freely modify and distribute Android.
? The Android versions deferent from a company to another.
? Creative on direct manipulation,using touch inputs that loosely correspond to
real-world actions, like swiping, tapping, pinching, and reverse pinching to
manipulate on-screen objects.
Features of Android
? Customizable
? Multitasking
? More options
? Install Apps from Google Play and
also Unknown Sources
? Install on many brands and
devices
? Wide range of Media support
? External Storage
? Freedom!
? The best and most powerful device in android is HTC ONE M8
? 2.3 GHz quad-core Snapdragon 801 with 2 GB of RAM
Memory Management in iOS vs Android
iOS
? Apples platform has had a limited form of multitasking accessed with a double tap of the
home button. The multitasking bar is displayed at the bottom of the screen, and allows you
to flip between apps. A long-press on an icon lets the user remove an app from the
multitasking bar
? Apple only intended the multitasking bar to be a list of recent apps, not apps that are
running in the background. Its not a task manager, no matter how much it looks like one. In
fact, almost nothing in the multitasking bar is truly multitasking. Apples tightly controlled
platform instructs most apps to stop running code when the home button is pressed.
? There are five states of app activity on iOS, with the least interesting being Not Running, and
Inactive. Not Running simply means the app is closed or hasnt been launched. Inactive is a
running app that isnt running code, for example if the device is asleep. Active is the state of
an app when it is in the foreground being used.
? When an iOS user hits the home button, an Active app moves to Background. A Background
app is not on the screen, but is still executing code. Most Background apps immediately
switch to Suspended mode. A Suspended app is cached in memory, but uses no processor
cycles, and thus is running no code on the device. If the device needs more memory for a
game or other large app, Suspended apps will be cleared from RAM.
? Apps are only allowed to remain Background tasks and run code for longer than a few seconds
in specific circumstances. A series of tightly controlled APIs allow indefinite backgrounding for
things like VoIP, location tracking, and audio playback. None of this has any bearing on what
is in the multitasking bar. A well-written app should suspend itself when its done running
code, and users shouldnt really have to monitor such things on iOS.
Android
? In new versions of android, In the new recent apps list, you can swipe apps away like cards to remove them
from the list. Just like in the case of iOS, this tends to give users the feeling that they are managing tasks;
freeing up memory even. However, that is just as wrong here as it is on Apples platform.
? The recent apps list is just that, a list of recent apps with thumbnails. There is no guarantee that the apps
are actually running any code just because they are in the list. When a user hits the home button, an app
does not immediately enter some thing akin to Suspended mode on iOS. The process associated with an
Android app remains in the background and is allowed to do any work it needs to. Apps on Android might use
multiple processes, and multiple apps can share a single process.
? When users want to return to an app they have left, the process is restored as a foreground app almost
instantly. In a perfect world, an Android device would never run out of memory, and all these processes
could live in RAM forever. This being the real world, your device will probably run short of RAM at some
point. When that happens, its much the same as iOS. The system kills the process and the kernel reclaims
the resources. The next time a user opens that app, it has to completely reloaded. This app could still be in
the recent apps list, which has no bearing on whether or not its process is still running in the background.
? In more recent iterations of Android, the platform has gotten much smarter about managing tasks for you.
There is simply no reason to use a task manager to keep the system running smoothly. In fact, this could
interfere with Androids automatic process monitoring. Developers have two ways to explicitly run code in
the background and prevent it from being stopped unexpectedly. A manual task manager would interfere.
? The ways Android apps avoid being killed in the background has a parallel on iOS with the limited
Background APIs. The Broadcast Receivers component lets apps wake up for a short time to run some task or
another, and then shunts it back to a background state. This is useful for location check-ins or file syncing.
? The other way to forcibly maintain an app in the background is the Service component. An app that is
running as a Service can run indefinitely and should almost never be killed by the system. This is what
makes Android multitasking unique. Regular processes will be ended before a service, and a developer can
further indicate a Services importance by running it as foreground, but this requires a notification icon to
be persistently visible in the notification bar. You will see this behavior with automation apps like Locale as
well as with music playback.
iOS vs Android Memory Management
? Its about control, and you dont have much
? Be it iOS or Android, the operating system does most of the task management for
you. iOS never really allowed users to monkey around with running tasks, and even
now it forces developers to very clearly declare why an app needs to exist as a
non-Suspended Background process for more than a few seconds. Suspended
processes are killed as needed, and the recent apps bar has nothing to do with
that.
? Android also closes down processes that are no longer needed, but it gives
developers a few more ways to run behind the scenes. The process associated with
an app is free to run whatever code it needs in the background, but if memory is
constrained, it could be ended at any time. By running a Broadcast Receiver or
Service, apps can be assured of a little more functionality, though. Even in Android
4.0 with its slick recent apps interface, removing an app wont force-kill the
underlying process. Thats up to the system.
? The apps running in the background, be they Suspended iOS apps or Android
Services, will be handled by the system in the most efficient way. Both platforms
know to kill apps that are no longer needed, and removing things from your recent
apps list on either platform isnt going to help.
Windows Phone
? Windows Phone operating systems developed by Microsoft.
? With Windows Phone, Microsoft created a new user
interface, featuring a design language named "Modern"
("Metro").
? Its look like android!
? Bring Microsoft Application power into mobile life(windows
media player, Bing, MS Zune, Xbox, office and )
? On February 11, 2011, at a press event in London, Microsoft
CEO Steve Ballmer and Nokia CEO Stephen Elop announced a
partnership between their companies in which Windows
Phone would become the primary smartphone operating-
system for Nokia, replacing Symbian.
Features of Windows Phone
? Its closed code
? It have most features of android OS.
? For apps it use combination of Ovi store with the Windows
Phone Store
? Special apps such as windows media player, Bing, MS Zune,
Xbox, office and )
? The most powerful device with Windows phone is Nokia Lumia 1520
? featuring a quad-core 2.2GHz Qualcomm Snapdragon SoC and 2GB of RAM. It
has a great camera - a 20-megapixel
BlackBerry, Symbian, Palm/Web OS
? There are also other Mobile Operation System such as:
? BlackBerry: BlackBerry 10 is the OS of blackberry devices. It support multi
tasking function. Its close code OS. Only digitally signed apps support.
BlackBerry devices use the proprietary BlackBerry Messenger, also known as
BBM, software for sending and receiving encrypted instant messages, voice
notes, images and videos via BlackBerry PIN.
? Symbian: Symbian is an open-source mobile operating system designed
for smartphones. Its popular on Nokia devices since Nokia change it with
Windows Phone. Its support many languages.
Smart phones
Smart phones
Which One is Better?
? I dont know!
Benchmarks of some Advanced Smartphones
How we write codes for it?
? Every phone platform require special
programming tools.
? Writing codes for each one it look like their
desktop ancestors.
? For example programming in android based on
JAVA as its use also on Linux. Or windows phone
application designed made possible through
Visual Studio.NET as same for Windows
applications.
iOS Programming
? For writing code
and design
application for
iOS and also Mac,
Objective C
language is the
best choose.
Android Programming
? Java and Google
Android SDK(software
development toolkit)
uses for writing codes
and designing
application for
Android.
Windows Phone Programming
? Writing codes for Windows Phone
is possible through Microsoft Visual
Studio.NET and its special plug-ins
Thank You! Lets do some Android code!

More Related Content

Smart phones

  • 2. What is a smartphone? ? Smartphones are mobile devices that do a lot more than just make calls and send texts. They have ? cameras; ? they play music & videos; ? they send and receive email; ? they browse the web; ? they have GPS satellite navigation. ? They also have QWERTY keyboards (real, virtual onscreen or both) and perhaps most important of all, ? they run apps.
  • 3. Apps (Applications) ? Apps (or applications) are pre-installed or downloadable pieces of software that can do ... well, almost anything. They could be games, they could be business & office tools, they could be personal organizers, or they could be silly time-wasting programs. ? Apps make smartphones more like portable computers, which is exactly what they are. The description of a modern smartphone sounds just like a computer, with multi-core processors, gigabytes of memory, and a real operating system.
  • 4. Early years ? The term "smartphone" first appeared in 1997, when Ericsson described its GS 88 "Penelope" concept as a Smart Phone. ? In the late 1990s,PDA runs Palm OS,BlackBerry OS or Windows CE/Pocket PC. ? In 2007, Apple Inc. introduced the iPhone, The first mobile phones to use a multi-touch interface. ? In 2008 google bought Android and develop. And install it on HTC dreams
  • 5. Steve jobs introducing the first iPhone YouTube Video Link: Click Here OR http://youtu.be/9hUIxyE2Ns8
  • 6. iOS ? iOS is a mobile operating system developed by Apple Inc. and distributed exclusively for Apple hardware. ? Originally unveiled in 2007 for the iPhone, it has been extended to support other Apple devices such as the iPod Touch and iPad(s). ? iOS is the first OS for Touchscreen Phones. ? As of October 2013, Apple's App Store contained more than 1 million iOS applications ? It had a 21% share of the smartphone mobile operating system units shipped in the fourth quarter of 2012. ? According to the special media event held by Apple on September 12, 2012, 400 million devices had been sold by June 2012.
  • 7. ?People who are really serious about software should make their own hardware. Alan key
  • 8. Features of iOS ? Un Customizable ? Less option ? Multitasking ? Installing Apps only from AppStore via Apple ID ? Synchronizing with iTunes. ? Best software and hardware combination
  • 9. ? Best Available iPhone Device is iPhone 5s ? Its the most powerful smartphone have ever build ? It uses 64bit CPU architecture
  • 11. Android ? Android is an operating system based on the Linux kernel, and designed primarily for touchscreen mobile devices such as smartphones and tablet computers. ? Initially developed by Android, Inc., which Google backed financially and later bought in 2005, ? The first publicly available smartphone running Android, the HTC Dream, was released on October 22, 2008. ? Android is Open Source: Android's source code is released by Google under the license which allows everyone to freely modify and distribute Android. ? The Android versions deferent from a company to another. ? Creative on direct manipulation,using touch inputs that loosely correspond to real-world actions, like swiping, tapping, pinching, and reverse pinching to manipulate on-screen objects.
  • 12. Features of Android ? Customizable ? Multitasking ? More options ? Install Apps from Google Play and also Unknown Sources ? Install on many brands and devices ? Wide range of Media support ? External Storage ? Freedom!
  • 13. ? The best and most powerful device in android is HTC ONE M8 ? 2.3 GHz quad-core Snapdragon 801 with 2 GB of RAM
  • 14. Memory Management in iOS vs Android
  • 15. iOS ? Apples platform has had a limited form of multitasking accessed with a double tap of the home button. The multitasking bar is displayed at the bottom of the screen, and allows you to flip between apps. A long-press on an icon lets the user remove an app from the multitasking bar ? Apple only intended the multitasking bar to be a list of recent apps, not apps that are running in the background. Its not a task manager, no matter how much it looks like one. In fact, almost nothing in the multitasking bar is truly multitasking. Apples tightly controlled platform instructs most apps to stop running code when the home button is pressed. ? There are five states of app activity on iOS, with the least interesting being Not Running, and Inactive. Not Running simply means the app is closed or hasnt been launched. Inactive is a running app that isnt running code, for example if the device is asleep. Active is the state of an app when it is in the foreground being used. ? When an iOS user hits the home button, an Active app moves to Background. A Background app is not on the screen, but is still executing code. Most Background apps immediately switch to Suspended mode. A Suspended app is cached in memory, but uses no processor cycles, and thus is running no code on the device. If the device needs more memory for a game or other large app, Suspended apps will be cleared from RAM. ? Apps are only allowed to remain Background tasks and run code for longer than a few seconds in specific circumstances. A series of tightly controlled APIs allow indefinite backgrounding for things like VoIP, location tracking, and audio playback. None of this has any bearing on what is in the multitasking bar. A well-written app should suspend itself when its done running code, and users shouldnt really have to monitor such things on iOS.
  • 16. Android ? In new versions of android, In the new recent apps list, you can swipe apps away like cards to remove them from the list. Just like in the case of iOS, this tends to give users the feeling that they are managing tasks; freeing up memory even. However, that is just as wrong here as it is on Apples platform. ? The recent apps list is just that, a list of recent apps with thumbnails. There is no guarantee that the apps are actually running any code just because they are in the list. When a user hits the home button, an app does not immediately enter some thing akin to Suspended mode on iOS. The process associated with an Android app remains in the background and is allowed to do any work it needs to. Apps on Android might use multiple processes, and multiple apps can share a single process. ? When users want to return to an app they have left, the process is restored as a foreground app almost instantly. In a perfect world, an Android device would never run out of memory, and all these processes could live in RAM forever. This being the real world, your device will probably run short of RAM at some point. When that happens, its much the same as iOS. The system kills the process and the kernel reclaims the resources. The next time a user opens that app, it has to completely reloaded. This app could still be in the recent apps list, which has no bearing on whether or not its process is still running in the background. ? In more recent iterations of Android, the platform has gotten much smarter about managing tasks for you. There is simply no reason to use a task manager to keep the system running smoothly. In fact, this could interfere with Androids automatic process monitoring. Developers have two ways to explicitly run code in the background and prevent it from being stopped unexpectedly. A manual task manager would interfere. ? The ways Android apps avoid being killed in the background has a parallel on iOS with the limited Background APIs. The Broadcast Receivers component lets apps wake up for a short time to run some task or another, and then shunts it back to a background state. This is useful for location check-ins or file syncing. ? The other way to forcibly maintain an app in the background is the Service component. An app that is running as a Service can run indefinitely and should almost never be killed by the system. This is what makes Android multitasking unique. Regular processes will be ended before a service, and a developer can further indicate a Services importance by running it as foreground, but this requires a notification icon to be persistently visible in the notification bar. You will see this behavior with automation apps like Locale as well as with music playback.
  • 17. iOS vs Android Memory Management ? Its about control, and you dont have much ? Be it iOS or Android, the operating system does most of the task management for you. iOS never really allowed users to monkey around with running tasks, and even now it forces developers to very clearly declare why an app needs to exist as a non-Suspended Background process for more than a few seconds. Suspended processes are killed as needed, and the recent apps bar has nothing to do with that. ? Android also closes down processes that are no longer needed, but it gives developers a few more ways to run behind the scenes. The process associated with an app is free to run whatever code it needs in the background, but if memory is constrained, it could be ended at any time. By running a Broadcast Receiver or Service, apps can be assured of a little more functionality, though. Even in Android 4.0 with its slick recent apps interface, removing an app wont force-kill the underlying process. Thats up to the system. ? The apps running in the background, be they Suspended iOS apps or Android Services, will be handled by the system in the most efficient way. Both platforms know to kill apps that are no longer needed, and removing things from your recent apps list on either platform isnt going to help.
  • 18. Windows Phone ? Windows Phone operating systems developed by Microsoft. ? With Windows Phone, Microsoft created a new user interface, featuring a design language named "Modern" ("Metro"). ? Its look like android! ? Bring Microsoft Application power into mobile life(windows media player, Bing, MS Zune, Xbox, office and ) ? On February 11, 2011, at a press event in London, Microsoft CEO Steve Ballmer and Nokia CEO Stephen Elop announced a partnership between their companies in which Windows Phone would become the primary smartphone operating- system for Nokia, replacing Symbian.
  • 19. Features of Windows Phone ? Its closed code ? It have most features of android OS. ? For apps it use combination of Ovi store with the Windows Phone Store ? Special apps such as windows media player, Bing, MS Zune, Xbox, office and )
  • 20. ? The most powerful device with Windows phone is Nokia Lumia 1520 ? featuring a quad-core 2.2GHz Qualcomm Snapdragon SoC and 2GB of RAM. It has a great camera - a 20-megapixel
  • 21. BlackBerry, Symbian, Palm/Web OS ? There are also other Mobile Operation System such as: ? BlackBerry: BlackBerry 10 is the OS of blackberry devices. It support multi tasking function. Its close code OS. Only digitally signed apps support. BlackBerry devices use the proprietary BlackBerry Messenger, also known as BBM, software for sending and receiving encrypted instant messages, voice notes, images and videos via BlackBerry PIN. ? Symbian: Symbian is an open-source mobile operating system designed for smartphones. Its popular on Nokia devices since Nokia change it with Windows Phone. Its support many languages.
  • 24. Which One is Better? ? I dont know!
  • 25. Benchmarks of some Advanced Smartphones
  • 26. How we write codes for it? ? Every phone platform require special programming tools. ? Writing codes for each one it look like their desktop ancestors. ? For example programming in android based on JAVA as its use also on Linux. Or windows phone application designed made possible through Visual Studio.NET as same for Windows applications.
  • 27. iOS Programming ? For writing code and design application for iOS and also Mac, Objective C language is the best choose.
  • 28. Android Programming ? Java and Google Android SDK(software development toolkit) uses for writing codes and designing application for Android.
  • 29. Windows Phone Programming ? Writing codes for Windows Phone is possible through Microsoft Visual Studio.NET and its special plug-ins
  • 30. Thank You! Lets do some Android code!