First Venture into the Android World Chapter 1 Part 2.

Slides:



Advertisements
Similar presentations
Ando-it-yourself droid Praveen Kumar Pendyala. Outline Brief intro to the Droid developement Setting up the Life saviors - Development tools Hello Droid.
Advertisements

ANDROID DEVELOPMENT KELLY MCBEAN. DEVELOPMENT ENVIRONMENT OVERVIEW Eclipse Standard IDE for Developing Android Applications Install: 1.Java (JDK) – Since.
Chapter 1: Voilà! Meet the Android
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
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.
Filip Debelić What is it? Android is a mobile operating system (OS) based on the Linux kernel and currently developed by Google Android,
1 Mobile Computing Mobile First (formerly Worklight) Copyright 2015 by Janson Industries.
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
Google Android as a mobile development platform T Internet Technologies for Mobile Computing Olli Mäkinen.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
How to make it work? Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
SET UP COMPUTER ** PLEASE BE AWARE SCREENSHOTS MAY NOT MATCH **
INTERNATIONAL SUMMER ACADEMIC COURSE UNIVESITY OF NIS ISAC – Android programming.
Android Application Development CSE 5520/4520 Wireless Networks.
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.
Chapter 1: Voilà! Meet the Android. Smartphones –Can browse the Web –Allow you to play games –Use business applications –Check –Play music –Record.
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,
Android Boot Camp for Developers Using Java, Comprehensive: A Guide to Creating Your First Android Apps Chapter 9: Customize! Navigating with a Master/Detail.
Chapter 3 Navigating a Project Goals & Objectives 1.Get familiar with the navigation of the project. How is everything structured? What settings can you.
Google Maps Android API v2 吳俊興 國立高雄大學 資訊工程學系 CSF645 – Mobile Computing 行動計算
CS5103 Software Engineering Lecture 08 Android Development II.
Chapter 1: Voilà! Meet the Android
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.
Chapter 1a© copyright Janson Industries RAD ▮ Explain Eclipse, RAD, and their relationship ▮ Basic RAD concepts ▮ How to install RAD ▮ How to import.
Introduction to Mobile Programming. Slide 2 Overview Fundamentally, it all works the same way You get the SDK for the device (Droid, Windows, Apple) You.
Hello world Follow steps under the sections “Create an AVD” and “Create a New Android Project” at
Copyright© Jeffrey Jongko, Ateneo de Manila University Android.
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.
DUE Hello World on the Android Platform.
Office 2013 and Windows 8: Essential Concepts and Skills Microsoft Access 2013.
26/05/2016 E.R.Edwards 26/05/2016 Staffordshire University School of Computing Introduction to Android Practical 1 Changing the Eclipse Workspace Importing.
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.
Chapter 2 The Android User Interface. Objectives  In this chapter, you learn to:  Develop a user interface using the TextView, ImageView, and Button.
INTRODUCTION TO ANDROID. Slide 2 Application Components An Android application is made of up one or more of the following components Activities We will.
Android Boot Camp for Developers Using Java, 3E
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Introduction to Android (Part.
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.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
GumTree Development Environment Setup Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05)
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
ANDROID APPLICATION DEVELOPMENT. ANDROID DEVELOPMENT DEVELOPER.ANDROID.COM/INDEX.HTML THE OFFICIAL SITE FOR ANDROID DEVELOPERS. PROVIDES THE ANDROID SDK.
© 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.
DEVOLOPING ANDROID APP ON LOCATION BASED REMINDER ON ANDROID MOBILE SYSTEMS.
Intoduction to Andriod studio Environment With a hello world program.
Microsoft Visual C# 2010 Fourth Edition Chapter 3 Using GUI Objects and the Visual Studio IDE.
INTRODUCTION TO ANDROID. Slide 2 Introduction I take a top-down approach to describing an application’s anatomy.
Android apps development - Eclipse, Android SDK, and ADT plugin Introduction of.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
CHAPTER 1 part 1 Introduction. Chapter objectives: Understand Android Learn the differences between Java and Android Java Examine the Android project.
Android 01: Fundamentals
Obtaining the Required Tools
Chapter 2 Starting a Project
Mobile Application Development Chapter 4 [Android Navigation and Interface Design] IT448-Fall 2017 IT448- Fall2017.
Android Application Development
Emerging Platform#3 Android & Programming an App
Working with Libraries
CA16R405 - Mobile Application Development (Theory)
CA16R405 - Mobile Application Development (Theory)
Presentation transcript:

First Venture into the Android World Chapter 1 Part 2

Creating a New Project To create a new Android project, you first open Eclipse and then select an Android project. As you create your first project, you provide the following information. (Next Slide)

Creating the Hello World Project Project – a single program or app using Java and the Android SDK. Open the new dialog box by click new icon New button Android Application Project

Click the Next Button Next Button

New Application Dialog Box

 Application Name is the app name that appears to users. For this project, use "My First App."  Project Name is the name of your project directory and the name visible in Eclipse.  Package Name is the package namespace for your app (following the same rules as packages in the Java programming language). Your package name must be unique across all packages installed on the Android system. For this reason, it's generally best if you use a name that begins with the reverse domain name of your organization or publisher entity. For this project, you can use something like "com.example.myfirstapp." However, you cannot publish your app on Google Play using the "com.example" namespace.  Build SDK is the platform version against which you will compile your app. By default, this is set to the latest version of Android available in your SDK. (It should be Android 4.1 or greater; if you don't have such a version available, you must install one using the SDK Manager). You can still build your app to support older versions, but setting the build target to the latest version allows you to enable new features and optimize your app for a great user experience on the latest devices.  Minimum Required SDK is the lowest version of Android that your app supports. To support as many devices as possible, you should set this to the lowest version available that allows your app to provide its core feature set. If any feature of your app is possible only on newer versions of Android and it's not critical to the app's core feature set, you can enable the feature only when running on the versions that support it.

Building the User Interface  Android supports two ways to build Apps.  Java  XML

Configure Launcher Icon This will allow you to put the image in of the icon for the App

Package Explorer Expand Hello World Project

Layout

Widgets

XML CODE Text code to change XML code for TextView control

Run As Dialog Box Android Application

Message in the Android Emulator

Save Project and Close  Program is saved each time it is run  CTRL + F11 – is the shortcut keys for running your Android Application in Eclipse.  Close – Click Close button or File Menu

Opening a Saved App in Eclipse  Select project from the Package Explorer.  If not listed on the Package Explorer, click File on the Eclipse menu bar and select import. In the Import dialog box, expand the General folder, and click Existing Project into the Workspace.  Click the next button  Click Browse and find it in your drive.

Delete a Project  Right click the project name in the package explorer. Select Delete. Click OK

Summary  Android is an open source platform.  Android OS is free  We use Eclipse IDE to write applications.  Android Emulator allows you to make Android Application without using a physical device.  Android use both XML and Java for building an user interface.  Package Explorer in Eclipse contains all the folders for an Android project.  Layout is a container of objects (TextView, Buttons, and CheckBox controls, etc..)  After you create your application, you can test it on the Android Emulator.