Application Development Setup Guide



Similar documents
Installing the Android SDK

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

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

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release

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

Getting Started with Android Development

Fahim Uddin 1. Java SDK

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

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

How to Create an Android Application using Eclipse on Windows 7

How to build your first Android Application in Windows

Epidefender Studio Installation notice

1) SETUP ANDROID STUDIO

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 (

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

Hello World. by Elliot Khazon

Setting up Sudoku example on Android Studio

Introduction to Android Development

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

Android Environment SDK

How to Set Up Your PC for Android Application Development

How to Set Up Your PC for Android Application Development

Download and Installation Instructions. Java JDK Software for Windows

Android Setup Phase 2

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

Sophos Anti-Virus standalone startup guide. For Windows and Mac OS X

Lab 0 (Setting up your Development Environment) Week 1

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

How to Install Eclipse. Windows

Tutorial on Basic Android Setup

Android Environment SDK

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

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

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

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

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

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

Setup procedure of Firewall

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

ADT Plugin for Eclipse

Offline Android Installer

MY WORLD GIS. Installation Instructions

JovianDSS Evaluation and Product Training. Presentation updated: October 2015

SIM900 Eclipse environment install Application Note_V1.00

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

Standard Client Configuration Requirements

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

AvePoint SearchAll for Microsoft Dynamics CRM

Lepide Event Log Manager: Installation Guide. Installation Guide. Lepide Event Log Manager. Lepide Software Private Limited

Android 4.4 App Development Essentials

Sophos Mobile Control Installation guide

Basic Android Setup Windows Version

Eclipse installation, configuration and operation

Building OWASP ZAP Using Eclipse IDE

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

StarWind iscsi SAN Software: Installing StarWind on Windows Server 2008 R2 Server Core

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

Programmazione di sistemi mobili e tablet

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

Pipeliner CRM Phaenomena Guide Add-In for MS Outlook Pipelinersales Inc.

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

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

How to install and use the File Sharing Outlook Plugin

Android Programming: Installation, Setup, and Getting Started

How To Develop An Android App On An Android Device

AvePoint Timeline Pro for Microsoft Dynamics CRM. Installation and Configuration Guide

Feith Rules Engine Version 8.1 Install Guide

AvePoint SearchAll for Microsoft Dynamics CRM

StarWind SMI-S Agent: Storage Provider for SCVMM April 2012

Interact for Microsoft Office

The following items are trademarks or registered trademarks of Kaba Mas in the United States and/or other countries. GITCON

Board also Supports MicroBridge

Millennium Drive. Installation Guide

Sophos Anti-Virus for NetApp Storage Systems startup guide

SAS 9.3 Foundation for Microsoft Windows

Setup procedure of Firewall

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

SiI3132 SATARAID5 Quick Installation Guide (Windows version)

FlashAir Configuration Software. User s Manual. (Windows) Revision 2

AvePoint CallAssist for Microsoft Dynamics CRM. Installation and Configuration Guide

Setting up the Environment for Creating or Extending SAP Fiori Apps

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

Sophos Anti-Virus for NetApp Storage Systems startup guide. Runs on Windows 2000 and later

Crystal Reports Developer 11 Installation Guide

FEC Secure IPSec Client

SQL Server 2008 R2 Express Installation for Windows 7 Professional, Vista Business Edition and XP Professional.

Dell Statistica Statistica Enterprise Installation Instructions

Silk Test Testing Mobile Web Applications

Global VPN Client Getting Started Guide

Example Connection between USB Host and Android

Improving Performance of Microsoft CRM 3.0 by Using a Dedicated Report Server

STEP BY STEP IIS, DotNET and SQL-Server Installation for an ARAS Innovator9x Test System

WatchDox for Mac User Guide

Sophos Mobile Control Installation guide. Product version: 3

Sophos Mobile Control Installation guide. Product version: 3.5

Oracle Java Micro Edition Software Development Kit

S. Bouzefrane. How to set up the Java Card development environment under Windows? Samia Bouzefrane.

Microsoft SQL Server 2008 R2 Express Edition with Advanced Services Installation Guide

EPSON Stylus COLOR 740. USB Software Installation Guide (Windows 98/iMac ) USB Setup Guide (imac)

Android Development Tools for Eclipse

Transcription:

epos-print SDK for Android Application Development Setup Guide M00048500 Rev. A Cautions No part of this document may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of Seiko Epson Corporation. The contents of this document are subject to change without notice. Please contact us for the latest information. While every precaution has taken in the preparation of this document, Seiko Epson Corporation assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained herein. Trademarks EPSON is registered trademarks of Seiko Epson Corporation in the U.S. and other countries. Windows is registered trademarks or trademarks of Microsoft Corporation in the United States and other countries. Android TM is registered trademarks or trademarks of Google Inc. in the United States and other countries. Java TM is a registered trademark of Oracle Corporation, its subsidiaries, and affiliates in the U.S. and other countries. Wi-Fi is a registered trademark of the Wi-Fi Alliance. Bluetooth is a registered trademark of Bluetooth SIG, Inc. Eclipse is a trademark or registered trademark of Eclipse Foundation, Inc. Copyright 2012 Seiko Epson Corporation. All rights reserved. 1

Overview This document describes the procedures to establish the development environment for the application used for printing from Android device using Eclipse. Set up the environment to run the sample program supplied with EPSON epos-print SDK for Android. Environment for This Document This document applies to the environment as described below. Information such as the Web page URLs and the download file versions are as of April 2012. If your environment is different from the following, interpret the descriptions accordingly. OS : Windows 7 (32 bit) Java SE Development Kit 6 Update 31 Eclipse Classic 3.7.2 Android SDK Tools, Revision 17 ADT Plugin 17.0.0 Sample program supplied with epos-print SDK for Android Relevant Manual epos-print SDK for Android User's Manual 2

Operation Workflow 1. "Installing Java SE Development Kit" on page 4 Download and install JDK. 2. "Setting Up Eclipse" on page 6 Download Eclipse and configure the initial settings. 3. "Setting Up Android SDK Manager" on page 9 Download and install Android SDK Manager. Configure the settings required for development. 4. "Downloading and Installing ADT Plugin" on page 14 Install ADT Plugin to Eclipse. 5. "Executing Sample Application (Eclipse)" on page 18 Execute the sample application using the emulator. 3

Installing Java SE Development Kit Download and install JDK (Java Development Kit). Downloading JDK 1 Access the following URL and download Java SE 6 JDK. http://www.oracle.com/technetwork/java/javase/downloads/index.html 2 The Java SE Downloads window appears. Select [Accept License Agreement] and select the file to be installed. Save the file to a desired location. (In this manual, download Windows x86 to construct the environment.) 4

Installing JDK 1 Start the downloaded file. The following window appears. Click the [Next] button. 2 Select the function to install and click the [Next] button. To change the installation destination, click the [Change] button and change the destination. (In this manual, the default destination is used.) 3 4 Installation starts. When installation completes, the following window appears. Click the [Finish] button. 5

Setting Up Eclipse Download, install and set up Eclipse. Downloading Eclipse Access the following URL and download Eclipse. Save the file to a desired location. (In this manual, download and set up Eclipse Classic 3.7.2) http://www.eclipse.org/downloads/ Installing Eclipse and Configuring Initial Settings 1 2 Extract the downloaded file to a desired location. (In this manual, extract the file under "C:\Program Files".) Double-click "eclipse.exe" to start Eclipse. 6

3 Set up the work folder during Eclipse startup process. Click the [OK] button. (In this manual, the default settings are used.) Setting Proxy for Eclipse Use this operation when proxy setting is required for Internet connection. If not required, this operation is unnecessary. 1 Select [Window] - [Preferences]. 7

2 Select [General]-[Network Connections] from the left column. Set the proxy and click the [OK] button. 8

Setting Up Android SDK Manager Download and install Android SDK Manager. Create Android Virtual Device. Downloading Android SDK Manager Access the following URL and download Android SDK Manager. (In this manual, download the installer for Windows.) http://developer.android.com/sdk/index.html Installing Android SDK Manager 1 Start the downloaded file. The following window appears. Click the [Next] button. 9

2 Click the [Next] button. If JDK is not installed, it is notified at this point. 3 Specify the installation destination. Click the [Next] button. (In this manual, the default settings are used.) 4 Specify the name to be registered to Start Menu. Click the [Install] button. 10

5 When installation completes, click the [Next] button. 6 Clear the [Start SDK Manager] checkbox. Click the [Finish] button. 11

Setting Android SDK Manager 1 Start Android SDK Manager. [Start]-[All Programs]-[Android SDK Tools]-[SDK Manager] On Windows Vista or later, it is required to run Android SDK Manager as the administrator. To run as the administrator, right click Android SDK Manager and select [Run as administrator]. If Android SDK Manager is not run as the administrator, package download will fail. 2 When the proxy setting is required, select [Tools]-[Options]. 3 The proxy setting window appears. Set the proxy and click the [Close] button. 12

4 Among the Android versions supported by epos-print SDK for Android, select the version of the device to be developed, and click the [Install XX packages...] button. 5 Select [Accept All] and click the [Install] button. Installation of Virtual Device starts. 13

Downloading and Installing ADT Plugin Download and install ADT (Android Development Tools) Plugin. To execute this operation, the computer must be connected to the Internet. If the proxy setting is required for Internet connection, refer to ʺSetting Proxy for Eclipseʺ on page 7. 1 Start Eclipse. Select [Help]-[Install New Software]. 2 Click the [Add] button. 3 Enter [Name] and [Location], and click the [OK] button. Item Description Name ADT Plugin Location https://dl-ssl.google.com/android/eclipse/ 14

4 Select the [Developer Tools] checkbox and click the [Next] button. 5 6 Confirm the plugin to be installed, and click the [Next] button. After confirming the terms of the license agreement, select the [I accept...] checkbox and click the [Finish] button. 15

7 Installation starts. If the following window appears, click the [OK] button. 8 Click the [Restart Now] button to restart Eclipse. 9 Select [Window] - [Preferences]. Select [Android] from the left column. Click the [Browse...] button to display the 10 Android folder where SDK Manager is installed. (In this manual, display "C:\Program Files\Android\android-sdk".) 16

Click the [Apply] button. Confirm that the installed package is displayed. 11 17

Executing Sample Application (Eclipse) Import the sample program supplied with epos-print SDK for Android into Eclipse, create a virtual device, and check operation using the emulator. Importing Application Import the sample application to Eclipse. 1 2 Extract epos-print SDK for Android and save it to a desired location. Start Eclipse. Select [File]-[Import]. 3 Select [General]-[Existing Projects into Workspace]. Click the [Next] button. 18

4 Click the [Browse...] button to display the saved epos-print SDK for Android. Select the [Copy projects into workspace] checkbox and click the [Finish] button. 5 Confirm that the application has been properly imported. 19

Settings for Newly Created Project Compiler compliance level settings When a new project is created, the Compiler compliance level of the created project must be changed to "1.6". To change the Compiler compliance level, follow the procedures below. 1 2 Select the created project and select [Project]-[Properties]. Select [Java Compiler] from the left column. Change [Compiler compliance level:] to [1.6]. Settings for Using the Wi-Fi / Bluetooth function To use the Wi-Fi / Bluetooth function, it is required to specify "Permission" in AndroidManifest.xml. For using the Wi-Fi function android.permission.internet For using the Bluetooth function android.permission.bluetooth android.permission.bluetooth_admin Specify "Permission" with the following procedures: 1 Double-click [AndroidManifest.xml]. 20

2 Select the [Permissions] tag. Click the [Add] button. 3 4 Select [Uses Permission] and click the [OK] button. [Uses Permission] is added. Click the " " mark next to [Name] and select the necessary Permissions from the list. 21

5 Repeat Step 2 to 4 to specify the required Permissions. 22

Executing Sample Application (Emulator) 1 Start Android Virtual Device Manager. After it starts, click the [New...] button. [Start]-[All Programs]-[Android SDK Tools]-[AVD Manager] 2 Select the virtual device name to be created and the OS version. Specify [Name] (any name) and select [Target]. Click the [Create AVD] button. 23

3 The created virtual device is displayed. 4 Click the button to run Eclipse. 5 For the initial startup, the window to confirm the execution type appears. Select [Android Application] and click the [OK] button. 24

6 The emulator starts and the application is executed. 25

Executing Sample Application (Android Device) To run the application using an actual Android device, set up the device according to the procedures described in the following URL: http://developer.android.com/guide/developing/device.html 26