SlideShare uma empresa Scribd logo
1 de 37
So sánh phát triểnứng dụng trên iOS, Android và Windows Phone 7 cuong@microsoft.com
Tại sao không viết một app để chạy được trên cả nhiều hệ điều hành: iOS, Android và Windows Phone 7, …
Lợi: ,[object Object]
Tăng mức độ phổ biến – khả năng tương thích. Hài lòng các fan của iOS lẫn Android lẫn Windows Phone.
Tận dụng lại ý tưởng hay, tài nguyên (hình ảnh, video, âm thanh, mã logic…)Khó khăn: ,[object Object]
Time to market có thể giảm
Tối ưu cho từng OS là khác nhau,[object Object]
Source : PhoneGap
Source : PhoneGap
JavaScript UI API maps  to native UI components: NavBar, Tabbar, Toolbar, Menu, Dialogs, Alert, Button, List… Phone API maps  to phone features: Geo, Accelerometer, Maps, Sound, Video, Database, File IO, Network… JavaScript HTML, JavaScript, CSS UI + Logic UI + Logic Phone API Phone API UI API UI API JavaScript to Objective-C bridge JavaScript to Java bridge iOS Objective-C Android Java Native  iOS App Native  Android App
Cách cổ điển porting app vẫn cần thiết bởi vì: 1- Tối ưu cao nhất cho từng hệ điều hành – thiết bị cụ thể. 2- Cần tối ưu tốc độ ứng dụng. 3- Cần nâng cao trải nghiệm giao diện người dùng.
Trước khi so sánh iOS, Android và Windows phone 7….Hãy xem Windows phone 7 như thế nào.
Cấu hình phần cứng Phân giải màn hình 480x800 QVGA 320x480 HVGA Multimedia Common detailed specs Codec acceleration Cảm ứng đa điểm 4 or more contact points Bộ nhớ 256MB RAM or more 8GB Flash or more Cảm biến A-GPS, Accelerometer, Compass GPU DirectX 9 acceleration CPU ARMv7 Cortex/Scorpion or better 1G  Chụp ảnh 5 mega pixels or more Dedicated camera button Nút bấm vật lý Start, Search, Back
Windows PhoneHardware Common Hardware Elements Consistent Platform Quality Focus 800 Microsoft chuẩn hoá yêu cầu phần cứng: 1- Tăng chất lượng ứng dụng 2- Giảm tối đa lỗi không tương thích và thời gian kiểm thử Phiên bản Windows Phone 7.5 “Mango” kế tiếp có thể khác ! 480
Phát triển ứng dụng cho WP7 ,[object Object]
Rapid creation of multi-screen 2D and 3D games
Rich content pipeline
Mature, robust, widely adopted technology
Xbox 360, Windows, and Zune
Modern application UI framework
Rapid creation of visually stunning apps
Metro-themed UI controls
HTML/JavaScript
500,000 developers spanning Windows and web,[object Object]
Objective-C  Apps HTML 5, CSS, JavaScript Apps Cocoa Touch UIKit, Animation, Multitasking, Gesture Recognizers, PushNotification MEDIA CoreGraphics, Text, OpenGL ES, Core Animation, AVFoundation, Core Audio, video CORE Services string, collection, network, contact, GPS, compass, accelerometer, gyroscope           CORE OS kernel, file, network, security, power, device drivers
Multi-tasking on single core Background Foreground App  1 App Service Internal Service 1 Internal Service 2 Operating System CPU Core
Multi-tasking on dual core Background Foreground App  1 App Service Internal Service 1 Internal Service 2 Operating System CPU Core 1 CPU Core 2
Multi-threading Foreground Background User Interface Data Processing Complextask Internal Service 1 Internal Service 2 Operating System CPU Core 1 CPU Core 2
Windows Phone 7 (2010) không hỗ trợ ứng dụng hãng thứ 3 multi tasking.Windows Phone 7 (Mango) hỗ trợ multi tasking.

Mais conteúdo relacionado

Destaque

