Developing the android application - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

Developing the android application

Description:

Operating system for mobile devices with a ... The application displays a button and texts to allow turning on or off wifi. The application turns on or off wifi ... – PowerPoint PPT presentation

Number of Views:141
Avg rating:3.0/5.0
Slides: 7
Provided by: SUK7
Category:

less

Transcript and Presenter's Notes

Title: Developing the android application


1
Developing the android application
2
Android
  • Operating system for mobile devices with a Java
    programming interface.
  • Provides tools, e.g. a compiler, debugger, device
    emulator, and its own Java Virtual machine (DVM).
  • Application Components
  • Activity present a visual user interface.
  • Services run in the background without UI.
  • Broadcast Receivers receives system messages.
    They can be used to react to changed conditions
    in the system
  • Content Providers provide data to all
    applications. Android contains a SQLLite DB which
    can serve as data provider.

3
Installation
  • Download and Install the SDK
  • http//developer.android.com/sdk/installing.html
  • Download and Install Eclipse
  • Install ADT plug-in for Eclipse
  • Add Platforms (Version1.5 or 1.6)
  • Complete tutorials
  • http//developer.android.com/resources/tutorials/h
    ello-world.html

4
Programming Assignment 1
  • Description
  • Develop an application that can turn on/off wifi
    connection.
  • The application checks current status of wifi
    connectivity.
  • The application displays a button and texts to
    allow turning on or off wifi.
  • The application turns on or off wifi connection
    when the button is clicked.
  • Hints
  • May need android.net.wifi package.
  • Due by Wednesday, Sep. 1 (Before the class)

5
Programming Assignment 1
Start
If wifi is enabled.
If wifi is disabled.
Check the wifi status.
If ON button is clicked ---------- Set wifi
enabled
Enabled
Disabled
If OFF button is clicked ---------- Set wifi
disabled
Display texts Create OFF button
Display texts Create ON button
6
Annoucement
  • For assignment 1, you do NOT need to submit the
    screenshots!
  • TA (Grader) Office hours
  • T Th 1030 am 12 pm
  • Google group has been created.
  • Send email to su.kim.asu_at_gmail.com to get
    invited.
  • If you want to test your application with an
    android phone, come to my office during my office
    hours or make an appointment.
Write a Comment
User Comments (0)
About PowerShow.com