Android Application Development: Hands- On. Dr. Jogesh K. Muppala

Size: px
Start display at page:

Download "Android Application Development: Hands- On. Dr. Jogesh K. Muppala muppala@cse.ust.hk"

Transcription

1 Android Application Development: Hands- On Dr. Jogesh K. Muppala

2 Wi-Fi Access Wi-Fi Access Account Name: aadc

3 The Android Wave! 3

4 Hello, Android!

5 Configure the Android SDK SDK = Software Development Kit First move to the Eclipse directory D:\eclipse Start Eclipse by double clicking it Set your workspace to be D:\workspace Click Window-> Preferences-> Android, and choose the SDK location to where you put the Android SDK (must be D:\android-sdk-windows) 5

6 Create an Android AVD AVD = Android Virtual Device (Emulator) Create an Android Virtual Device (AVD): In Eclipse, select Window-> Android SDK and AVD Manager-> Virtual Devices, and click New Here is an example to create a AVD 6

7 Select Your AVD After clicking Create AVD, you should see available AVD(s) Select AVD and click Start 7

8 Run your AVD Run the AVD as below and keep it alive during the lesson Every time, you may need around a minute to start the emulator 8

9 Hello, Android! Create a new Android Project. In Eclipse, click File-> New -> Android project. Meaning of the different fields: Project Name This is the Eclipse Project name the name of the directory that will contain the project files. Use helloandroid Build Target The version of Android platform you wish your application to run. Since Android applications are forward-compatible, and recall that we have select our AVD version as Android 2.2, you may select any Android version that is not higher than 2.2. Application Name This is the human-readable title for your application the name that will appear on the Android device. Use Hello Android. 9

10 Hello, Android! Package Name This is the package namespace (following the same rules as for packages in the Java programming language) that you want all your source code to reside under. This also sets the package name under which the stub Activity will be generated. Your package name must be unique across all packages installed on the Android system; for this reason, it's important to use a standard domainstyle package for your applications. Here we use the hkust.cse.helloandroid " namespace, which is a namespace reserved for example documentation when you develop your own applications, you should use a namespace that's appropriate to your organization or entity. Create Activity This is the name for the class stub that will be generated by the plugin. This will be a subclass of Android's Activity class. An Activity is simply a class that can run and do work. It can create a UI if it chooses, but it doesn't need to. As the checkbox suggests, this is optional, but an Activity is almost always used as the basis for an application. Here we use HelloAndroid. Min SDK Version This specifies the minimum API Level on which your application can run. By default this is set to the API Level of the Build Target Platform. As new APIs are added to newer Versions, their API levels increase as well. A Program that uses an API Level of four won't be able to run on a platform that has a lower API Level. 10

11 Hello, Android! Now your Android project is ready. In Package Explorer, click src-> hkust.cse.helloandroid. Open HelloAndroid.java Notice that the class is based on the Activity class. An Activity is a single application entity that is used to perform actions. An application may have many separate activities, but the user interacts with them one at a time. The oncreate() method will be called by the Android system when your Activity starts it is where you should perform all initialization and UI setup. An activity is not required to have a user interface, but usually will. 11

12 Hello, Android! Construct the UI. Use following code to replace the default code of oncreate(). public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); TextView tv = new TextView(this); tv.settext("hello, Android"); setcontentview(tv); } Since the class TextView is not accepted by default, you should click on it and select Import TextView (android.widget). you can also type yourself: import android.widget.textview; Tip: An easy way to add import packages to your project is to press Ctrl-Shift-O (Cmd-Shift-O, on Mac). This is an Eclipse shortcut that identifies missing packages based on your code and adds them for you. 12

13 Hello, Android! An Android user interface is composed of hierarchies of objects called Views. A View is a drawable object used as an element in your UI layout, such as a button, image, or (in this case) a text label. Each of these objects is a subclass of the View class and the subclass that handles text is TextView. In this change, you create a TextView with the class constructor, which accepts an Android Context instance as its parameter. A Context is a handle to the system; it provides services like resolving resources, obtaining access to databases and preferences, and so on. The Activity class inherits from Context, and because your HelloAndroid class is a subclass of Activity, it is also a Context. So, you can pass this as your Context reference to the TextView. Next, you define the text content with settext(). Finally, you pass the TextView to setcontentview() in order to display it as the content for the Activity UI. If your Activity doesn't call this method, then no UI is present and the system will display a blank screen. There it is "Hello, Android!" in Android! The next step, of course, is to see it running. 13