Cách tối ưu hóa môi trường lập trình ứng dụng cho Android - Tăng tốc máy ảo A...
Cách tối ưu hóa môi trường lập trình ứng dụng cho Android - Tăng tốc máy ảo A...Cách tối ưu hóa môi trường lập trình ứng dụng cho Android - Tăng tốc máy ảo A...
Cách tối ưu hóa môi trường lập trình ứng dụng cho Android - Tăng tốc máy ảo A...Ngo Trung
 
Tìm hiểu về hệ điều hành android
Tìm hiểu về hệ điều hành androidTìm hiểu về hệ điều hành android
Tìm hiểu về hệ điều hành androidTÓc Đỏ XuÂn
 
Bài 1: Giới thiệu Android
Bài 1: Giới thiệu AndroidBài 1: Giới thiệu Android
Bài 1: Giới thiệu Androidhoccungdoanhnghiep
 
56123159 android
56123159 android56123159 android
56123159 androidHieu Pham
 
Android Nâng cao-Bài 5:Notification Multiresolution Multilanguage
Android Nâng cao-Bài 5:Notification Multiresolution MultilanguageAndroid Nâng cao-Bài 5:Notification Multiresolution Multilanguage
Android Nâng cao-Bài 5:Notification Multiresolution MultilanguagePhuoc Nguyen
 
Android Nâng cao-Bài 3: Broadcast Receiver
Android Nâng cao-Bài 3: Broadcast ReceiverAndroid Nâng cao-Bài 3: Broadcast Receiver
Android Nâng cao-Bài 3: Broadcast ReceiverPhuoc Nguyen
 
Android location sensor programming
Android location sensor programmingAndroid location sensor programming
Android location sensor programmingPhuoc Nguyen
 
Android Nâng cao-Bài 8-JSON & XML Parsing
Android Nâng cao-Bài 8-JSON & XML ParsingAndroid Nâng cao-Bài 8-JSON & XML Parsing
Android Nâng cao-Bài 8-JSON & XML ParsingPhuoc Nguyen
 
Android Nâng cao-Bài 4: Content Provider
Android Nâng cao-Bài 4: Content ProviderAndroid Nâng cao-Bài 4: Content Provider
Android Nâng cao-Bài 4: Content ProviderPhuoc Nguyen
 
Android Nâng cao-Bài 9-Debug in Android Application Development
Android Nâng cao-Bài 9-Debug in Android Application Development Android Nâng cao-Bài 9-Debug in Android Application Development
Android Nâng cao-Bài 9-Debug in Android Application Development Phuoc Nguyen
 
Android Nâng cao-Bài 6-Multi theme-adb tool-jUnit
Android Nâng cao-Bài 6-Multi theme-adb tool-jUnitAndroid Nâng cao-Bài 6-Multi theme-adb tool-jUnit
Android Nâng cao-Bài 6-Multi theme-adb tool-jUnitPhuoc Nguyen
 

Destaque (13)

Android OS
Android OSAndroid OS
Android OS
 
Cách tối ưu hóa môi trường lập trình ứng dụng cho Android - Tăng tốc máy ảo A...
Cách tối ưu hóa môi trường lập trình ứng dụng cho Android - Tăng tốc máy ảo A...Cách tối ưu hóa môi trường lập trình ứng dụng cho Android - Tăng tốc máy ảo A...
Cách tối ưu hóa môi trường lập trình ứng dụng cho Android - Tăng tốc máy ảo A...
 
Lap trinh android – kiem tien ngay trong khi hoc
Lap trinh android – kiem tien ngay trong khi hocLap trinh android – kiem tien ngay trong khi hoc
Lap trinh android – kiem tien ngay trong khi hoc
 
Tìm hiểu về hệ điều hành android
Tìm hiểu về hệ điều hành androidTìm hiểu về hệ điều hành android
Tìm hiểu về hệ điều hành android
 
Bài 1: Giới thiệu Android
Bài 1: Giới thiệu AndroidBài 1: Giới thiệu Android
Bài 1: Giới thiệu Android
 
56123159 android
56123159 android56123159 android
56123159 android
 
