Pemrograman Mobile. Lesson 1. Introduction to Android. Create Your First Android App. Nizar Rabbi Radliya

Similar documents
Android. Lesson 1. Introduction. Android Developer Fundamentals. Android Developer Fundamentals. to Android 1

Hello World. Lesson 1. Create your first Android. Android Developer Fundamentals. Android Developer Fundamentals

Minds-on: Android. Session 1

ANDROID SYLLABUS. Advanced Android

Introduction to Android

Android Online Training

ORACLE UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

ANDROID DEVELOPMENT. Course Details

Introduction To Android

ATC Android Application Development

Android App Development. Muhammad Sharjeel COMSATS Institute of Information Technology, Lahore

Android Programming in Bluetooth Cochlea Group

Introduction to Android Android Smartphone Programming. Outline University of Freiburg. What is Android? Background University of Freiburg.

Introduction to Android

Android Sdk Setup For Windows 7 32 Bit Full Version

CS260 Intro to Java & Android 04.Android Intro

Course Syllabus. Course Title. Who should attend? Course Description. Android ( Level 1 )

Mobile Application Development

Mobile OS. Symbian. BlackBerry. ios. Window mobile. Android

Android App Development

Syllabus- Java + Android. Java Fundamentals

Android App Development for Beginners

COSC 3P97 Mobile Computing

Mobile and Ubiquitous Computing: Android Programming (part 1)

Java Training Center - Android Application Development

Mobile development initiation

Programming Concepts and Skills. Creating an Android Project

Tutorial on Basic Android Setup

Lab Android Development Environment

SD Module- Android Programming

1. Implementation of Inheritance with objects, methods. 2. Implementing Interface in a simple java class. 3. To create java class with polymorphism

(Refer Slide Time: 0:48)

Android App Development

Android Development Crash Course

ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012

Basic Android Setup for Machine Vision Fall 2015

Android Studio is google's official IDE(Integrated Development Environment) for Android Developers.

Link-OS SDK for Xamarin README

Android Development Tools = Eclipse + ADT + SDK

Android Application Development Course Code: AND-401 Version 7 Duration: 05 days

Mobile Programming Lecture 1. Getting Started

ANDROID TRAINING PROGRAM COURSE CONTENT

Android Application Development

SEVEN ADVANCED ACADEMY

A Customizable Travel Application- Travel-It

CS 4518 Mobile and Ubiquitous Computing Lecture 2: Introduction to Android. Emmanuel Agu

Around Android. Essential Android features illustrated by a walk through a practical example

An Introduction to Android. Jason Chen Developer Advocate Google I/O 2008

CS 528 Mobile and Ubiquitous Computing Lecture 1b: Introduction to Android. Emmanuel Agu

Android. (XKE Mars 2009) Erwan Alliaume.

Software Development & Education Center ANDROID. Application Development

ITG Software Engineering

Mobile and Wireless Systems Programming

Presentation Outline 10/16/2016

Android System Architecture. Android Application Fundamentals. Applications in Android. Apps in the Android OS. Program Model 8/31/2015

ELET4133: Embedded Systems. Topic 3 Eclipse Tour & Building a First App

Introduction to Android development

Android App Development. Ahmad Tayeb

Praktikum Mobile und Verteilte Systeme. Android-Basics. Prof. Dr. Claudia Linnhoff-Popien André Ebert, Sebastian Feld

Android-Basics. Praktikum Mobile und Verteilte Systeme

MARS AREA SCHOOL DISTRICT Curriculum TECHNOLOGY EDUCATION

Developing Applications for ios

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology

Android-Basics. Praktikum Mobile und Verteilte Systeme. Prof. Dr. Claudia Linnhoff-Popien André Ebert, Sebastian Feld

Android Application Development Course 28 Contact Hours

GUJARAT TECHNOLOGICAL UNIVERSITY

Android ATC Android Security Essentials Course Code: AND-402 version 5 Hands on Guide to Android Security Principles

Android Apps. with Eclipse. Apress. Onur Cinar

Introduction to Android

Real-Time Embedded Systems

Android Software Development Kit (Part I)

IT-G400 Series. Android 6.0 Quick Start Guide. This document is a Development Guide Book for IT-G400 application developers. Ver 1.

INTRODUCTION TO ANDROID

Android. Mobile operating system developed by Google A complete stack. Based on the Linux kernel Open source under the Apache 2 license

What is the Selendroid?

Open Mobile Platforms. EE 392I, Lecture-6 May 4 th, 2010

Mobile Application Development

Android Application Development using Kotlin

Tutorial on Basic Android Setup

Android Essentials with Java

ECOM 5341 Mobile Computing(Android) Eng.Ruba A. Salamah

android application development CONTENTS 1.1 INTRODUCTION TO O ANDROID OPERATING SYSTEM... TURES Understanding the Android Software Stack...

DEVELOPING APPS FOR. Note: This ebook relies on and uses information from the Google Glass Developers site.

Required Core Java for Android application development

COLLEGE OF ENGINEERING, NASHIK-4

Index A, B. Cloud functions AndroidManifest.xml, authentication triggers,

1. What are the key components of Android Architecture? 2. What are the advantages of having an emulator within the Android environment?

Android Sdk Tutorial For Windows 7 64 Bit Full Version

ios vs Android By: Group 2

(Refer Slide Time: 1:12)

BlackBerry Developer Global Tour. Android. Table of Contents

Getting Started with Android Development Zebra Android Link-OS SDK Android Studio

Chapter 2. Operating-System Structures

ANDROID APPLICATION PROGRAMMING

Chapter 1 Hello, Android

Android Studio for Windows

Wirtschaftsinformatik Skiseminar ao. Prof. Dr. Rony G. Flatscher. Seminar paper presentation Dennis Robert Stöhr