14 Hello, Android! Run the application. Click Run-> Run, and select Android Application. Eclipse will build the whole project and deploy it to an emulator automatically. You can find your application in Menu. Debug your project. Put a breakpoint for your application by double-clicking on the marker bar next to the source code line. After setting a breakpoint, select Run-> Debug, and Eclipse will restart your emulator. But this time it will suspend when it reaches the breakpoint you set. You can then step through the code in Eclipse's Debug Perspective, just as you would for any other application. 14

15 Hello, Android! Upgrade the UI to an XML Layout. This is an easier way to apply your modification to the UI to different applications. In the Eclipse Package Explorer, select /res/layout/ main.xml This xml layout file can be used by the application to construct user interfaces Modify the contents of the file to the following: <?xml version="1.0" encoding="utf-8"?> <TextView xmlns:android="http://schemas.android.com/apk/ res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" 15

16 Hello, Android! Now modify your HelloWorld.java file. Replace the content of oncreate() with following code: public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.main); } Compared to the previous code, the importing of android.widget.textview is not needed, and instead of passing setcontentview() a View object, you give it a reference to the layout resource. The resource is identified as R.layout.main, which is actually a compiled object representation of the layout defined in /res/ layout/main.xml. Now you can run the application again, and see that the title of the application and the text has been changed. 16

17 Hello, Android! Open /res/values/strings.xml you can see the values of the two strings: hello and app_name defined there. Replace the string value of hello with Hello, <Your Neighbor s name>! Now you can run the application again, and see that the application now prints the new hello string! 17

18 Get Familiar with Eclipse 18

19 Get Ready with Your Eclipse As Eclipse is not only designed for Android development, there might have some slight difference You should choose the Java code editing environment by selecting Window > Open Perspective > Java If you cannot see the Java icon, you click Other... to look for the Java code editing environment We can divide it into 5 components: menu bar, tool bar, navigation area, editor area and debug area 19

20 5 Components in Eclipse 20

21 Menu Bar Eclipse menu bar contains familiar functions like file and editing operations The File menu contains menu items for Import and Export, which are used to import project files into the Workspace, and export them out again In the Run menu, you will find commands related to running and debugging application code, and launching external tools such as Android emulator In the Help menu, you can search helps and check for updates of Eclipse software and plugin by selecting Help > Check for Updates... 21

22 Toolbar One important feature of toolbar is to provide you with a quick access of Android SDK Manager in the Android SDK and AVD Manager group If you have installed Android development tools for Eclipse, on the left side of the toolbar you should see an Android SDK and AVD manager grouping You can click these buttons to update and install SDK and virtual devices. 22

23 Navigation Area Navigation area usually consists of three views, Package Explorer, Outline and Task List if you choose to use Java perspective Let s talk about the first two Package Explorer helps to find all information for the project, for example, source code, compile sources, libraries, manifest, intent-filters, usespermissions 23

24 Navigation Area - Package Explorer (1/2) The first folder is named by the project name. It includes the 6 subfolders. They are src, gen, Android Library, assets, bin and res. src stores the code which developers write; gen stores the generated Java files by the system; Android Library contains a file named android.jar which is the Android library class file; assets stores the source code or files which are not Java classes and later retrieved as raw byte stream; bin stores the binary and executable files which is generated by compiler 24

25 Navigation Area - Package Explorer (2/2) res stores all the resources used by your Android application. For example, the drawable folder contains a png image file that is used as the icon for your application. The layout folder contains an XML file used to represent the user interface of your Android application. The values folder contains an XML file used to store a list of string constants. AndroidManifest.xml file is an application configuration file that contains detailed information about your application, such as the number of activi- ties you have in your application, the types of permissions your application needs, the version information of your application, and so on. 25

26 Navigation Area - Outline View The Outline view displays an outline of a structured file that is currently open in the editor area, and lists structural elements It also provides the descriptions of all the small buttons in the Outline view 26

27 Editor Area Editor area provides two types of user interface, a smart code sheet and a graphical layout builder. Smart code sheet is a text editor area for writing the source code of application Eclipse provides a graphical layout editor to create the layout of user interface by drag and drop interface creation and live preview for your new application 27

28 Editor Area Smart Code Sheet The smart sheet includes many functions, for example, showing hints of arguments 28

29 Editor Area Graphical Layout Editor It will be visible via a tab at the bottom of the code editor window when you open your xml file (res/ layout) 29

30 Debug Area Debug area usually provides information about warnings, errors, logs and specifications The above is an example of showing Java errors in the Problems tab 30

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android Why Android? ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android Dr Dimitris C. Dracopoulos A truly open, free development platform based on Linux and open source A component-based

More information

directory to "d:\myproject\android". Hereafter, I shall denote the android installed directory as