Android Nâng cao-Bài 5:Notification Multiresolution Multilanguage
Android Nâng cao-Bài 5:Notification Multiresolution MultilanguageAndroid Nâng cao-Bài 5:Notification Multiresolution Multilanguage
Android Nâng cao-Bài 5:Notification Multiresolution Multilanguage
 
Android Nâng cao-Bài 3: Broadcast Receiver
Android Nâng cao-Bài 3: Broadcast ReceiverAndroid Nâng cao-Bài 3: Broadcast Receiver
Android Nâng cao-Bài 3: Broadcast Receiver
 
Android location sensor programming
Android location sensor programmingAndroid location sensor programming
Android location sensor programming
 
Android Nâng cao-Bài 8-JSON & XML Parsing
Android Nâng cao-Bài 8-JSON & XML ParsingAndroid Nâng cao-Bài 8-JSON & XML Parsing
Android Nâng cao-Bài 8-JSON & XML Parsing
 
Android Nâng cao-Bài 4: Content Provider
Android Nâng cao-Bài 4: Content ProviderAndroid Nâng cao-Bài 4: Content Provider
Android Nâng cao-Bài 4: Content Provider
 
Android Nâng cao-Bài 9-Debug in Android Application Development
Android Nâng cao-Bài 9-Debug in Android Application Development Android Nâng cao-Bài 9-Debug in Android Application Development
Android Nâng cao-Bài 9-Debug in Android Application Development
 
Android Nâng cao-Bài 6-Multi theme-adb tool-jUnit
Android Nâng cao-Bài 6-Multi theme-adb tool-jUnitAndroid Nâng cao-Bài 6-Multi theme-adb tool-jUnit
Android Nâng cao-Bài 6-Multi theme-adb tool-jUnit
 

Semelhante a Android ios wp7

Rhodes framework
Rhodes frameworkRhodes framework
Rhodes frameworkCà Mau
 
Android chapter01-intro
Android chapter01-introAndroid chapter01-intro
Android chapter01-introluyen91
 
Ứng dụng từ điển cho SmartPhone từ Framework PhoneGap trên nền tảng Android
Ứng dụng từ điển cho SmartPhone từ Framework PhoneGap trên nền tảng Android Ứng dụng từ điển cho SmartPhone từ Framework PhoneGap trên nền tảng Android
Ứng dụng từ điển cho SmartPhone từ Framework PhoneGap trên nền tảng Android Lương Bá Hợp
 
Công nghệ nhận dạng
Công nghệ nhận dạngCông nghệ nhận dạng
Công nghệ nhận dạngHoàng Việt
 
Tương tác số - Công nghệ nhận dạng
Tương tác số - Công nghệ nhận dạngTương tác số - Công nghệ nhận dạng
Tương tác số - Công nghệ nhận dạngMimasGroup
 
Mobile app development (Hoàng Nam Hải, Giám đốc ManaTech)
Mobile app development (Hoàng Nam Hải, Giám đốc ManaTech)Mobile app development (Hoàng Nam Hải, Giám đốc ManaTech)
Mobile app development (Hoàng Nam Hải, Giám đốc ManaTech)action.vn
 
Introduction to python 20110917
Introduction to python   20110917Introduction to python   20110917
Introduction to python 20110917AiTi Education
 
Flutter trong lập trình mobile - HUFLIT 2022
Flutter trong lập trình mobile - HUFLIT 2022Flutter trong lập trình mobile - HUFLIT 2022
Flutter trong lập trình mobile - HUFLIT 2022HongDuyLe1
 
mp_hag_slide_android_2321.pptx
mp_hag_slide_android_2321.pptxmp_hag_slide_android_2321.pptx
mp_hag_slide_android_2321.pptxKhngNguyn81
 
Mobile programming
Mobile programming Mobile programming
Mobile programming Thinh Huynh
 
