Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.

Slides:



Advertisements
Similar presentations
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Scienze dellInformazione Università di Bologna.
Advertisements

Lecture 6 Testing and Debugging on a Physical Android Device and other Power User Stuff.
Coursework 2: getting started (1) – running the phone emulator Chris Greenhalgh G54UBI / Chris Greenhalgh
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna.
Get android development environment running. Install – Get and install JDK 5 or 6 (see link in the.
The Android Development Environment.  Getting started on the Android Platform  Installing required libraries  Programming Android using the Eclipse.
1 Mobile Computing Mobile First (formerly Worklight) Copyright 2015 by Janson Industries.
Eclipse Introduction Dwight Deugo Nesa Matic
Google Android as a mobile development platform T Internet Technologies for Mobile Computing Olli Mäkinen.
Android Programming Beomjoo Seo Sep., 12 CS5248 Fall 2012.
Android Application Development with Java UPenn CS4HS 2011 Chris Murphy
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
Setting up the Development Environment Copyright © SUPINFO. All rights reserved Preparation.
How to make it work? Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
SET UP COMPUTER ** PLEASE BE AWARE SCREENSHOTS MAY NOT MATCH **
Virtual Reality Course Slide  NTU Mobile HCI Lab, Mike Chen   Android Developers 
Eclipse IDE. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as teaching.
Getting Started with Android Programming Note: if you have already installed android development tools, please check that you have the same version as.
© Frank Mueller & Seokyong Hong (TA) North Carolina State University Center for Efficient, Secure and Reliable Computing Android Installation Guide (2)
INTERNATIONAL SUMMER ACADEMIC COURSE UNIVESITY OF NIS ISAC – Android programming.
Android Application Development CSE 5520/4520 Wireless Networks.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
Android Programming. Outline Preparation Create new project Build and Run a project Debug a project Deploy on devices.
Android Application Development 2013 PClassic Chris Murphy 1.
Sayed Ahmed BSc. Eng. In Computer Sc. and Eng. (BUET), Bangladesh MSc., Computer Science, Canada President/Chief Architect/Lead Developer Justetc (Just.
Better reference the original webpage :
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Google Maps Android API v2 吳俊興 國立高雄大學 資訊工程學系 CSF645 – Mobile Computing 行動計算
Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.
1 Mobile Computing Set Up Copyright 2015 by Janson Industries.
Operating system for mobile devices with a Java programming interface. Provides tools, e.g. a compiler, debugger, device emulator, and its own Java Virtual.
Android Info mostly based on Pro Android 3.  User Applications  Java Libraries – most of Java standard edition ◦ Activities/Services ◦ UI/Graphics/View.
Copyright© Jeffrey Jongko, Ateneo de Manila University Android.
Android. The Eclipse IDE Installation Requirements: Eclipse Java Windows All must match (32-bit OR 64-bit) If you have a 64-bit OS & 32-bit browser,
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
DUE Hello World on the Android Platform.
Android for Java Developers Denver Java Users Group Jan 11, Mike
Setting Up The Android SDK (Software Development Kit) A basic step by step guide leading to set up and your first Hello World App.
Eclipse Tutorial Barrett Summer Scholars 2011 Sustainable Engineering: Learning to Engineer Truly Green Products.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Presented By: Muhammad Tariq Software Engineer Android Training course.
Android architecture & setting up. Android operating system comprises of different software components arranges in stack. Different components of android.
Configuring Android Development Environment Nilesh Singh.
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
Android Hello World 1. Click on Start and type eclipse into the textbox 2.
Creating an Example Android App in Android Studio Activity lifecycle & UI Resources.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Installing Repast in the Eclipse IDE Charlie Gieseler 6/28/04.
First Venture into the Android World Chapter 1 Part 2.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
 Installation of Android Development Environment  Creating the App with OpenGL ES API  Running the App on Emulator Android App Development.
ANDROID APPLICATION DEVELOPMENT. ANDROID DEVELOPMENT DEVELOPER.ANDROID.COM/INDEX.HTML THE OFFICIAL SITE FOR ANDROID DEVELOPERS. PROVIDES THE ANDROID SDK.
Android. What is Android? A mobile device operating system. Seen primary in tablets and Cellphones. Based on a Linux kernel. Applications are Java Based.
Appium with Android Configuration.  Download Appium server:  Choose the latest version of appium.
TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents.
Master Software Solutions Pvt.Ltd.. These days the demand of smart phone is being increased and we have different types of client e.g. Touch Phone, tables,
Android apps development - Eclipse, Android SDK, and ADT plugin Introduction of.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
PhoneGap. web-based mobile development framework, based on the open-source Cordova project. use standard web technologies such as HTML5, CSS3, and JavaScript.
Day 1 Session 2. Setup & Installation
Obtaining the Required Tools
Android.
Development-Introduction
Android 基礎.
Android Application Development
Korea Software HRD Center
Presentation transcript:

Android: Hello World Frank Xu Gannon University

Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and AVD Manager  Adding Android Platforms  Create Android Virtual Device (AVD). Create new android project ▫Generate file structures ▫Construct the UI ▫Run the Application

Download Android SDK

Unzip SDK

Sets the PATH environment variable

Installing the ADT Plugin for Eclipse Android Development Tools (ADT) a custom plugin for the Eclipse IDE, quickly set up new Android projects, create an application UI, add components based on the Android Framework API, debug your applications using the Android SDK tools, and even export signed (or unsigned) APKs in order to distribute your application.

Configuring the ADT Plugin Select Window > Preferences... to open the Preferences panel Select Android from the left panel. For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory. Click Apply, then OK.

Adding Android Platforms and Other Components Android SDK and AVD Manager ▫to download essential components into your development environment. To install a platform in Eclipse: ▫In the Android SDK and AVD Manager, choose Available Packages in the left panel. ▫Click the repository site checkbox to display the components available for installation. ▫Select at least one platform to install, and click Install Selected. If you aren't sure which platform to install, use the latest version.

Create an AVD You will run your application in the Android Emulator. Before you can launch the emulator, you must create an Android Virtual Device (AVD). ▫An AVD defines the system image and device settings used by the emulator. ▫Configurations of emulator options that let you better model an actual device ▫ ools/avd.htmlhttp://developer.android.com/guide/developing/t ools/avd.html

Steps to AVD In Eclipse, choose Window > Android SDK and AVD Manager. Select Virtual Devices in the left panel. Click New. The Create New AVD dialog appears. Type the name of the AVD, such as "my_avd". Choose a target. The target is the platform (that is, the version of the Android SDK, such as 2.1) you want to run on the emulator. You can ignore the rest of the fields for now. Click Create AVD.

From Eclipse, select File > New > Project. File Structure

Project Name ▫This is the Eclipse Project name — the name of the directory that will contain the project files. Application Name ▫This is the human-readable title for your application — the name that will appear on the Android device. 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. 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.Activity Min SDK Version ▫This value specifies the minimum API Level required by your application. For more information, see Android API Levels.Android API Levels

HelloAndroid.java 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 startsonCreate() ▫it is where you should perform all initialization and UI setup. An activity is not required to have a user interface, but usually will.

Construct the UI

Run the Application

Hello World!

Can’t see your app?