Hello World. by Elliot Khazon



Similar documents
How to build your first Android Application in Windows

Android Environment SDK

Android Development. 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系

Getting Started with Android Development

Installing the Android SDK

Android Environment SDK

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

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

ADT Plugin for Eclipse

Android Setup Phase 2

How to Create an Android Application using Eclipse on Windows 7

Epidefender Studio Installation notice

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

Mobile Application Development

How To Run A Hello World On Android (Jdk) On A Microsoft Ds.Io (Windows) Or Android Or Android On A Pc Or Android 4 (

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android

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

Tutorial on Basic Android Setup

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

Home Course Catalog Schedule Pricing & Savings Training Options Resources About Us

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release

Fahim Uddin 1. Java SDK

Application Development Setup Guide

Example Connection between USB Host and Android

Download and Installation Instructions. Android SDK and Android Development Tools (ADT)

Basic Android Setup Windows Version

Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department. Mobile Computing ECOM Eng. Wafaa Audah.

Android: How To. Thanks. Aman Nijhawan

Android Programming: Installation, Setup, and Getting Started

Getting Started With Android

Setting Up Your Android Development Environment. For Mac OS X (10.6.8) v1.0. By GoNorthWest. 3 April 2012

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

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Advertiser Campaign SDK Your How-to Guide

Università Degli Studi di Parma. Distributed Systems Group. Android Development. Lecture 1 Android SDK & Development Environment. Marco Picone

MMI 2: Mobile Human- Computer Interaction Android

Android Introduction

Android 4.4 App Development Essentials

With a single download, the ADT Bundle includes everything you need to begin developing apps:

Lab 0 (Setting up your Development Environment) Week 1

Android: Setup Hello, World: Android Edition. due by noon ET on Wed 2/22. Ingredients.

App Development for Smart Devices. Lec #2: Android Tools, Building Applications, and Activities

How To Develop An Android App On An Android Device

How to Set Up Your PC for Android Application Development

Android Development. Marc Mc Loughlin

How to Set Up Your PC for Android Application Development

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

Introduction to Android Development

Chapter 2 Getting Started

System Reference 2013

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

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

l What is Android? l Getting Started l The Emulator l Hello World l ADB l Text to Speech l Other APIs (camera, bitmap, etc)

Android Introduction. Hello Mihail L. Sichitiu 1

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

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

IOIO for Android Beginners Guide Introduction

Understand and Build Android Programming Environment. Presented by: Che-Wei Chang

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

Getting Started: Creating a Simple App

Developing In Eclipse, with ADT

Board also Supports MicroBridge

Developing NFC Applications on the Android Platform. The Definitive Resource

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

01. Introduction of Android

1) SETUP ANDROID STUDIO

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

Oculus Mobile Software Development Kit (SDK) Device and Environment Setup Guide

Android Tutorial. Larry Walters OOSE Fall 2011

CS 528 Mobile and Ubiquitous Computing Lecture 2: Android Introduction and Setup. Emmanuel Agu

Informatics for Integrating Biology & the Bedside. i2b2 Workbench Developer s Guide. Document Version: 1.0 i2b2 Software Release: 1.3.

Robotium Automated Testing for Android

Running a Program on an AVD

Login with Amazon Getting Started Guide for Android. Version 2.0

Android Application Development

How to develop your own app

Introduction to Android Programming (CS5248 Fall 2015)

Setting up Sudoku example on Android Studio

Online Backup Client User Manual

POOSL IDE Installation Manual

Reminders. Lab opens from today. Many students want to use the extra I/O pins on

Introduction: The Xcode templates are not available in Cordova or above, so we'll use the previous version, for this recipe.

Building graphic-rich and better performing native applications. Pro. Android C++ with the NDK. Onur Cinar

Homeschool Programming, Inc.

Introduction to Android SDK Jordi Linares

Developing Android Apps: Part 1

Developing Android Applications Introduction to Software Engineering Fall Updated 7 October 2015

What else can you do with Android? Inside Android. Chris Simmonds. Embedded Linux Conference Europe Copyright 2010, 2net Limited.

Intel Integrated Native Developer Experience (INDE): IDE Integration for Android*

Android Basics. Xin Yang

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

ID TECH UniMag Android SDK User Manual

Titanium Mobile: How-To

RecoveryVault Express Client User Manual

CSA Software Listing Table of Contents. Both Windows and Mac platforms are supported.

IBM TRIRIGA Anywhere Version 10 Release 4. Installing a development environment

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

OpenCV on Android Platforms

Transcription:

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 Install Eclipse Unzip eclipse zip file to to c:\eclipse directory Start eclipse c:\eclipse\eclipse.exe Set Java SDK variable in eclipse

Installation Cont d

Install Starter Package Extract to C:\android-sdk-windows Add \tools directory to your windows PATH variable

Install ADT for Eclipse 3.5 Start Eclipse, then select Help > Install New Software. In the Available Software dialog, click Add... In the Add Site dialog that appears, enter a name for the remote site (for example, "Android Plugin") in the "Name" field. In the "Location" field, enter this URL: https://dl-ssl.google.com/android/eclipse/

ADT Plugin, Cont d Note: If you have trouble acquiring the plugin, you can try using "http" in the URL, instead of "https" (https is preferred for security reasons). Click OK. Back in the Available Software view, you should now see "Developer Tools" added to the list. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools. Click Next

Install ADT Plugin slide 3 Read and accept the license agreement and then click Finish. This will download and install the latest version of Android DDMS and Android Development Tools. Restart Eclipse.

Configuring the ADT Plugin Select Window > Preferences... to open the Preferences panel (Mac OS X: Eclipse > Preferences). Select Android from the left panel. For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory: C:\android-sdk-windows

Add Android Platforms and Other Components Open Eclipse Window > Android SDK and AVD Manager You have 3 options Basic SDK Tools SDK platform You need to download at least one platform into your environment, so that you will be able to compile your application and set up an Android Virtual Device (AVD) to run it on (in the emulator). To start with, just download the latest version of the platform. Later, if you plan to publish your application, you will want to download other platforms as well, so that you can test your application on the full range of Android platform versions that your customers are using. Recommended Documentation Samples Usb Driver

Android Components part 3 Full Google APIs The Google APIs add-on gives your application access to the Maps external library, which makes it easy to display and manipulate Maps data in your application. Additional SDK Platforms If you plan to publish your application, you will want to download additional platforms corresponding to the Android platform versions on which you want the application to run. The recommended approach is to compile your application against the lowest version you want to support, but test it against higher versions that you intend the application to run on. You can test your applications on different platforms by running in an Android Virtual Device (AVD) on the Android emulator.

Android package install

Restart Eclipse!

Hello World app Create an AVD Android Virtual Device (AVD) defines the system image and device settings used by the emulator. Our AVD Name = avd_1 Target = 2 /*****Uses Android 1.1 target ***/

Hello World - Create AVD Enter the following commands cd c:\android-sdk-windows\tools android create avd --target 3 --name avd_3 The tool now asks if you would like to create a custom hardware profile. Type no

Start Writing Code Create a new Android Project File > New > Project > Android Project Project name: HelloAndroid Application name: Hello, Android Package name: com.ottborr.android.helloandroid (or your own private namespace) Create Activity: HelloAndroid Build Target Android 1.5 Min SDK Version: 3 /*** min API supported is Android 1.1 ***/ If an application requires an API Level that is higher than the level supported by the device, then the application will not be installed.

Helllo World cont d Modify HelloAndroid class @Override public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); TextView tv = new TextView(this); tv.settext("hello, Android"); setcontentview(tv); } }

Run>Run