Tim hieu lap_trinh_android_va_tu_xay_dung_ung_dung_minh_hoa_20120809043144_31
Tim hieu lap_trinh_android_va_tu_xay_dung_ung_dung_minh_hoa_20120809043144_31Tim hieu lap_trinh_android_va_tu_xay_dung_ung_dung_minh_hoa_20120809043144_31
Tim hieu lap_trinh_android_va_tu_xay_dung_ung_dung_minh_hoa_20120809043144_31thequocbk
 
Một số ngôn ngữ lập trình phổ biến hiện nay - Popular programming languages n...
Một số ngôn ngữ lập trình phổ biến hiện nay - Popular programming languages n...Một số ngôn ngữ lập trình phổ biến hiện nay - Popular programming languages n...
Một số ngôn ngữ lập trình phổ biến hiện nay - Popular programming languages n...Son Le
 
Lap trinhthietbididongvoij2me
Lap trinhthietbididongvoij2meLap trinhthietbididongvoij2me
Lap trinhthietbididongvoij2mehaiokman
 
Lap trinh thiet bi di dong voi j2me
Lap trinh thiet bi di dong voi j2meLap trinh thiet bi di dong voi j2me
Lap trinh thiet bi di dong voi j2mecậu buồn Vì Ai
 
1 laptrinhthietbididongvoij2me
1 laptrinhthietbididongvoij2me1 laptrinhthietbididongvoij2me
1 laptrinhthietbididongvoij2meGiang Nguyễn
 
PolyOS - Giải pháp cho chuyên gia mạng máy tính
PolyOS - Giải pháp cho chuyên gia mạng máy tínhPolyOS - Giải pháp cho chuyên gia mạng máy tính
PolyOS - Giải pháp cho chuyên gia mạng máy tínhLeo Nguyen
 
Báo cáo tuần 1
Báo cáo tuần 1Báo cáo tuần 1
Báo cáo tuần 1tuankiet123
 
Tìm đường trên di động (PhoneGap)
Tìm đường trên di động (PhoneGap)Tìm đường trên di động (PhoneGap)
Tìm đường trên di động (PhoneGap)Lương Bá Hợp
 

Semelhante a Android ios wp7 (20)

Lập trình android
Lập trình androidLập trình android
Lập trình android
 
Rhodes framework
Rhodes frameworkRhodes framework
Rhodes framework
 
Android chapter01-intro
Android chapter01-introAndroid chapter01-intro
Android chapter01-intro
 
Ứng dụng từ điển cho SmartPhone từ Framework PhoneGap trên nền tảng Android
Ứng dụng từ điển cho SmartPhone từ Framework PhoneGap trên nền tảng Android Ứng dụng từ điển cho SmartPhone từ Framework PhoneGap trên nền tảng Android
Ứng dụng từ điển cho SmartPhone từ Framework PhoneGap trên nền tảng Android
 
Công nghệ nhận dạng
Công nghệ nhận dạngCông nghệ nhận dạng
Công nghệ nhận dạng
 
Tương tác số - Công nghệ nhận dạng
Tương tác số - Công nghệ nhận dạngTương tác số - Công nghệ nhận dạng
Tương tác số - Công nghệ nhận dạng
 
Chuong 1. cnpm
Chuong 1. cnpmChuong 1. cnpm
Chuong 1. cnpm
 
Mobile app development (Hoàng Nam Hải, Giám đốc ManaTech)
Mobile app development (Hoàng Nam Hải, Giám đốc ManaTech)Mobile app development (Hoàng Nam Hải, Giám đốc ManaTech)
Mobile app development (Hoàng Nam Hải, Giám đốc ManaTech)
 
Introduction to python 20110917
Introduction to python   20110917Introduction to python   20110917
Introduction to python 20110917
 
Flutter trong lập trình mobile - HUFLIT 2022
Flutter trong lập trình mobile - HUFLIT 2022Flutter trong lập trình mobile - HUFLIT 2022
Flutter trong lập trình mobile - HUFLIT 2022
 
mp_hag_slide_android_2321.pptx
mp_hag_slide_android_2321.pptxmp_hag_slide_android_2321.pptx
mp_hag_slide_android_2321.pptx
 
