Tải bản đầy đủ (.pptx) (133 trang)

Bài giảng lập trình cho thiết bị di động chương 1 đh công nghệ đồng nai

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (4.01 MB, 133 trang )

DONG NAI UNIVERSITY OF TECHNOLOGY

1. Subject introduction
2. Mobile / Tablet OSs
3. Software Installation
4. Introduction to Android OS
5. Using Android OS / Devices
6. Eclipse debug with Android app
7. Components of the Android Application

8. Units of measurement
9. XML Primer
10. Application’s Life Cycle
1


DONG NAI UNIVERSITY OF TECHNOLOGY

1. Subject introduction
1.1 Topics
1.2 Learning Objectives
1.3 Textbooks
1.4 Test / Grade
1.5 Assignments
1.6 Rules

2


DONG NAI UNIVERSITY OF TECHNOLOGY


1.1 Topics

Mobile/Tablet development application
Background
Software

stack

Activities

vs applications

Activity

life cycles

Activity

states

Resources
Notification

Manager
3


DONG NAI UNIVERSITY OF TECHNOLOGY

1.1 Topics


User Interfaces
Views
Layouts
Widgets
UI

XML specification

4


DONG NAI UNIVERSITY OF TECHNOLOGY

1.1 Topics

Intents, Receivers, Adapters
Explicit

Intents

Implicit

Intents

Event

Broadcasting with Intents

Event


Reception with Broadcast Receivers

Adapters

and DataBinding

5


DONG NAI UNIVERSITY OF TECHNOLOGY

1.1 Topics

Files, Content Providers, Databases
Saving

and Loading Files

SQLite

Databases

Access

Exposure to Data Sources through Content

Providers
Content
Native


Provider Registration

Content Providers

6


DONG NAI UNIVERSITY OF TECHNOLOGY

1.1 Topics

Common Android APIs
Networking APIs
LBS APIs
Web APIs
Multimedia APIs
Telephony APIs
And Sensors…

7


DONG NAI UNIVERSITY OF TECHNOLOGY

1.2 Learning Objectives

Have an appreciation of the Android OS
Know how to develop basic UIs
Know how to broadcast and receive events

Know how to manage data storage through files,
databases, and content providers
Know how to implement basic location-based
services
Know how to use audio and video utilities
8


DONG NAI UNIVERSITY OF TECHNOLOGY

1.2 Learning Objectives

Know how to access the Internet
Know how to process URL data encoded in
HTML/XML
Know how to capture touch screen events and
recognize touch screen gestures
Become exposed to Android online resources and
communities
Know how to use android APIs, Sensors…
9


DONG NAI UNIVERSITY OF TECHNOLOGY

1.3 Textbooks
[1] Unlocking Android
[2] The Busy Coders Guide to Android Development
[3]Beginning Android Application Development –
WeiMengle – Wrox -2011

[4] Android Wireless Development -Lauren Darcey ,
Shane Conder
[5] Professional Android Application Development –
Malestrom
Web :

10


DONG NAI UNIVERSITY OF TECHNOLOGY

1.4 Test / Grade
Attendance
Mid term lab test
Final lab test
Homework
assignments in every week
Final Project
Final project will require technical writing (project
proposal submission, source documentation, description)
Code in java (Eclipse)
There will be reading suggestions
Final test

11


DONG NAI UNIVERSITY OF TECHNOLOGY

1.5 Assignments

All assignments will be submitted via Assembla
All assignments using namespace
vn.edu.dntu.it.Studentname.ID. labNo
vn.edu.dntu.it.lethihoa.0891233.Lab32
Grades will be submitted via Assembla
Late submission will not be accepted

12


DONG NAI UNIVERSITY OF TECHNOLOGY

1.5 Assignments
 Server - Tools
– MS Source safe
– SVN server (open source)
– MS Team Foundation server
 Host
– Server in Lan
– Host throught internet
• www.Googlecode (code.google.com) (public)
• www.Assembla.com (public)
• www.Projectlocker.com (public & private)

 Client
– TortoiseSVN
– Visual studio…
13



DONG NAI UNIVERSITY OF TECHNOLOGY

1.5 Assignments

/>
Register account : and create space to
submit assignments
Detail
14


DONG NAI UNIVERSITY OF TECHNOLOGY

1.6 Rules
- Attendance 75%
- Do homework
- Do lab project
- Research on internet

15


DONG NAI UNIVERSITY OF TECHNOLOGY

2. Mobile / Tablet OSs
Android
MeeGo
Bada
Ubuntu
Symbian


Mobile
BlackBerry

Windows
Phone
WebOS

IOS

16


DONG NAI UNIVERSITY OF TECHNOLOGY


Bada

Samsung
Closed source

17


DONG NAI UNIVERSITY OF TECHNOLOGY

/>
C/C++ J2EM

18



DONG NAI UNIVERSITY OF TECHNOLOGY

Windows
Phone


C#
VB.net
XAML

19


DONG NAI UNIVERSITY OF TECHNOLOGY

/>WebOS

from HP
open sourced
running on the Linux kernel
Visual Studio

C/C++
Java

20



DONG NAI UNIVERSITY OF TECHNOLOGY

IOS


Apple
derived from Mac OS X.
Objective C – iPhone SDk

21


DONG NAI UNIVERSITY OF TECHNOLOGY

/>BlackBerry

22


DONG NAI UNIVERSITY OF TECHNOLOGY

/>Android

Google Inc
free and open source
Linux-derived OS
Java (Android SDK)

23



DONG NAI UNIVERSITY OF TECHNOLOGY

/>Ubuntu

Professional Ubuntu
Mobile Development

24


DONG NAI UNIVERSITY OF TECHNOLOGY

/>MeeGo

open source
Nokia + Intel

C++

25


×