directory to d:\myproject\android. Hereafter, I shall denote the android installed directory as 1 of 6 2011-03-01 12:16 AM yet another insignificant programming notes... HOME Android SDK 2.2 How to Install and Get Started Introduction Android is a mobile operating system developed by Google, which

More information

Mobile Application Development

Mobile Application Development Mobile Application Development (Android & ios) Tutorial Emirates Skills 2015 3/26/2015 1 What is Android? An open source Linux-based operating system intended for mobile computing platforms Includes a

More information

Chapter 2 Getting Started

Chapter 2 Getting Started Welcome to Android Chapter 2 Getting Started Android SDK contains: API Libraries Developer Tools Documentation Sample Code Best development environment is Eclipse with the Android Developer Tool (ADT)

More information

How to Create an Android Application using Eclipse on Windows 7

How to Create an Android Application using Eclipse on Windows 7 How to Create an Android Application using Eclipse on Windows 7 Kevin Gleason 11/11/11 This application note is design to teach the reader how to setup an Android Development Environment on a Windows 7

More information

How to build your first Android Application in Windows

How to build your first Android Application in Windows APPLICATION NOTE How to build your first Android Application in Windows 3/30/2012 Created by: Micah Zastrow Abstract This application note is designed to teach the reader how to setup the Android Development

More information

Android Environment SDK

Android Environment SDK Part 2-a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 2A. Android Environment: Eclipse & ADT The Android

More information

Android Environment SDK

Android Environment SDK Part 2-a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 Android Environment: Eclipse & ADT The Android

More information

Android Introduction. Hello World. @2010 Mihail L. Sichitiu 1

Android Introduction. Hello World. @2010 Mihail L. Sichitiu 1 Android Introduction Hello World @2010 Mihail L. Sichitiu 1 Goal Create a very simple application Run it on a real device Run it on the emulator Examine its structure @2010 Mihail L. Sichitiu 2 Google

More information

Getting Started: Creating a Simple App

Getting Started: Creating a Simple App Getting Started: Creating a Simple App What You will Learn: Setting up your development environment Creating a simple app Personalizing your app Running your app on an emulator The goal of this hour is

More information

MMI 2: Mobile Human- Computer Interaction Android

MMI 2: Mobile Human- Computer Interaction Android MMI 2: Mobile Human- Computer Interaction Android Prof. Dr. michael.rohs@ifi.lmu.de Mobile Interaction Lab, LMU München Android Software Stack Applications Java SDK Activities Views Resources Animation

More information

Android Project Anatomy

Android Project Anatomy Android Project Anatomy What is JDK, SDK, ADT, AVD and Eclipse!! When you complete lab0 you will notice that we have installed a lot of components in order to start developing android. The figure below

More information

Tutorial #1. Android Application Development Advanced Hello World App

Tutorial #1. Android Application Development Advanced Hello World App Tutorial #1 Android Application Development Advanced Hello World App 1. Create a new Android Project 1. Open Eclipse 2. Click the menu File -> New -> Other. 3. Expand the Android folder and select Android

More information

Advantages. manage port forwarding, set breakpoints, and view thread and process information directly

Advantages. manage port forwarding, set breakpoints, and view thread and process information directly Part 2 a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 Android Environment: Eclipse & ADT The Android

More information

Now that we have the Android SDK, Eclipse and Phones all ready to go we can jump into actual Android development.