Mobile programming
Mobile programming Mobile programming
Mobile programming
 
Tim hieu lap_trinh_android_va_tu_xay_dung_ung_dung_minh_hoa_20120809043144_31
Tim hieu lap_trinh_android_va_tu_xay_dung_ung_dung_minh_hoa_20120809043144_31Tim hieu lap_trinh_android_va_tu_xay_dung_ung_dung_minh_hoa_20120809043144_31
Tim hieu lap_trinh_android_va_tu_xay_dung_ung_dung_minh_hoa_20120809043144_31
 
Một số ngôn ngữ lập trình phổ biến hiện nay - Popular programming languages n...
Một số ngôn ngữ lập trình phổ biến hiện nay - Popular programming languages n...Một số ngôn ngữ lập trình phổ biến hiện nay - Popular programming languages n...
Một số ngôn ngữ lập trình phổ biến hiện nay - Popular programming languages n...
 
Lap trinhthietbididongvoij2me
Lap trinhthietbididongvoij2meLap trinhthietbididongvoij2me
Lap trinhthietbididongvoij2me
 
Lap trinh thiet bi di dong voi j2me
Lap trinh thiet bi di dong voi j2meLap trinh thiet bi di dong voi j2me
Lap trinh thiet bi di dong voi j2me
 
1 laptrinhthietbididongvoij2me
1 laptrinhthietbididongvoij2me1 laptrinhthietbididongvoij2me
1 laptrinhthietbididongvoij2me
 
PolyOS - Giải pháp cho chuyên gia mạng máy tính
PolyOS - Giải pháp cho chuyên gia mạng máy tínhPolyOS - Giải pháp cho chuyên gia mạng máy tính
PolyOS - Giải pháp cho chuyên gia mạng máy tính
 
Báo cáo tuần 1
Báo cáo tuần 1Báo cáo tuần 1
Báo cáo tuần 1
 
Tìm đường trên di động (PhoneGap)
Tìm đường trên di động (PhoneGap)Tìm đường trên di động (PhoneGap)
Tìm đường trên di động (PhoneGap)
 

Mais de TechMaster Vietnam

Go micro framework to build microservices
Go micro framework to build microservicesGo micro framework to build microservices
Go micro framework to build microservicesTechMaster Vietnam
 
Authentication and Authorization
Authentication and AuthorizationAuthentication and Authorization
Authentication and AuthorizationTechMaster Vietnam
 
Postgresql các vấn đề thực tế
Postgresql các vấn đề thực tếPostgresql các vấn đề thực tế
Postgresql các vấn đề thực tếTechMaster Vietnam
 
Chia sẻ kinh nghiệm giảng dạy CNTT
Chia sẻ kinh nghiệm giảng dạy CNTTChia sẻ kinh nghiệm giảng dạy CNTT
Chia sẻ kinh nghiệm giảng dạy CNTTTechMaster Vietnam
 
Cơ sở dữ liệu postgres
Cơ sở dữ liệu postgresCơ sở dữ liệu postgres
Cơ sở dữ liệu postgresTechMaster Vietnam
 
Tìm nền tảng lập trình cho 5 năm tới
Tìm nền tảng lập trình cho 5 năm tớiTìm nền tảng lập trình cho 5 năm tới
Tìm nền tảng lập trình cho 5 năm tớiTechMaster Vietnam
 
Cấu hình Postgresql căn bản trong 20 phút
Cấu hình Postgresql căn bản trong 20 phútCấu hình Postgresql căn bản trong 20 phút
Cấu hình Postgresql căn bản trong 20 phútTechMaster Vietnam
 

Mais de TechMaster Vietnam (20)

Neural Network from Scratch
Neural Network from ScratchNeural Network from Scratch
Neural Network from Scratch
 
Go micro framework to build microservices
Go micro framework to build microservicesGo micro framework to build microservices
Go micro framework to build microservices
 
Flutter vs React Native 2018
Flutter vs React Native 2018Flutter vs React Native 2018
Flutter vs React Native 2018
 
C đến C++ phần 1
C đến C++ phần 1C đến C++ phần 1
C đến C++ phần 1
 
