SlideShare a Scribd company logo
Android vs iOS
COMPARISON
Aspects
• Project structure
• Output final type
• Components build up
• Some other kind of facing
• Using style
Project structure
Output final type
• .IPA
• .APK
Components build up
• Naming
– NSString >< String
– NSObject ><Object
– NSInteger ><Integer
– ….
– UIView >< View
– UIButton >< Button
– UILabel >< Label
– UITextField >< EditText
– ….
• Storage
– NSUserDefault ><SharedPrefrence
• Layout
– .XIB>< .XML
• Controller
– UIViewController >< Activity
• Logging
– NSLog >< Log
• List Data
– UITableView>< ListView
• Notification
– iToast >< Toast
– UIAlert ><Alert
Some other kind of facing
• Declare
• Import libs
• Switching screen
• UnitTest
• ATT
Declare
Object object = new Object();
Student student = new Student("Nguyen Tuan Anh", "24", "Male");
Class Student{
private String name;
private int age;
private String gender;
public Student(String name, int age, String gender){
this.name = name;
this.age = age;
this.gender = gender;
}
}
Import Libs
• Same as:
– Add from static library:
• .a >< .jar
– Add module: same way.
– Add from resource :
• Cocoapod >< Maven
• Podfile >< pom.xml
Switching screen
• IOS :
– Don’t have default screen
– Self.window setRootViewController
– Using navigation controller to deligate
• pushViewController
• popViewController
• Android:
– Using IntentFilter set default screen
– Throw an Intent to transfer data + switch
screen
– Replace screen if using fragment
(using Support-V4 with FragmentManager)
Using style
• Debugging
• Looping: for | while | do while | ..
• Constructor( init )
• MultiScreen
• MultiVersion
• Transfer data between multible screen
Debugging iOS
Debugging android
MultiScreen
• IOS:
– IPad
– Iphone
• pixel density:
– Rentina
– Not rentina
• Size screen:
– 3.5 : Ip4
– 4 : Ip5
– 4.7 : Ip6 (near future)
– Something others
• Android: there are many way to
understand it
– Pixel density:
• Mdpi
• Hdpi
• Xhdpi
• Xxhdpi
• xxxhdpi
– Size screen:
• Small
• Normal
• Large
• Xlarge
• XXLarge
MultiScreen
Transfer data between screens
• iOS:
– setup next screen in current
screen & prepare data for it
before start.
– Other way:
• No suggest
• File
– SQLite
– NSUserDefault
– Core data (file has structure)
– …
• Android:
– Same as model driven - new
way was applied this time.
– Other way:
• Put data into Intent as bundle
• File
– SQLite
– SharedPreference
– Simple file
Thanks for view!

More Related Content

What's hot

MongoDB Strange Loop 2009
MongoDB Strange Loop 2009MongoDB Strange Loop 2009
MongoDB Strange Loop 2009
Mike Dirolf
 
Why The Cloud Is A Computational Biologist's Best Friend
Why The Cloud Is A Computational Biologist's Best FriendWhy The Cloud Is A Computational Biologist's Best Friend
Why The Cloud Is A Computational Biologist's Best Friend
Yannick Pouliot
 
Paperclip
PaperclipPaperclip
Paperclip
treby
 
MongoDB
MongoDBMongoDB
MongoDB
Rony Gregory
 
Keynote - Silicon Valley Cloud Computing User Group Meet - April 2011 - Srira...
Keynote - Silicon Valley Cloud Computing User Group Meet - April 2011 - Srira...Keynote - Silicon Valley Cloud Computing User Group Meet - April 2011 - Srira...
Keynote - Silicon Valley Cloud Computing User Group Meet - April 2011 - Srira...
Sriram Krishnan
 
Backbone Dev Talk by Max Mamis
Backbone Dev Talk by Max MamisBackbone Dev Talk by Max Mamis
Backbone Dev Talk by Max Mamis
Prolific Interactive
 

What's hot (6)

MongoDB Strange Loop 2009
MongoDB Strange Loop 2009MongoDB Strange Loop 2009
MongoDB Strange Loop 2009
 
Why The Cloud Is A Computational Biologist's Best Friend
Why The Cloud Is A Computational Biologist's Best FriendWhy The Cloud Is A Computational Biologist's Best Friend
Why The Cloud Is A Computational Biologist's Best Friend
 
Paperclip
PaperclipPaperclip
Paperclip
 
MongoDB
MongoDBMongoDB
MongoDB
 
Keynote - Silicon Valley Cloud Computing User Group Meet - April 2011 - Srira...
Keynote - Silicon Valley Cloud Computing User Group Meet - April 2011 - Srira...Keynote - Silicon Valley Cloud Computing User Group Meet - April 2011 - Srira...
Keynote - Silicon Valley Cloud Computing User Group Meet - April 2011 - Srira...
 
