QA-QAANDDEV

Ladda ner som PDF

Developing Android Applications

Please note - this course now makes use of Android Studio. Eclipse/ADT is no longer utilised.

This is a technical course that introduces programming Android applications. It is suitable for programmers starting new projects on Android, or for those maintaining existing applications.

Based on Linux, Android has rapidly emerged as the platform of choice for a wide range of mobile devices. In the short time since its first distribution in 2007, it has become one of the most widely used and prolific operating systems. Applications for Android are mostly written in the popular programming language Java, and a well-developed SDK is provided by Google, together with an emulator for development on the desktop.

This is an instructor led presentation with hands on exercises course using the Android development environment on Microsoft Windows, but is equally applicable to other.

Prior knowledge

  • Previous knowledge and experience of Java is assumed, and some knowledge of XML is required.

  • Experience of using Android at a user level is not assumed but will be an advantage, as will previous experience of Eclipse.

Objectives:

At the end of this course you will be able to:

  • Use Android Studio with the Android emulator as a productive development environment to write and run Android applications
  • Understand Android features
  • Exploit the Android developer's SDK
  • Appreciate the differences between versions of Android
  • Design and write effective user interfaces for Android applications
  • Exploit hardware features available on a variety of devices
  • Effectively use external services and resources

Course Outline:

1. Introduction to Android™

  • Copyrights and legal stuff
  • Rationale and history
  • Hardware
  • Software versions
  • Architecture
  • The Dalvik VM
  • Apps!
  • Current Android platforms
  • Telephone and tablet

2. The Development Environment

  • The emulator environment
  • A first project in Android Studio
  • Creating the AVD from Android Studio
  • Running our project

3. Use of Java in Android

  • OO concepts review
  • Java language review
  • Introduction to Android classes
  • Android components
  • Other Android classes
  • Application security
  • The Manifest File - Public API

4. Developer Tools

  • SDK tools
  • Android Debug bridge - adb
  • Android Device Monitor
  • Dalvik Debug Monitor Service - DDMS
  • The shell
  • logcat
  • Android lint
  • SD card
  • What about a real device?
  • Android Device Chooser

5. UI - Layouts and Views in XML

  • Activities
  • Views
  • Layouts
  • Use of XML for UI components
  • Widgets
  • Storing and using literal values

6. UI - Layouts and Views in Java

Objectives:

At the end of this course you will be able to:

  • Use Android Studio with the Android emulator as a productive development environment to write and run Android applications
  • Understand Android features
  • Exploit the Android developer's SDK
  • Appreciate the differences between versions of Android
  • Design and write effective user interfaces for Android applications
  • Exploit hardware features available on a variety of devices
  • Effectively use external services and resources

Course Outline:

1. Introduction to Android™

  • Copyrights and legal stuff
  • Rationale and history
  • Hardware
  • Software versions
  • Architecture
  • The Dalvik VM
  • Apps!
  • Current Android platforms
  • Telephone and tablet

2. The Development Environment

  • The emulator environment
  • A first project in Android Studio
  • Creating the AVD from Android Studio
  • Running our project

3. Use of Java in Android

  • OO concepts review
  • Java language review
  • Introduction to Android classes
  • Android components
  • Other Android classes
  • Application security
  • The Manifest File - Public API

4. Developer Tools

  • SDK tools
  • Android Debug bridge - adb
  • Android Device Monitor
  • Dalvik Debug Monitor Service - DDMS
  • The shell
  • logcat
  • Android lint
  • SD card
  • What about a real device?
  • Android Device Chooser

5. UI - Layouts and Views in XML

  • Activities
  • Views
  • Layouts
  • Use of XML for UI components
  • Widgets
  • Storing and using literal values

6. UI - Layouts and Views in Java

  • Layouts, Widget ids and R.java
  • Using literal values (revisited)
  • Handling events
  • Getting and setting view values
  • ListViews

7. UI - Menus

  • Menus
  • Menus in XML
  • The code for option menus
  • The code for context menus

8. UI - Activity life-cycles

  • The 'back stack'
  • Activity life-cycles and call-backs
  • Saving state
  • Persisting state
  • Launching a new activity
  • Declaring activities in the manifest file

9. Services and Receivers

  • What is a Service?
  • The IntentService class
  • Declaring Services in the manifest file
  • Status Bar and notifications
  • Broadcasts and BroadcastReceivers

10. Content Providers

  • Standard providers
  • Querying and changing data
  • Use of URIs
  • The query() method
  • Inserting, deleting and updating data
  • Querying and retrieving data on another thread
  • Writing your own content provider

11. Network Access

  • Overview
  • Checking connectivity
  • Internet access
  • Bluetooth
  • Introduction to Wi-Fi Direct and NFC

12. Data Access

  • Internal Storage - private data
  • External Storage - public data
  • Persisting state with SharedPreferences

13. SQLite

  • What is SQLite?
  • SQLite data-types
  • SQLite table definitions
  • SQLite data manipulation
  • Using SQLite in Android
  • Using SQLite
  • Using SQLite with a Content Provider
  • Using ADB and sqlite3

14. Devices and External Services

  • Telephony
  • Using a camera
  • Location, location, location: GPS (and friends)
  • Introduction to Google Maps

15. Further UI Topics

  • Designing for hardware variety
  • Using multiple layouts
  • Fragments
  • The Action Bar

16. Testing

  • What should I test?
  • Testing platforms
  • Android JUnit extensions
  • UI Application Exerciser Monkey
  • monkeyrunner
  • Other tools

17. Publishing

  • The publishing process
  • Signing
  • The Generate Signed APK Wizard
  • ProGuard
  • Versioning
  • Android Asset Packing Tool - aapt
  • Android Market / Google Play
  • The Android Developer Console

18. Beyond Java

  • Other development techniques
  • Native Code
  • Native Development Kit - NDK
  • Mono - C#
  • Scripting Layer for Android - SL4A

Utbildningen levereras i samarbete med

Kurs-ID: QA-QAANDDEV
Längd: 5 dagar
Pris exkl moms: 35 436 kr

Frågor om kursen?

Har du frågor om kursens innehåll, leveransdatum/ort eller behöver en företagsanpassad variant? Fyll i formuläret nedan!


Avtalsrabatter och kampanjer kan ej nyttjas på denna kurs.


Ort och datum

Cloud Access
i Läs mer

Delta på kursen från ditt hem, jobb eller annan plats.

5 dec-9 dec
Boka nu!
20 mar-24 mar
Boka nu!
5 jun-9 jun
Boka nu!
14 aug-18 aug
Boka nu!

Tipsa