Control structure in C
Control structure in CControl structure in C
Control structure in C
 
Basic C programming
Basic C programmingBasic C programming
Basic C programming
 
Authentication and Authorization
Authentication and AuthorizationAuthentication and Authorization
Authentication and Authorization
 
Postgresql security
Postgresql securityPostgresql security
Postgresql security
 
Knex Postgresql Migration
Knex Postgresql MigrationKnex Postgresql Migration
Knex Postgresql Migration
 
Postgresql các vấn đề thực tế
Postgresql các vấn đề thực tếPostgresql các vấn đề thực tế
Postgresql các vấn đề thực tế
 
Arrowjs.io
Arrowjs.ioArrowjs.io
Arrowjs.io
 
Minimum Viable Products
Minimum Viable ProductsMinimum Viable Products
Minimum Viable Products
 
Chia sẻ kinh nghiệm giảng dạy CNTT
Chia sẻ kinh nghiệm giảng dạy CNTTChia sẻ kinh nghiệm giảng dạy CNTT
Chia sẻ kinh nghiệm giảng dạy CNTT
 
Cơ sở dữ liệu postgres
Cơ sở dữ liệu postgresCơ sở dữ liệu postgres
Cơ sở dữ liệu postgres
 
Node.js căn bản
Node.js căn bảnNode.js căn bản
Node.js căn bản
 
Tìm nền tảng lập trình cho 5 năm tới
Tìm nền tảng lập trình cho 5 năm tớiTìm nền tảng lập trình cho 5 năm tới
Tìm nền tảng lập trình cho 5 năm tới
 
iOS Master - Detail & TabBar
iOS Master - Detail & TabBariOS Master - Detail & TabBar
iOS Master - Detail & TabBar
 
Phalcon căn bản
Phalcon căn bảnPhalcon căn bản
Phalcon căn bản
 
Cấu hình Postgresql căn bản trong 20 phút
Cấu hình Postgresql căn bản trong 20 phútCấu hình Postgresql căn bản trong 20 phút
Cấu hình Postgresql căn bản trong 20 phút
 
Phalcon introduction
Phalcon introductionPhalcon introduction
Phalcon introduction
 