Backbone Dev Talk by Max Mamis
Backbone Dev Talk by Max MamisBackbone Dev Talk by Max Mamis
Backbone Dev Talk by Max Mamis
 

Similar to Compare android vs_i_os

Android development - the basics, MFF UK, 2013
Android development - the basics, MFF UK, 2013Android development - the basics, MFF UK, 2013
Android development - the basics, MFF UK, 2013
Tomáš Kypta
 
Synapse india mobile apps update
Synapse india mobile apps updateSynapse india mobile apps update
Synapse india mobile apps update
Synapseindiappsdevelopment
 
Synapse india reviews on i phone and android os
Synapse india reviews on i phone and android osSynapse india reviews on i phone and android os
Synapse india reviews on i phone and android os
saritasingh19866
 
Introduction to Android Development and Security
Introduction to Android Development and SecurityIntroduction to Android Development and Security
Introduction to Android Development and Security
Kelwin Yang
 
Pretty 'Awesome' apps (demo at Mobilise Meetup)
Pretty 'Awesome' apps (demo at Mobilise Meetup)Pretty 'Awesome' apps (demo at Mobilise Meetup)
Pretty 'Awesome' apps (demo at Mobilise Meetup)
David Douglas
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
Can Elmas
 
Android Workshop_1
Android Workshop_1Android Workshop_1
Android Workshop_1
Purvik Rana
 
Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1
drudolph11
 
Android Programming Basic
Android Programming BasicAndroid Programming Basic
Android Programming Basic
Duy Do Phan
 
Android development - the basics, MFF UK, 2014
Android development - the basics, MFF UK, 2014Android development - the basics, MFF UK, 2014
Android development - the basics, MFF UK, 2014
Tomáš Kypta
 
Adventures in cross platform ConnectJS / TiConnect 2014
Adventures in cross platform ConnectJS / TiConnect 2014Adventures in cross platform ConnectJS / TiConnect 2014
Adventures in cross platform ConnectJS / TiConnect 2014
Jason Kneen
 
Android webinar class_1
Android webinar class_1Android webinar class_1
Android webinar class_1
Edureka!
 
Native Script Overview
Native Script OverviewNative Script Overview
Native Script Overview
Baskar rao Dsn
 
Ios development
Ios developmentIos development
Ios development
Shakil Ahmed
 
Intro to appcelerator
Intro to appceleratorIntro to appcelerator
Intro to appcelerator
Mohab El-Shishtawy
 
Cardboard VR: Building Low Cost VR Experiences
Cardboard VR: Building Low Cost VR ExperiencesCardboard VR: Building Low Cost VR Experiences
Cardboard VR: Building Low Cost VR Experiences
Mark Billinghurst
 
Android development - the basics, MFF UK, 2012
Android development - the basics, MFF UK, 2012Android development - the basics, MFF UK, 2012
Android development - the basics, MFF UK, 2012
Tomáš Kypta
 
Native script overview
Native script overviewNative script overview
Native script overview
Baskar rao Dsn
 
Griffon for the Enterprise
Griffon for the EnterpriseGriffon for the Enterprise
Griffon for the Enterprise
James Williams
 
MEAN Stack Warm-up
MEAN Stack Warm-upMEAN Stack Warm-up
MEAN Stack Warm-up
Troy Miles
 

Similar to Compare android vs_i_os (20)

Android development - the basics, MFF UK, 2013
Android development - the basics, MFF UK, 2013Android development - the basics, MFF UK, 2013
Android development - the basics, MFF UK, 2013
 
Synapse india mobile apps update
Synapse india mobile apps updateSynapse india mobile apps update
Synapse india mobile apps update
 
Synapse india reviews on i phone and android os
Synapse india reviews on i phone and android osSynapse india reviews on i phone and android os
Synapse india reviews on i phone and android os
 
Introduction to Android Development and Security
Introduction to Android Development and SecurityIntroduction to Android Development and Security
Introduction to Android Development and Security
 
Pretty 'Awesome' apps (demo at Mobilise Meetup)
Pretty 'Awesome' apps (demo at Mobilise Meetup)Pretty 'Awesome' apps (demo at Mobilise Meetup)
Pretty 'Awesome' apps (demo at Mobilise Meetup)
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Android Workshop_1
Android Workshop_1Android Workshop_1
Android Workshop_1
 
Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1Windows 8 DevUnleashed - Session 1
Windows 8 DevUnleashed - Session 1
 
Android Programming Basic
Android Programming BasicAndroid Programming Basic
Android Programming Basic
 