Now that we have the Android SDK, Eclipse and Phones all ready to go we can jump into actual Android development. Android Development 101 Now that we have the Android SDK, Eclipse and Phones all ready to go we can jump into actual Android development. Activity In Android, each application (and perhaps each screen

More information

Hello World. by Elliot Khazon

Hello World. by Elliot Khazon Hello World by Elliot Khazon Prerequisites JAVA SDK 1.5 or 1.6 Windows XP (32-bit) or Vista (32- or 64-bit) 1 + more Gig of memory 1.7 Ghz+ CPU Tools Eclipse IDE 3.4 or 3.5 SDK starter package Installation

More information

Developing Android Apps: Part 1

Developing Android Apps: Part 1 : Part 1 d.schmidt@vanderbilt.edu www.dre.vanderbilt.edu/~schmidt Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee, USA CS 282 Principles of Operating Systems II Systems

More information

cisc3650, spring 2012, lab III.1 / prof sklar Introduction to Android

cisc3650, spring 2012, lab III.1 / prof sklar Introduction to Android cisc3650, spring 2012, lab III.1 / prof sklar Introduction to Android overview This exercise will comprise part of the homework assignment for Unit III. The complete assignment will be given in class next

More information

First Android. Application

First Android. Application First Android Application GETTING STARTED In this lesson we will walk through creating your very first Android application. It may seem complicated at first, but if you follow along you will end up with

More information

Running a Program on an AVD

Running a Program on an AVD Running a Program on an AVD Now that you have a project that builds an application, and an AVD with a system image compatible with the application s build target and API level requirements, you can run

More information

Android Development. http://developer.android.com/develop/ 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系

Android Development. http://developer.android.com/develop/ 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系 Android Development http://developer.android.com/develop/ 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系 Android 3D 1. Design 2. Develop Training API Guides Reference 3. Distribute 2 Development Training Get Started Building

More information

Intro to Android Development 2. Accessibility Capstone Nov 23, 2010

Intro to Android Development 2. Accessibility Capstone Nov 23, 2010 Intro to Android Development 2 Accessibility Capstone Nov 23, 2010 Outline for Today Application components Activities Intents Manifest file Visual user interface Creating a user interface Resources TextToSpeech

More information

Mobile Application Frameworks and Services

Mobile Application Frameworks and Services Mobile Application Frameworks and Services Lecture: Programming Basics Dr. Panayiotis Alefragis Professor of Applications Masters Science Program: Technologies and Infrastructures for Broadband Applications

More information

Developing In Eclipse, with ADT

Developing In Eclipse, with ADT Developing In Eclipse, with ADT Android Developers file://v:\android-sdk-windows\docs\guide\developing\eclipse-adt.html Page 1 of 12 Developing In Eclipse, with ADT The Android Development Tools (ADT)

More information

Getting Started with Android Development Using Eclipse

Getting Started with Android Development Using Eclipse Getting Started with Android Development Using Eclipse Original Tutorial by Wei Meng Lee (updated 2010.03.07) Your First Android Application As with all traditional programming projects, the first project

More information

Android Apps Development for Mobile Game Lesson Create your first Android App, and then test the apps in emulator and your mobile (Page 7 11)

Android Apps Development for Mobile Game Lesson Create your first Android App, and then test the apps in emulator and your mobile (Page 7 11) Workshop 1. Install the ADT Bundle and set up the AVD in your machine (Page 2 6). 2. Create your first Android App, and then test the apps in emulator and your mobile (Page 7 11) 3. Localize your app to

More information

Android Development Tutorial. Nikhil Yadav CSE40816/60816 - Pervasive Health Fall 2011

Android Development Tutorial. Nikhil Yadav CSE40816/60816 - Pervasive Health Fall 2011 Android Development Tutorial Nikhil Yadav CSE40816/60816 - Pervasive Health Fall 2011 Database connections Local SQLite and remote access Outline Setting up the Android Development Environment (Windows)

More information

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 Tutorial: Android Object API Application Development SAP Mobile Platform 2.3 DOCUMENT ID: DC01939-01-0230-01 LAST REVISED: March 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This publication

More information

How to develop your own app

How to develop your own app How to develop your own app It s important that everything on the hardware side and also on the software side of our Android-to-serial converter should be as simple as possible. We have the advantage that

More information

Android Application Development - Exam Sample

Android Application Development - Exam Sample Android Application Development - Exam Sample 1 Which of these is not recommended in the Android Developer's Guide as a method of creating an individual View? a Create by extending the android.view.view

More information

Setting up Android Studio

Setting up Android Studio Setting up Android Studio Step 1: Download and install the latest Java SE Development kit. Step 2: Set the Java path in System Environment variables. Step 3: Search for Android Studio in Google. It is

More information

Tutorial: Android Object API Application Development. Sybase Unwired Platform 2.2 SP02

Tutorial: Android Object API Application Development. Sybase Unwired Platform 2.2 SP02 Tutorial: Android Object API Application Development Sybase Unwired Platform 2.2 SP02 DOCUMENT ID: DC01734-01-0222-01 LAST REVISED: January 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This

More information

IOIO for Android Beginners Guide Introduction

IOIO for Android Beginners Guide Introduction IOIO for Android Beginners Guide Introduction This is the beginners guide for the IOIO for Android board and is intended for users that have never written an Android app. The goal of this tutorial is to

More information

Android Development Tools = Eclipse + ADT + SDK

Android Development Tools = Eclipse + ADT + SDK Lesson 2 Android Development Tools = Eclipse + ADT + SDK Victor Matos Cleveland State University Portions of this page are reproduced from work created and shared by Googleand used according to terms described

More information

Android Development. Marc Mc Loughlin

Android Development. Marc Mc Loughlin Android Development Marc Mc Loughlin Android Development Android Developer Website:h:p://developer.android.com/ Dev Guide Reference Resources Video / Blog SeCng up the SDK h:p://developer.android.com/sdk/

More information

Frameworks & Android. Programmeertechnieken, Tim Cocx

Frameworks & Android. Programmeertechnieken, Tim Cocx Frameworks & Android Programmeertechnieken, Tim Cocx Discover thediscover world atthe Leiden world University at Leiden University Software maken is hergebruiken The majority of programming activities

More information

Embedded System Design Concepts Embedded System Developing Tools and Operating Systems Embedded Linux and Android Environment

Embedded System Design Concepts Embedded System Developing Tools and Operating Systems Embedded Linux and Android Environment Embedded System Design Concepts Embedded System Developing Tools and Operating Systems Embedded Linux and Android Environment Real-Time System Design and Scheduling Algorithms System Synchronization Protocols

More information

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I)

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) Who am I? Lo Chi Wing, Peter Lecture 1: Introduction to Android Development Email: Peter@Peter-Lo.com Facebook: http://www.facebook.com/peterlo111