Android ios wp7

  • 1. So sánh phát triểnứng dụng trên iOS, Android và Windows Phone 7 cuong@microsoft.com
  • 2. Tại sao không viết một app để chạy được trên cả nhiều hệ điều hành: iOS, Android và Windows Phone 7, …
  • 3.
  • 4. Tăng mức độ phổ biến – khả năng tương thích. Hài lòng các fan của iOS lẫn Android lẫn Windows Phone.
  • 5.
  • 6. Time to market có thể giảm
  • 7.
  • 10. JavaScript UI API maps to native UI components: NavBar, Tabbar, Toolbar, Menu, Dialogs, Alert, Button, List… Phone API maps to phone features: Geo, Accelerometer, Maps, Sound, Video, Database, File IO, Network… JavaScript HTML, JavaScript, CSS UI + Logic UI + Logic Phone API Phone API UI API UI API JavaScript to Objective-C bridge JavaScript to Java bridge iOS Objective-C Android Java Native iOS App Native Android App
  • 11. Cách cổ điển porting app vẫn cần thiết bởi vì: 1- Tối ưu cao nhất cho từng hệ điều hành – thiết bị cụ thể. 2- Cần tối ưu tốc độ ứng dụng. 3- Cần nâng cao trải nghiệm giao diện người dùng.
  • 12.
  • 13. Trước khi so sánh iOS, Android và Windows phone 7….Hãy xem Windows phone 7 như thế nào.
  • 14. Cấu hình phần cứng Phân giải màn hình 480x800 QVGA 320x480 HVGA Multimedia Common detailed specs Codec acceleration Cảm ứng đa điểm 4 or more contact points Bộ nhớ 256MB RAM or more 8GB Flash or more Cảm biến A-GPS, Accelerometer, Compass GPU DirectX 9 acceleration CPU ARMv7 Cortex/Scorpion or better 1G Chụp ảnh 5 mega pixels or more Dedicated camera button Nút bấm vật lý Start, Search, Back
  • 15. Windows PhoneHardware Common Hardware Elements Consistent Platform Quality Focus 800 Microsoft chuẩn hoá yêu cầu phần cứng: 1- Tăng chất lượng ứng dụng 2- Giảm tối đa lỗi không tương thích và thời gian kiểm thử Phiên bản Windows Phone 7.5 “Mango” kế tiếp có thể khác ! 480
  • 16.
  • 17.
  • 18. Rapid creation of multi-screen 2D and 3D games
  • 20. Mature, robust, widely adopted technology
  • 23. Rapid creation of visually stunning apps
  • 26.
  • 27.
  • 28. Objective-C Apps HTML 5, CSS, JavaScript Apps Cocoa Touch UIKit, Animation, Multitasking, Gesture Recognizers, PushNotification MEDIA CoreGraphics, Text, OpenGL ES, Core Animation, AVFoundation, Core Audio, video CORE Services string, collection, network, contact, GPS, compass, accelerometer, gyroscope CORE OS kernel, file, network, security, power, device drivers
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34. Multi-tasking on single core Background Foreground App 1 App Service Internal Service 1 Internal Service 2 Operating System CPU Core
  • 35. Multi-tasking on dual core Background Foreground App 1 App Service Internal Service 1 Internal Service 2 Operating System CPU Core 1 CPU Core 2
  • 36. Multi-threading Foreground Background User Interface Data Processing Complextask Internal Service 1 Internal Service 2 Operating System CPU Core 1 CPU Core 2
  • 37. Windows Phone 7 (2010) không hỗ trợ ứng dụng hãng thứ 3 multi tasking.Windows Phone 7 (Mango) hỗ trợ multi tasking.
  • 38. Garbage Collection Disable by default Enable by compiler switch When GC is not available alloc/release/aurorelease CFRetain/CFRelease Automatic by default Rely too much on GC will deperformance your app
  • 40. Lập trình UI Android khá giống WP7 Vẽ giao diện bằng XML hoặc tạo động bằng code. Hứng sự kiện trong XML hoặc trong code Di chuyển giữa các trang Menu bar – Application bar Cách kích hoạt các tác vụ và nhận giá trị trả về
  • 41. App.xaml Frame / Page Controls Launcher Chooser Notification XML, LINQ, OData
  • 42.
  • 43. System Tray (title, progress bar) Standard Controls Customed Controls 3rd Party Controls Page Application Bar (menu button)
  • 44. DEMO một số ứng dụng WP7
  • 45. UI Controls http://www.codeproject.com/KB/windows-phone-7/CustomGauges.aspx http://www.microsoft.com/events/series/isv.aspx?tab=Videos&seriesid=127&webcastid=14681 (Control supported va unsupported in WP7) Telerik http://www.infragistics.com/ Vs Android Widgethttp://developer.android.com/guide/topics/ui/index.html
  • 46. Communication Service Location aware service Push notification SOAP / REST / WCF / OData
  • 47. Odata – WCF Client
  • 48. Tham khảo http://blog.radvision.com/voipsurvivor/2010/10/07/ios-android-windows-phone-7-and-the-great-changes-in-the-operating-systems-market/ http://www.slideshare.net/dtmilano/android-development-tutorial-v3 http://msdn.microsoft.com/en-us/library/ff431744(v=vs.92).aspx (WP7 Code Example) http://create.msdn.com/en-US/education/catalog/ (WP7 Content Example) http://www.pcworld.com.vn/articles/san-pham/phan-mem/2011/03/1224409/cuoc-chien-he-dieu-hanh-di-dong-android-ios-va-windows-phone/ (Cuộc chiến hệ điều hành di động: Android, iOS và Windows Phone) http://windowsphone.interoperabilitybridges.com/(WP7 cho iPhone developers) http://channel9.msdn.com/posts/Minh-Tran-TranCreative-Experience-developing-for-Windows-Phone-7 http://www.msdev.com/Default.aspx