Android development - the basics, MFF UK, 2014
Android development - the basics, MFF UK, 2014Android development - the basics, MFF UK, 2014
Android development - the basics, MFF UK, 2014
 
Adventures in cross platform ConnectJS / TiConnect 2014
Adventures in cross platform ConnectJS / TiConnect 2014Adventures in cross platform ConnectJS / TiConnect 2014
Adventures in cross platform ConnectJS / TiConnect 2014
 
Android webinar class_1
Android webinar class_1Android webinar class_1
Android webinar class_1
 
Native Script Overview
Native Script OverviewNative Script Overview
Native Script Overview
 
Ios development
Ios developmentIos development
Ios development
 
Intro to appcelerator
Intro to appceleratorIntro to appcelerator
Intro to appcelerator
 
Cardboard VR: Building Low Cost VR Experiences
Cardboard VR: Building Low Cost VR ExperiencesCardboard VR: Building Low Cost VR Experiences
Cardboard VR: Building Low Cost VR Experiences
 
Android development - the basics, MFF UK, 2012
Android development - the basics, MFF UK, 2012Android development - the basics, MFF UK, 2012
Android development - the basics, MFF UK, 2012
 
Native script overview
Native script overviewNative script overview
Native script overview
 
Griffon for the Enterprise
Griffon for the EnterpriseGriffon for the Enterprise
Griffon for the Enterprise
 
MEAN Stack Warm-up
MEAN Stack Warm-upMEAN Stack Warm-up
MEAN Stack Warm-up
 

Recently uploaded

QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
AlexanderRichford
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
Fwdays
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
Fwdays
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
Neo4j
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
DianaGray10
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
ScyllaDB
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
Ortus Solutions, Corp
 
Getting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
Getting the Most Out of ScyllaDB Monitoring: ShareChat's TipsGetting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
Getting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
ScyllaDB
 
Discover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched ContentDiscover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched Content
ScyllaDB
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
Mydbops
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
BibashShahi
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
Safe Software
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
ScyllaDB
 
AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)
HarpalGohil4
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
zjhamm304
 

Recently uploaded (20)

QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
 
Getting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
Getting the Most Out of ScyllaDB Monitoring: ShareChat's TipsGetting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
Getting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
 
Discover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched ContentDiscover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched Content
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
 
AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
 

Compare android vs_i_os

  • 2. Aspects • Project structure • Output final type • Components build up • Some other kind of facing • Using style
  • 4. Output final type • .IPA • .APK
  • 5. Components build up • Naming – NSString >< String – NSObject ><Object – NSInteger ><Integer – …. – UIView >< View – UIButton >< Button – UILabel >< Label – UITextField >< EditText – …. • Storage – NSUserDefault ><SharedPrefrence • Layout – .XIB>< .XML • Controller – UIViewController >< Activity • Logging – NSLog >< Log • List Data – UITableView>< ListView • Notification – iToast >< Toast – UIAlert ><Alert
  • 6. Some other kind of facing • Declare • Import libs • Switching screen • UnitTest • ATT
  • 7. Declare Object object = new Object(); Student student = new Student("Nguyen Tuan Anh", "24", "Male"); Class Student{ private String name; private int age; private String gender; public Student(String name, int age, String gender){ this.name = name; this.age = age; this.gender = gender; } }
  • 8. Import Libs • Same as: – Add from static library: • .a >< .jar – Add module: same way. – Add from resource : • Cocoapod >< Maven • Podfile >< pom.xml
  • 9. Switching screen • IOS : – Don’t have default screen – Self.window setRootViewController – Using navigation controller to deligate • pushViewController • popViewController • Android: – Using IntentFilter set default screen – Throw an Intent to transfer data + switch screen – Replace screen if using fragment (using Support-V4 with FragmentManager)
  • 10. Using style • Debugging • Looping: for | while | do while | .. • Constructor( init ) • MultiScreen • MultiVersion • Transfer data between multible screen
  • 13. MultiScreen • IOS: – IPad – Iphone • pixel density: – Rentina – Not rentina • Size screen: – 3.5 : Ip4 – 4 : Ip5 – 4.7 : Ip6 (near future) – Something others • Android: there are many way to understand it – Pixel density: • Mdpi • Hdpi • Xhdpi • Xxhdpi • xxxhdpi – Size screen: • Small • Normal • Large • Xlarge • XXLarge
  • 15. Transfer data between screens • iOS: – setup next screen in current screen & prepare data for it before start. – Other way: • No suggest • File – SQLite – NSUserDefault – Core data (file has structure) – … • Android: – Same as model driven - new way was applied this time. – Other way: • Put data into Intent as bundle • File – SQLite – SharedPreference – Simple file