Android Development Tutorial. Yi Huang

Developer s overview of the Android platform

IJRDTM Kailash ISBN No Vol.17 Issue

Transcription:

Pemrograman Mobile Lesson 1 3 SKS Semester 7 S1 Sistem Informasi Nizar Rabbi Radliya nizar@email.unikom.ac.id Introduction to Android Create Your First Android App

Mobile Device Mobile Platform/OS

Windows Phone 2.60% BlackBerry OS 0.30% ios 13.90% Others 0.40% Android 82.80% Source: IDC, Aug 2015

Pangsa pasar lebih unggul Adanya Google Play Lengkap (Complete Platform) Terbuka (Open Source Platform) Gratis (Free Platform) Tersedianya dokumentasi dan komunitas (forum) Masih minimnya implementasi SI berbasis Android

Mata kuliah Pemrograman Mobile (Prodi SI) Pembangunan aplikasi pada perangkat mobile Menggunakan platform android Dimulai dari persiapan perlengkapan pembangunan Sampai pada tahap file distribusi dan pendistribusian aplikasi

Silabus Pemrograman Mobile (Prodi SI) Build Your First App Activities Testing, Debugging, and Using Support Libraries User Interaction Delightful User Experience Testing your UI Background Tasks Triggering, Scheduling, and Optimizing Background Tasks All About Data Storing Data Using SQLite Sharing Data with Content Providers Loading Data Using Loaders Permissions, Performance and Security Firebase and AdMob Publish!

What is Android? Mobile operating system based on Linux kernel User Interface for touch screens Used on over 80% of all smartphones Powers devices such as watches, TVs, and cars Over 2 Million Android apps in Google Play store Highly customizable for devices / by vendors Open source

Android user interaction Touch gestures: swiping, tapping, pinching Virtual keyboard for characters, numbers, and emoji Support for Bluetooth, USB controllers and peripherals

Arsitektur Android 1. System and user apps 2. Android OS API in Java framework 3. Expose native APIs; run apps 4. Expose device hardware capabilities 5. Linux Kernel

Arsitektur Android

Platform Versions

Platform Versions

What is an Android app? One or more interactive screens Written using Java Programming Language and XML Uses the Android Software Development Kit (SDK) Uses Android libraries and Android Application Framework Executed by Android Runtime Virtual machine (ART)

Challenges of Android development Multiple screen sizes and resolutions Performance: make your apps responsive and smooth Security: keep source code and user data safe Compatibility: run well on older platform versions Marketing: understand the market and your users

App building blocks Resources: layouts, images, strings, colors as XML and media files Components: activities, services,, and helper classes as Java code Manifest: information about app for the runtime Build configuration: APK versions in Gradle config files

Component types Activity is a single screen with a user interface Service performs long-running tasks in background Content provider manages shared set of data Broadcast receiver responds to system-wide announcements

Think of Android as a hotel Your app is the guest The Android System is the hotel manager Services are available when you request them (intents) In the foreground (activities) such as registration In the background (services) such as laundry Calls you when a package has arrived (broadcast receiver) Access the city's tour companies (content provider)

Installation Overview Java JDK Android SDK Download and install Android Studio from http://developer.android.com/sdk/index.html IDE Eclipse Android ADT

What is Android Studio? Android IDE Project structure Templates Layout Editor Testing tools Gradle-based build Log Console Debugger Monitors Emulators

Creating Your First Android App

Name your app

Pick activity template Choose templates for common activities, such as maps or navigation drawers. Pick Empty Activity or Basic Activity for simple and custom activities.

Name your activity Good practice to name main activity MainActivity and activity_main layout Use AppCompat Generating layout file is convenient

Android Studio Android Studio Panes Layout Editor Project Files Android Monitors: logcat: log messages

Project folders 1. manifests Android Manifest file - description of app read by the Android runtime 2. java Java source code packages 3. res Resources (XML) - layout, strings, images, dimensions, colors... 4. build.gradle Gradle build files

Gradle build system Modern build subsystem in Android Studio Three build.gradle: project module settings Typically not necessary to know low-level Gradle details Learn more about gradle at https://gradle.org/

Run your app 1. Run 2. Select virtual or physical device 3. OK

Create a virtual device Use emulators to test app on different versions of Android and form factors. Tools > Android > AVD Manager or:

Configure virtual device 1. Choose hardware 2. Select Android Version 3. Finalize

Run on a virtual device

Run on a physical device 1. Turn on Developer Options: a. Settings > About phone b. Tap Build number seven times 2. Turn on USB Debugging a. Settings > Developer Options > USB Debugging 3. Connect phone to computer with cable Windows/Linux additional setup: Using Hardware Devices Windows drivers: OEM USB Drivers

Learn more Android History https://www.android.com/history/#/marshmallow Introduction to Android https://developer.android.com/guide/index.html Platform Architecture https://developer.android.com/guide/platform/index.html UI Overview https://developer.android.com/guide/topics/ui/overview.html Platform Versions https://developer.android.com/about/dashboards/index.html Supporting Different Platform Versions https://developer.android.com/training/basics/supportingdevices/platforms.html Android Studio User s Guide https://developer.android.com/studio/intro/index.html

Learn more Official Android documentation http://developer.android.com/index.html Image Asset Studio http://developer.android.com/tools/help/image-asset-studio.html Android Monitor page http://developer.android.com/tools/help/android-monitor.html Official Android blog http://officialandroid.blogspot.com/ Android Developers blog http://android-developers.blogspot.com Google I/O Codelabs http://codelabs.developers.google.com Stack Overflow http://stackoverflow.com/ Android vocabulary http://developers.google.com/android/for-all/vocab-words Google Developer Training website http://developers.google.com/training

What s Next? Views, Layouts, and Resources