Notas do Editor

  1. Dự kiến trình bày trong 40 phút1- Tại sao phát triển multiplatform?2- Các cách khác nhau phát triển ứng dụng đa nền tảng. Ưu và nhược điểm của việc lập trình ứng dụng bằng HTML5, JavaScript.3- Cần phải hiểu rõ sự tương đồng và những khác biệt của 3 hệ điều hành iOS, Android và Windows Phone 74- Giới thiệu sơ qua Windows Phone 7 trước khi so sánh.
  2. http://www.slideshare.net/eljefe/jquery-mobile-for-fun-and-profithttp://www.slideshare.net/davyjones/html5-is-the-future-of-mobile-phonegap-takes-you-there-todayhttp://www.phonegap.com/apps
  3. http://www.redmondpie.com/android-2.2-vs-iphone-4.0-vs-windows-phone-7/
  4. Core OS. This level contains the kernel, the file system, networking infrastructure, security, power management, and a number of device drivers. It also has the libSystem library, which supports the POSIX/BSD 4.4/C99 API specifications and includes system-level APIs for many services.Core Services. The frameworks in this layer provide core services, such as string manipulation, collection management, networking, URL utilities, contact management, and preferences. They also provide services based on hardware features of a device, such as the GPS, compass, accelerometer, and gyroscope. Examples of frameworks in this layer are Core Location, Core Motion, and System Configuration.This layer includes both Foundation and Core Foundation, frameworks that provide abstractions for common data types such as strings and collections. The Core Frameworks layer also contains Core Data, a framework for object graph management and object persistence.Media. The frameworks and services in this layer depend on the Core Services layer and provide graphical and multimedia services to the Cocoa Touch layer. They include Core Graphics, Core Text, OpenGL ES, Core Animation, AVFoundation, Core Audio, and video playback.Cocoa Touch. The frameworks in this layer directly support applications based in iOS. They include frameworks such as Game Kit, Map Kit, and iAd.
  5. http://www.redmondpie.com/android-2.2-vs-iphone-4.0-vs-windows-phone-7/
  6. http://dotnet.dzone.com/articles/scheduling-tasks-windows-phonehttp://silverlighthack.com/category/MultiThreading.aspxhttp://stackoverflow.com/questions/3197335/android-restful-api-serviceWP7 không cho phép ứng dụng hãng thứ 3 phát triển chạy background. Ứng dụng hãng thứ 3 phát triển có thể chạy Multithread khi và chỉ khi nó chạy ở fore ground.Android có class Async Task Sử dụng Google Map cho Windows Phone 7http://www.xda-developers.com/windows-mobile/gmappro-for-windows-phone-7/WP: isolated storage, http://winphone7db.codeplex.com/ (MS chhttp://msdn.microsoft.com/en-us/gg266494WP7 dev can use SQLite porting to C#http://code.google.com/p/csharp-sqlite/http://wp7sqlite.codeplex.com/
  7. http://zone.ni.com/devzone/cda/tut/p/id/6424
  8. http://zone.ni.com/devzone/cda/tut/p/id/6424
  9. http://zone.ni.com/devzone/cda/tut/p/id/6424
  10. Demo Video
  11. http://developer.apple.com/library/mac/#documentation/cocoa/conceptual/GarbageCollection/Introduction.html#//apple_ref/doc/uid/TP30001223-CJBGIAGFhttp://developer.android.com/resources/articles/track-mem.html
  12. http://developer.android.com/reference/android/content/Intent.html (Android Intent)http://sudheerkovalam.wordpress.com/2010/08/14/windows-phone-7-launcher-and-choosers-part-2/http://sudheerkovalam.wordpress.com/2010/08/06/96/
  13. Bật Visual Studio và Eclipse lên để demo
  14. http://chriskoenig.net/2010/10/30/odata-v2-and-windows-phone-7/http://odata.codeplex.com/http://blogs.msdn.com/b/astoriateam/archive/2010/10/28/data-services-client-for-win-phone-7-now-available.aspx