More information

Developing NFC Applications on the Android Platform. The Definitive Resource

Developing NFC Applications on the Android Platform. The Definitive Resource Developing NFC Applications on the Android Platform The Definitive Resource Part 1 By Kyle Lampert Introduction This guide will use examples from Mac OS X, but the steps are easily adaptable for modern

More information

Android Tutorial. Larry Walters OOSE Fall 2011

Android Tutorial. Larry Walters OOSE Fall 2011 Android Tutorial Larry Walters OOSE Fall 2011 References This tutorial is a brief overview of some major concepts Android is much richer and more complex Developer s Guide http://developer.android.com/guide/index.html

More information

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 SP02

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 SP02 Tutorial: Android Object API Application Development SAP Mobile Platform 2.3 SP02 DOCUMENT ID: DC01939-01-0232-01 LAST REVISED: May 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This publication

More information

Chapter 2: Simplify! The Android User Interface

Chapter 2: Simplify! The Android User Interface Chapter 2: Simplify! The Android User Interface Objectives In this chapter, you learn to: Develop a user interface using the TextView, ImageView, and Button controls Create an Android project that includes

More information

Android Building user interfaces

Android Building user interfaces Erlend Stav SINTEF SINTEF Android workshop, November 17, 2009 UbiComp ForAll Overview 2 Two ways of creating user interfaces Steps for a simple example Adding a button to the user interface Adding a new

More information

The Android Development Environment. Adam Porter

The Android Development Environment. Adam Porter The Android Development Environment Adam Porter Today s Topics Getting started on the Android Platform Installing required libraries Programming Android in Eclipse The Android emulator Debugging Android

More information

Android Development Lab

Android Development Lab CS 2046 - Lab Session October 25, 2010 Android Development Lab Today, you (and possibly a partner) will explore using Eclipse to develop Android applications. We will look at a typical development workflow

More information

2. Click the download button for your operating system (Windows, Mac, or Linux).

2. Click the download button for your operating system (Windows, Mac, or Linux). Table of Contents: Using Android Studio 1 Installing Android Studio 1 Installing IntelliJ IDEA Community Edition 3 Downloading My Book's Examples 4 Launching Android Studio and Importing an Android Project

More information

T57 Platform Technologies

T57 Platform Technologies T57 Platform Technologies LAB MANUAL Documented by P.Karthikeyan Department of Information Technology Thiagarajar College of Engineering Madurai-625015 LIST OF EXPERIMENTS 1. Implementation of Collection

More information

The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

The Eclipse Classic version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended. Installing the SDK This page describes how to install the Android SDK and set up your development environment for the first time. If you encounter any problems during installation, see the Troubleshooting

More information

Android Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen, 2013.06.18

Android Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen, 2013.06.18 Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Cuong Nguyen, 2013.06.18 Faculty of Technology, Postboks 203, Kjølnes ring

More information

Programming with Android: SDK install and initial setup. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna

Programming with Android: SDK install and initial setup. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna SDK and initial setup: Outline Ø Today: How

More information

Software Engineering Large Practical: Android Development

Software Engineering Large Practical: Android Development Software Engineering Large Practical: Android Development School of Informatics September 25th, 2013 Getting the Android SDK Getting the Android SDK Getting the Android SDK Getting the Android SDK Getting

More information

Android Programming Lecture 1 9/2/2011

Android Programming Lecture 1 9/2/2011 Android Programming Lecture 1 9/2/2011 Android Software Architecture http://developer.android.com/guide/basics/what is android.html Android Software Architecture App Lifecycle Information Sharing Information

More information

Getting Started with Android Development

Getting Started with Android Development Getting Started with Android Development By Steven Castellucci (v1.1, January 2015) You don't always need to be in the PRISM lab to work on your 4443 assignments. Working on your own computer is convenient

More information

