lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

download lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

of 50

Transcript of lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    1/50

    Introduction to MobileApplication Development

    Nguyn Anh Tun Ph.D.Department of Network Administration and

    Application Development NAAD

    Faculty of Computer Network and Communication

    University of Information Technology

    Email: [email protected]

    Homepage: http://sites.google.com/site/tuannguyenlatrobeFacebook: www.facebook.com/tuannguyenuit

    Blog: tuanubicom.blogspot.com

    Google: tuan nguyen uit

    mailto:[email protected]://sites.google.com/site/tuannguyenlatrobehttp://www.facebook.com/tuannguyenuithttp://www.facebook.com/tuannguyenuithttp://sites.google.com/site/tuannguyenlatrobemailto:[email protected]
  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    2/50

    Why do we learn this course ?

    What is course talking about ?

    How do we learn this course moreeffectively ?

    Agenda

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    3/50

    A Day Made of Glass 2

    Xem Youtube Clip:

    http://www.youtube.com/watch?v=jZkHpNnXLB0

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    4/50

    Why do we learn this course ?

    3. The world is not a desktop2. An important part of our life

    1.

    Mobile phonesare everywhere

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    5/50

    Mobile phones are everywhere

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    6/50

    @ Airport

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    7/50

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    8/50

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    9/50

    Phones become an importantpart of our life

    Connecting People Our secretary EntertainmentDevice

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    10/50

    3. The world is not a desktop

    2011, World populations 7 billionpeople, 5.6 billion mobile phones

    2011, USA, 327.5/310, 103.9%

    2009, GER, 107/82, 130%

    2008, UK, 75.7/61.6, 123%

    2010, VIETNAM, 72/90, 79%Source:http://en.wikipedia.org/wiki/List_of_countries_by_number_of_mobile_phones_in_use

    http://en.wikipedia.org/wiki/List_of_countries_by_number_of_mobile_phones_in_usehttp://en.wikipedia.org/wiki/List_of_countries_by_number_of_mobile_phones_in_usehttp://en.wikipedia.org/wiki/List_of_countries_by_number_of_mobile_phones_in_usehttp://en.wikipedia.org/wiki/List_of_countries_by_number_of_mobile_phones_in_use
  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    11/50

    Are there enough software foreveyone ?

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    12/50

    The world is going mobile

    Many challenges

    You can find more reasons

    Thats why we learn this course !

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    13/50

    1. Introduce the mobile phone for 21stcentury

    What is course talking

    about ?

    3. What area can we apply this skill for

    2. How to develop an innovativeprogram on Mobile phone

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    14/50

    The mobile phone of the 21 centuty

    First of all, we need to understand our subject of studyWhat are they ?Why they are interesting ?

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    15/50

    The mobile phone of the 21 centuty

    SmartMobile

    It has

    OperatingSystem

    It is anentertainment

    device

    It has

    Sensors

    Network

    connections

    It ispowerful

    Thng minh smartMnh m: Ex: dual-coreNhiu tnh nng

    Mp3, video, chat, web, gamesKt ni mng

    Mobile office, social networkCamerasSensors

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    16/50

    The phone is powerful

    Plenty of RAM Heaps ofexternalstorage

    Multi-core CPU

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    17/50

    Khi nim CPU Core

    CPU: Central Processing Unit

    Computational power ofa computer is usually

    measured by the power

    of its CPU

    Why I am concern ?- Because of :

    - 1)- 2)- 3)

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    18/50

    Quad-core

    Quad cores = 4 cores

    Means:4 CPU in a box

    More powerful, stronger

    More engergy consumption

    More difficult to manage

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    19/50

    It has operating system

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    20/50

    Connectivities Wide range

    3G

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    21/50

    Connectivities Short range

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    22/50

    It has sensors

    AccelerometerTouch Screen GPS receiver

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    23/50

    Capacitor Sensor

    Human body is a capacitor

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    24/50

    http://www.youtube.com/watch?v=KZVgKu6v808

    Accelerometer

    http://www.youtube.com/watch?v=KZVgKu6v808http://www.youtube.com/watch?v=KZVgKu6v808
  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    25/50

    GPS Global Positioning System

    It first used in US Army

    for navigation Now it is free for civiliants

    Triangulation algorithm Visible satelite (at least 3)

    It is pervasive / outdoor

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    26/50

    Assisted GPS (A-GPS)(on smartphones)

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    27/50

    http://www.youtube.com/watch?v=EOwMkFsJXRI

    Documentary about currentGPS system

    http://www.youtube.com/watch?v=EOwMkFsJXRIhttp://www.youtube.com/watch?v=EOwMkFsJXRI
  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    28/50

    Location based Services

    Map related applications

    Navigation Based Services

    Routing Services

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    29/50

    It is an Entertainment Device

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    30/50

    The smartphones problems

    Difficult to interact

    Battery life

    Expensive

    Social issuesDistraction

    t tin, mau lc huLu tr hn chKch thc nh

    Tng tc khPhc tp i vi ngi ln tuiS dng sai mc chVn x hi

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    31/50

    Difficult Interaction

    Small Screen Icon based ?

    Too complicated

    Menu based ?

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    32/50

    Short battery life

    Battery Awareness

    How much energy that your app uses ?

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    33/50

    They are expensive

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    34/50

    Social issues

    Distractions

    Mobile phones havechanged our way of

    communication

    Isolationism

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    35/50

    Though, there are many difficulties:We still love them !

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    36/50

    How to develop an innovativeprogram on Mobile phone ?

    context

    awareness

    User

    experience

    SocialNetworks

    innovative

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    37/50

    Anind Dey, 1999:

    Context is any information that can be used tocharacterize the situation of an entity. An entity isa person, place, or object that is considered

    relevant to the interaction between a user and anapplication, including the user and applicationsthemselves.

    What is context ?

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    38/50

    Context-awareness

    http://www.mlab.t.u-tokyo.ac.jp/research/2005/context-aware_computing/index_e.php

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    39/50

    GUI

    Menu & Navigation

    Intuitive

    User experience

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    40/50

    We live in a community, not in anisland

    Wireless connections areeverywhere

    Knowing & Sharing & Caring

    Connectivity & Social networks

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    41/50

    How do we learn this course moreeffectively ?

    Self Learning

    Time managementWorking hard

    TeamworkDedicationEnthusiasm

    Love

    LOVE

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    42/50

    Self learning Self motivation

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    43/50

    Reading books

    Learning skills

    Attend lectures & Follow Examples

    Practice & and Practice

    Not only reading

    But also writing report

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    44/50

    Teamwork

    Team of 3 students

    Group name, group constitution, groupcontacts

    Team documentations

    Website, CVS, Subversion

    Team assignment

    Writing reports

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    45/50

    Assignment will be given in the 3th week of

    the semester Assignment plays an important role in the

    course (30% marks)

    Assignment will be submit and presented onthe week 18th of the semester (may be vary intime)

    Assignments

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    46/50

    Mid-term exam, 20%

    Presentation, 10% Assignment, 30% Final Exam, 40%

    Note: Cheating failed immediately !

    Marking schema

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    47/50

    The world is going mobile !

    The goals of this course:

    how to write a program on smartphones(J2ME, Android),

    gives you the ideas on Pervasive Computing

    Provides learning skills

    Conclusion

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    48/50

    Books to read Meier, R., Professional Android 2 Application Development, Wrox

    Press Ltd., 2010

    Lee, W., Beginning Android Application Development,John Wiley &Sons, 2011

    Loke, S. W., Context-Aware Pervasive Systems: Architectures for aNew Breed of Applications,Auerbach Publications, 2006

    Papers to read In the http://courses.uit.edu.vn

    Websites to follow : Android Homepage, Google, Tuan NguyenUIT pages

    References

    http://courses.uit.edu.vn/http://courses.uit.edu.vn/
  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    49/50

    Questions & Answer ?

  • 7/27/2019 lecture1-introductiontomobileappdevelopment-130802042127-phpapp02

    50/50

    tuanubicom.blogspot.com

    www.facebook.com/tuannguyenuit

    How can you reach me?

    http://www.facebook.com/tuannguyenuithttp://www.facebook.com/tuannguyenuit