Application Development Setup Guide

Similar documents
How to Set up Eclipse and Android SDK Manager Environment You need to download the following

Android Development Tools = Eclipse + ADT + SDK

Developing Android applications in Windows

Oracle FLEXCUBE Direct Banking

If you don t have the JDK, you will need to install it. 1. Go to

IT-G400 Series. Android 6.0 Quick Start Guide. This document is a Development Guide Book for IT-G400 application developers. Ver 1.

ECOM 5341 Mobile Computing(Android) Eng.Ruba A. Salamah

Tutorial on Basic Android Setup

Installing Eclipse (C++/Java)

Installation Guide - Mac

Install Manual. Advanced Printer Driver for TM-T81 Ver.4. Overview. Installation and Setup. Silent Installation. M Rev.A

Red Hat JBoss Fuse 6.1

Getting Started with Android Development Zebra Android Link-OS SDK Android Studio

TM Printer Print Support Library Manual

WA1958 Mobile Software Design Patterns and Architecture Android Edition. Classroom Setup Guide. Web Age Solutions Inc.

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

User's Manual. TM / BA /EU Purinter Remote Configuration Tool. Overview. Building the Environment. Using the Tool. M Rev.B

Installation Guide - Mac

Technical Reference Guide

Software User's Manual

Tegra 250 Development Kit Android Setup Experience

Installation Guide - Windows

WA2185 Platform Independent Mobile Development with jquery Mobile and Apache Cordova. Classroom Setup Guide. Web Age Solutions Inc.

1.00/1.001 HowTo: Install Eclipse

Introduction To Android

Installation Guide - Mac

Getting Started with Eclipse/Java

Installation and Upgrade Guide Zend Studio 9.x

Content. 1. Overview Setup Demonstration Linux Application Project on DE10-Nano Android Application Project...

Series 40 6th Edition SDK, Feature Pack 1 Installation Guide

Installation and Upgrade Guide Zend Studio 9.x

Installing and configuring PhoneGap/Cordova. EntwicklerCamp 2012

Getting Started Guide

Android Sdk Setup For Windows 7 32 Bit Full Version

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

CONNEXIVE Platform. Setup card. May 7, 2018

KingStar Motion 2.1 SDK and Runtime Installation Guide

CS520 Setting Up the Programming Environment for Windows Suresh Kalathur. For Windows users, download the Java8 SDK as shown below.

McAfee Embedded Control McAfee epolicy Orchestrator Configuration Guide

by- Salman A. Khan, Ishendra Agarwal,Prateek Sahu,Manas

WA2009 Java EE 6 Programming - WebLogic 12c - Eclipse. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

Firmware Update Function

1. Go to the URL Click on JDK download option

WA2056 Building HTML5 Based Mobile Web Sites. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Setting up Java environment for Project Capuchin development with Sony Ericsson phones

Android ATC Android Security Essentials Course Code: AND-402 version 5 Hands on Guide to Android Security Principles

Mobile Print Guide for Brother iprint&label (Android )

Alborz 1.0 Installation Guide

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

Android Software Development Kit (Part I)

NVIDIA DEBUG MANAGER FOR ANDROID NDK - VERSION 8.0.1

All other products, brands, names or trademarks mentioned in this document may be trademarks or registered trademarks of their respective owners.

EasyMP Network Updater Operation Guide

Preparing Your Computer for OPL. User Guide Version 3.0. Information and Communications Technologies

McMaster Service-Based ehealth Integration Environment (MACSeie) Installation Guide July 24, 2009

Network Guide NPD EN

KODAK Dental Imaging Software Installation Guide for the KODAK1500 Intraoral Camera

Teradata Studio and Studio Express

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

TM-H6000V. WebConfig API User's Manual. Overview. Web API Specification. Reference. M Rev.A. Describes an overview of WebConfig API.

IBM Maximo Anywhere Version 7 Release 6. Installing a development environment IBM

Mac Printer Driver User's Manual

OpenGL ES 2.0 SDK for Android. Mali. User Guide. Version: Copyright 2011 ARM. All rights reserved. ARM DUI 0587A (ID120411)

Oracle Banking Platform Collections

Testing Gear Companion Apps using the Gear Emulator

IWeb. Installation Guide. v5.16.5

Skynax. Remote Assist Console. User Guide

WA EJB and JPA Programming with Java EE 6 - WebLogic 12 / Eclipse. Classroom Setup Guide. Web Age Solutions Inc.

for ColdFire Architectures V7.2 Quick Start

Operation Guide: for Clients

Preparing Rapise for Android Mobile Testing. Testing Architectures. Installation Notes

Quick Guide Installing Zend Studio for Eclipse 6.1 as a Set of Plugins

Copyright 2009 The Pragmatic Programmers, LLC.

Programmazione di sistemi mobili e tablet

EasyMP Network Updater Operation Guide

Image Recognition. SDK Reference. Issue 09 Date HUAWEI TECHNOLOGIES CO., LTD.

PERSPECTIVE WORKFLOW INSTALLATION GUIDE

Installation Guide Integrating Worksoft Certify with IBM Rational Quality Manager

Migrate User Data & Customizations to MindManager 2018

ActiveFlow. Installation Guide. Revision Date: Feb 15, 2011

A Sample PhoneGap Application Using SUP

Hello World. Lesson 1. Create your first Android. Android Developer Fundamentals. Android Developer Fundamentals

EUSurvey OSS Installation Guide

Download and Installation Instructions. Eclipse Kepler Software for Windows

Software User's Manual

UPDATE GUIDE V4.5 TO V4.6

Installation Instructions

Sentences Installation Guide. Sentences Version 4.0

IBM BlueMix Workshop. Lab D Build Android Application using Mobile Cloud Boiler Plate

Skynax. Push Messaging. Integration Guide

Cambium Wireless Manager

Workflow INSTALLATION GUIDE

XLmanage Version 2.4. Installation Guide. ClearCube Technology, Inc.

Oracle Enterprise Pack

Companion ebook Available Pro Android Includes Android 1.5 SOURCE CODE ONLINE US $44.99

Download and Installation Instructions. Eclipse Kepler Software for Mac OS X

Cross-Domain Development Kit XDK110 Platform for Application Development

DMX-GW configurator handbook. This handbook is aimed to help you to: - do your first steps on DMX-GW configuration

Installation manual. source code (03/11/2010)

Android Build Guidelines

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