Jordan Jozwiak November 13, 2011

Jordan Jozwiak November 13, 2011 Jordan Jozwiak November 13, 2011 Agenda Why Android? Application framework Getting started UI and widgets Application distribution External libraries Demo Why Android? Why Android? Open source That means

More information

Android Programming Basics

Android Programming Basics 2012 Marty Hall Android Programming Basics Originals of Slides and Source Code for Examples: http://www.coreservlets.com/android-tutorial/ Customized Java EE Training: http://courses.coreservlets.com/

More information

1. Install and Setup ADT

1. Install and Setup ADT 1. Install and Setup ADT 1.1 Installation of Java SE Development Kit (JDK) 1. Download the latest version of Java SE Development Kit (JDK) from the Oracle s Java webpage: http://www.oracle.com/technetwork/java/javase/downloads/index.html.

More information

Manual Android Virtual Device Manager Eclipse Not Showing

Manual Android Virtual Device Manager Eclipse Not Showing Manual Android Virtual Device Manager Eclipse Not Showing Eclipse + ADT plugin Android SDK Tools Android Platform-tools A version of the Android platform A version of the Android (Note that Android SDK

More information

Login with Amazon Getting Started Guide for Android. Version 2.0

Login with Amazon Getting Started Guide for Android. Version 2.0 Getting Started Guide for Android Version 2.0 Login with Amazon: Getting Started Guide for Android Copyright 2016 Amazon.com, Inc., or its affiliates. All rights reserved. Amazon and the Amazon logo are

More information

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release 12.0.3.0.0

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release 12.0.3.0.0 Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release 12.0.3.0.0 Part No. E52543-01 April 2014 Oracle Financial Services Software Limited Oracle Park Off Western Express Highway

More information

Building Your First App

Building Your First App uilding Your First App Android Developers http://developer.android.com/training/basics/firstapp/inde... Building Your First App Welcome to Android application development! This class teaches you how to

More information

Android App Development

Android App Development Android App Development 11-20-2013 Android app development Recommend: use the Eclipse+ADT bundle Read: http://developer.android.com Building your first app Dan Morrill (Clarkson grad) PR#2 due: Wednesday,

More information

ADT Plugin for Eclipse

ADT Plugin for Eclipse ADT Plugin for Eclipse Android Development Tools (ADT) is a plugin for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications. ADT extends

More information

Android Development Setup [Revision Date: 02/16/11]

Android Development Setup [Revision Date: 02/16/11] Android Development Setup [Revision Date: 02/16/11] 0. Java : Go to the URL below to access the Java SE Download page: http://www.oracle.com/technetwork/java/javase/downloads/index.html Select Java Platform,

More information

Android Development. Lecture AD 0 Android SDK & Development Environment. Università degli Studi di Parma. Mobile Application Development

Android Development. Lecture AD 0 Android SDK & Development Environment. Università degli Studi di Parma. Mobile Application Development Android Development Lecture AD 0 Android SDK & Development Environment 2013/2014 Parma Università degli Studi di Parma Lecture Summary Android Module Overview The Android Platform Android Environment Setup

More information

Android For Java Developers. Marko Gargenta Marakana

Android For Java Developers. Marko Gargenta Marakana Android For Java Developers Marko Gargenta Marakana Agenda Android History Android and Java Android SDK Hello World! Main Building Blocks Debugging Summary History 2005 Google buys Android, Inc. Work on

More information

Android Setup Phase 2

Android Setup Phase 2 Android Setup Phase 2 Instructor: Trish Cornez CS260 Fall 2012 Phase 2: Install the Android Components In this phase you will add the Android components to the existing Java setup. This phase must be completed

More information

INTRODUCTION TO ANDROID CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 11 02/15/2011

INTRODUCTION TO ANDROID CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 11 02/15/2011 INTRODUCTION TO ANDROID CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 11 02/15/2011 1 Goals of the Lecture Present an introduction to the Android Framework Coverage of the framework will be

More information

Android Mobile App Building Tutorial

Android Mobile App Building Tutorial Android Mobile App Building Tutorial Seidenberg-CSIS, Pace University This mobile app building tutorial is for high school and college students to participate in Mobile App Development Contest Workshop.

More information

Introduction to Android Development

Introduction to Android Development 2013 Introduction to Android Development Keshav Bahadoor An basic guide to setting up and building native Android applications Science Technology Workshop & Exposition University of Nigeria, Nsukka Keshav

More information

Open Source Telemedicine Android Client Development Introduction

Open Source Telemedicine Android Client Development Introduction Open Source Telemedicine Android Client Development Introduction Images of phone in this presentation Google. All rights reserved. This content is excluded from our Creative Commons license. For more information,

More information

Tutorial on Basic Android Setup

Tutorial on Basic Android Setup Tutorial on Basic Android Setup EE368/CS232 Digital Image Processing, Spring 2015 Windows Version Introduction In this tutorial, we will learn how to set up the Android software development environment

More information

Mocean Android SDK Developer Guide

Mocean Android SDK Developer Guide Mocean Android SDK Developer Guide For Android SDK Version 3.2 136 Baxter St, New York, NY 10013 Page 1 Table of Contents Table of Contents... 2 Overview... 3 Section 1 Setup... 3 What changed in 3.2:...

More information

Installing the Android SDK

Installing the Android SDK Installing the Android SDK To get started with development, we first need to set up and configure our PCs for working with Java, and the Android SDK. We ll be installing and configuring four packages today

More information

Lab 0 (Setting up your Development Environment) Week 1

Lab 0 (Setting up your Development Environment) Week 1 ECE155: Engineering Design with Embedded Systems Winter 2013 Lab 0 (Setting up your Development Environment) Week 1 Prepared by Kirill Morozov version 1.2 1 Objectives In this lab, you ll familiarize yourself

More information

Hello World! Some code

Hello World! Some code Embedded Systems Programming Hello World! Lecture 10 Verónica Gaspes www2.hh.se/staff/vero What could an Android hello world application be like? Center for Research on Embedded Systems School of Information

More information

060010702 Mobile Application Development 2014

060010702 Mobile Application Development 2014 Que 1: Short question answer. Unit 1: Introduction to Android and Development tools 1. What kind of tool is used to simulate Android application? 2. Can we use C++ language for Android application development?

More information

Programming with Android: SDK install and initial setup. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna

Programming with Android: SDK install and initial setup. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna SDK and initial setup: Outline Today: How to

More information

Developing with Android Studio

Developing with Android Studio CHAPTER 6 Developing with Android Studio Donn Felker Android Studio (shown in Figure 6-1) is the IDE for Android that was announced in May 2013 at the Google I/O developers event, and is intended as an

More information

Fahim Uddin http://fahim.cooperativecorner.com email@fahim.cooperativecorner.com. 1. Java SDK

Fahim Uddin http://fahim.cooperativecorner.com email@fahim.cooperativecorner.com. 1. Java SDK PREPARING YOUR MACHINES WITH NECESSARY TOOLS FOR ANDROID DEVELOPMENT SEPTEMBER, 2012 Fahim Uddin http://fahim.cooperativecorner.com email@fahim.cooperativecorner.com Android SDK makes use of the Java SE

More information

Introduction to OpenCV for Android devices

Introduction to OpenCV for Android devices AT90.9027: Selected Topic: Cloud Robotics July 12, 2012 Asian Institute of Technology Computer Science and Information Management Handout: Introduction to OpenCV for Android devices Instructor: Karn Yongsiriwit

More information

Android Basics. Xin Yang 2016-05-06

Android Basics. Xin Yang 2016-05-06 Android Basics Xin Yang 2016-05-06 1 Outline of Lectures Lecture 1 (45mins) Android Basics Programming environment Components of an Android app Activity, lifecycle, intent Android anatomy Lecture 2 (45mins)

More information

AN INTRODUCTION TO ANDROID DEVELOPMENT CS231M Alejandro Troccoli

AN INTRODUCTION TO ANDROID DEVELOPMENT CS231M Alejandro Troccoli AN INTRODUCTION TO ANDROID DEVELOPMENT CS231M Alejandro Troccoli Outline Overview of the Android Operating System Development tools Deploying application packages Step-by-step application development The

More information

Tutorial: BlackBerry Object API Application Development. Sybase Unwired Platform 2.2 SP04

Tutorial: BlackBerry Object API Application Development. Sybase Unwired Platform 2.2 SP04 Tutorial: BlackBerry Object API Application Development Sybase Unwired Platform 2.2 SP04 DOCUMENT ID: DC01214-01-0224-01 LAST REVISED: May 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This

More information

Arduino & Android. A How to on interfacing these two devices. Bryant Tram

Arduino & Android. A How to on interfacing these two devices. Bryant Tram Arduino & Android A How to on interfacing these two devices Bryant Tram Contents 1 Overview... 2 2 Other Readings... 2 1. Android Debug Bridge -... 2 2. MicroBridge... 2 3. YouTube tutorial video series

More information

ANDROID APP DEVELOPMENT: AN INTRODUCTION CSCI 5115-9/19/14 HANNAH MILLER

ANDROID APP DEVELOPMENT: AN INTRODUCTION CSCI 5115-9/19/14 HANNAH MILLER ANDROID APP DEVELOPMENT: AN INTRODUCTION CSCI 5115-9/19/14 HANNAH MILLER DISCLAIMER: Main focus should be on USER INTERFACE DESIGN Development and implementation: Weeks 8-11 Begin thinking about targeted

More information

Android Development. Lecture 1b Android SDK & Development Environment

Android Development. Lecture 1b Android SDK & Development Environment Android Development Lecture 1b Android SDK & Development Environment This work is licensed under a Creative Commons Attribution NonCommercialShareAlike 4.0 International License. Marco Picone, Ph.D. marco.picone@unipr.it

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer i About the Tutorial Eclipse is an integrated development environment (IDE) for Java and other programming languages like C, C++, PHP, and Ruby etc. Development environment provided by Eclipse includes

More information

Setting up Sudoku example on Android Studio

Setting up Sudoku example on Android Studio Installing Android Studio 1 Setting up Sudoku example on Android Studio Installing Android Studio Android Studio provides everything you need to start developing apps for Android, including the Android

More information

Fig. 2.2 New Android Application dialog. 38 Chapter 2 Welcome App. Displays help text for the setting that you are configuring

Fig. 2.2 New Android Application dialog. 38 Chapter 2 Welcome App. Displays help text for the setting that you are configuring Androidfp_02.fm Page 38 Thursday, May 1, 2014 3:03 PM 38 Chapter 2 Welcome App 2.3 Creating an App This book s examples were developed using the versions of the Android Developer Tools (version 22.x) and

More information

Basic Android Setup. 2014 Windows Version

Basic Android Setup. 2014 Windows Version Basic Android Setup 2014 Windows Version Introduction In this tutorial, we will learn how to set up the Android software development environment and how to implement image processing operations on an Android

More information

06 Team Project: Android Development Crash Course; Project Introduction

06 Team Project: Android Development Crash Course; Project Introduction M. Kranz, P. Lindemann, A. Riener 340.301 UE Principles of Interaction, 2014S 06 Team Project: Android Development Crash Course; Project Introduction April 11, 2014 Priv.-Doz. Dipl.-Ing. Dr. Andreas Riener

More information

4. The Android System

4. The Android System 4. The Android System 4. The Android System System-on-Chip Emulator Overview of the Android System Stack Anatomy of an Android Application 73 / 303 4. The Android System Help Yourself Android Java Development

More information

Android Application Development

Android Application Development Android Application Development Self Study Self Study Guide Content: Course Prerequisite Course Content Android SDK Lab Installation Guide Start Training Be Certified Exam sample Course Prerequisite The

More information

Application Fundamentals

Application Fundamentals Application Fundamentals See: developer.android.com/guide/developing/building/index.html By default, each application: assigned a unique Linux user ID executes in its own Linux process By default, each

More information

Advertiser Campaign SDK Your How-to Guide

Advertiser Campaign SDK Your How-to Guide Advertiser Campaign SDK Your How-to Guide Using Leadbolt Advertiser Campaign SDK with Android Apps Version: Adv2.03 Copyright 2012 Leadbolt All rights reserved Disclaimer This document is provided as-is.

More information

Embedded Systems Programming - PA8001

Embedded Systems Programming - PA8001 Embedded Systems Programming - PA8001 http://bit.ly/15mmqf7 Lecture 10 Mohammad Mousavi m.r.mousavi@hh.se Center for Research on Embedded Systems School of Information Science, Computer and Electrical

More information

Java Integrated Development Environments: ECLIPSE

Java Integrated Development Environments: ECLIPSE Java Integrated Development Environments: ECLIPSE Part1 Installation Eclipse Installation Detailed Instructions http://www.3plus4software.de/eclipse/installation_e n.html Basic Ingredients: Windows, Linux,

More information

About this Release. Introduction. Prerequisites. Installation. Using the Web SDK Packager

About this Release. Introduction. Prerequisites. Installation. Using the Web SDK Packager About this Release This is a 1.2.1 release of the Sony Ericsson WebSDK Packager. Limitations are listed in Release Notes. Introduction Sony Ericsson s WebSDK Packager is based on the open source PhoneGap

More information

Create Android Sample Application:

Create Android Sample Application: Create Android Sample Application: After setting up working environment we will start designing our own sample application, which we will test using Robotium in next section. Our sample application would

More information

Pengembangan Aplikasi Perangkat Bergerak Native

Pengembangan Aplikasi Perangkat Bergerak Native Pengembangan Aplikasi Perangkat Bergerak Native Aryo Pinandito, ST, M.MT Google Android Google Android Architecture Development Environment Android Developer Tools Eclipse-Based IDE Java Windows, Linux,

More information