GearVRf Developer Guide
|
|
|
- Jasmine Gray
- 10 years ago
- Views:
Transcription
1 GearVRf Developer Guide Welcome to GearVRf development! The Gear VR Framework (GearVRf) allows you, the Android developer, to write your own stereoscopic 3D virtual reality Java applications for the Samsung Galaxy Note 4 and Galaxy S6. GearVRf manages VR application tasks, which reduces your application code. With the GearVRf API, you can focus on your 3D models and animation - GearVRf does the heavy lifting. Table of Contents GearVRf Developer Guide (Online) GearVRf Overview Thread Management Scene Graph and Scene Objects Getting Started Hardware Requirements Software Requirements GearVRf Build Instructions Sample GearVRf Applications GearVRf Application Development Building and Running GearVRf Applications Writing a Basic GearVRf Application Step 1 Implement Your Activity Step 2 Implement Your VR World Step 3 Implement onstep Writing More Advanced GearVRf Applications Implementing GVRActivity Setting Up the Camera Rig and Cameras Creating the SceneGraph Rendering GearVRf Developer Guide 1
2 GearVRf Developer Guide > GearVRf Overview GearVRf provides tools to speed up development of advanced features in high quality VR applications. Available EGL extensions (including dual scan, front buffer, MSAA, and tile rendering) allow the best render quality. GearVRf is a native code 3D rendering engine with an Android library interface. You can build non-trivial content using only built-in objects. You can add new objects (such as scene objects with or without GL shaders) derived from classes or by overriding some methods - GearVRf takes care of all hardware handholding. You can do just about everything in Java - all source code is published, so you can easily add to or tweak native code. Thread Management One key constraint of embedded GPU programming is that there is only one GL context. That is, all GPU commands must come from the same thread - the GL thread. The GPU should always be busy; therefore, the GL thread cannot be the main GUI thread. When starting GearVRf, your Android app creates the GL thread, puts the phone into stereoscopic mode, and supplies a pair of callback methods that run the app's startup and per-frame code on the GL thread. GearVRf provides methods for any thread to schedule runnable callbacks to the GL thread. All these callbacks mean that GearVRf programming is event-oriented on the GL thread in just the same way that Android programming is event-oriented on the GUI thread. Running two independent event systems on two independent threads does mean that you have to think about IPC whenever your Android Activity code on the GUI thread interacts with the GearVRf code on the GL thread. However, dual-thread operation also creates another huge section of your application that can take advantage of event atomicity. That is, callback events are method calls from a main loop - neither the GUI thread nor the GL thread ever runs more than one callback at one time, and each callback has to run to completion before any other callback can start on that thread. Your GL callbacks do not have to write code to keep other GL callbacks from seeing data structures in a partially updated state. GearVRf Developer Guide 2
3 Scene Graph and Scene Objects Your startup code builds a scene graph made up of scene objects, and your per-frame code then manipulates the scene graph in real time. Each scene object has a 4x4 matrix that describes its position, orientation, and zoom relative to its parent. Each scene object can parent other scene objects, so complex objects can be composed of multiple small objects, each with its own shape and appearance, with all changing in synchrony. Each scene object provides methods to change its components using a lazy update pattern, which means that multiple updates per event cost very little more than a single update. You make a scene object visible by adding a surface geometry and a skin. The geometry is a mesh of 3D triangles. GearVRf provides methods to build simple rectangular quads, and to load more complex meshes from files built by 3D model editors. Each material class contains the shader type, the GL identifier of a shader, values for all shader parameters, texture, and other uniform mappings. Each shader has two parts: a vertex shader and a fragment shader. The vertex shader is called for each vertex of each visible triangle and can compute triangle-specific values that are passed to the fragment shader, which draws each pixel of each visible triangle. GearVRf contains standard shaders that provide methods, such as simply sampling a texture (a bitmap image in GPU memory), without applying any lighting effects. You can create custom shaders by supplying vertex and fragment shaders and by declaring names to bind Java values to. The GL shader language is very simple and C-like; you can learn a lot by reading a few of the shaders in the sample applications. GearVRf Developer Guide 3
4 GearVRf Developer Guide > Getting Started You can run sample GearVRf applications and create your own GearVRf applications and run them on supported devices. Hardware Requirements Samsung Galaxy Note 4 and Samsung Galaxy S6 Samsung Gear VR headset Software Requirements JDK 1.7 or above Oculus Mobile SDK Android SDK (version 5.0.1, Lollipop, is preferred) and/or KitKat SDK (version 4.4.x ) GearVRf Build Instructions In Eclipse, you can build the Gear VR framework in order to run sample and your own GearVRf applications. Prerequisites 1. Latest GearVRf 1. In click Download ZIP 2. Unzip the file to path / to / convenient / local / directory / (the GearVRf directory) 2. JDK 1.7 or above Download it from 3. Eclipse IDE 1. If you already have Eclipse from a previous ADT bundle, go to step 4. GearVRf Developer Guide 4
5 2. If you do not have Eclipse: 1. Download Eclipse IDE for Java Developers from 2. Download Android Development Tools (ADT) for Eclipse and configuration instructions from 4. NDK plugin with Eclipse CDT (C/C++ Development Tooling) Download it and configuration instructions from NOTE: Do NOT install a CDT version higher than or you will encounter parser errors at the JNI level, even though these will not affect building and running your GearVRf application. 5. Oculus Mobile SDK Download it from Put the Oculus SDK folder at the same directory level as your GearVRf directory. For example, if your GearVRf directory path is / path / to / convenient / local / directory / GVRf / put the Oculus SDK in / path / to / convenient / local / directory / ovr_mobile_sdk / NOTE: Remove version information from the pathname. 6. Android SDK (version 5.0.1, Lollipop, is preferred) and/or KitKat SDK (version 4.4.x ) After you set up Android Development Tools in Eclipse: 1. Click Window > Android SDK Manager 2. Download the newest version of Android SDK Tools and build tools. 3. Download Android (API 21) and 4.4.x in Android SDK Manager. Configuration 1. Properly configure Eclipse: 1. For Android Lollipop, ensure the current Java compiler level is at least 1.7: 1. Click Window > Preference > Java > Compiler > JDK Compliance > Compiler compliance level 2. Verify the compiler level is 1.7 or above. 3. If it is NOT, set it to Ensure the JDK version 1.7 or above is in Eclipse: 1. Click Window > Preference > Java > Installed JREs 2. Verify the JDK version is 1.7 or above. 3. If it is NOT, click Add and follow the instructions to put it in. 3. Click Window > Preferences > Android > Build, and UNcheck Force error when external jars contain native libraries 4. If NOT using Eclipse with the ADT bundle, properly configure the Eclipse Memory Settings for Android development NOTE: For GearVRf development, it is recommended to set Xms = 512m and Xmx = 1024m in order to not encounter Java heap size errors. 5. Click Project > UNcheck Build Automatically 6. Click Project > Clean..., checkmark Start a build immediately, and checkmark Build only the selected projects GearVRf Developer Guide 5
6 2. If you are on a case-sensitive file system (such as for Linux), you may need to correct a typo in the Oculus source code in order to compile. If you get a compile error in jni/vrmenu/vrmenucomponent.cpp about #include "Android/Log.h" then change it to #include "android/log.h" Build 1. Import VRLib. In Eclipse Package Explorer: 1. Right-click Import In the Import window, click Android > Existing Android Code Into Workspace 1. Click Next > 2. Click Browse Navigate to the VRLib directory (an Oculus SDK sub-directory). 4. Click OK 5. Click Finish 3. If a Maven plugin (such as Eclipse Luna) is installed, disable the plugin. Right-click and UNcheck VRLib > Maven > Disable Maven Nature 2. Import the Gear VR framework. In Eclipse Package Explorer: 1. Right-click Import In the Import window, click Android > Existing Android Code Into Workspace 1. Click Next > 2. Click Browse Navigate to the Framework directory (a GVRf sub-directory). 4. Click OK 5. Click Finish 3. Clean and build the VRLib and Gear VR framework. In the Eclipse toolbar: 1. Click Project > Clean In the Clean window: 1. Checkmark Clean projects selected below 2. Checkmark VRLib 3. Click OK 3. After the Build Project window closes, click Project > Clean In the Clean window: 1. Checkmark Clean projects selected below 2. Checkmark Framework 3. Click *OK* NOTE: The VRLib and GearVRf builds are done. GearVRf Developer Guide 6
7 Optional Get details about the GearVRf API by generating GearVRf Javadoc files in a directory that you specify. In Eclipse toolbar: 1. Click Project > Generate Javadoc In the Generate Javadoc window: 1. Javadoc command: (Pathname to the Javadoc executable file) Typically, in the bin directory of the Java directory. 2. Click on the plus-icon to expand the Framework listing. 3. Checkmark src 4. Select Use standard doclet 5. Destination: (Convenient local directory to contain the Javadoc files) 6. Optional Specify VM options: NOTE: You may encounter errors if VM options is not specified. 1. Click Next > 2. Click Next > 3. VM options: -bootclasspath [path to your Android jar file] (Typically the pathname ends in.../android/sdk/android.jar) 7. Click Finish Sample GearVRf Applications Sample GearVRf applications, available in the GearVRf SDK, can provide you with valuable insight into writing your own VR applications. Solar System (gvrsolarsystem) Eye Picking (gvreyepickingsample) A solar system with rotating planets revolving around a rotating sun * Asynchronous loading of meshes and textures is used. * Loading order is by priority and no mesh or texture is loaded twice. * Animation is used to create the illusion of rotation and revolution. Colors of objects (bunnies and rectangles) change to red when an object is at the center of the view Dynamic Gallery (gvropacityanigalery) * OnStep is used to update scene objects colors. * Implements a color custom shader. Images and video displayed on a board * OnStep is used to decide and define which animation to apply, based on HMD orientation. * A video scene object is displayed. * Animation is used to switch images and video smoothly. * Post-effect converts the view to sepia colors. GearVRf Developer Guide 7
8 GearVRf Application Development GearVRf runs full-screen and in a single Android View of its own, so you do not need any themes, menus, or layout files. But GearVRf apps can use Android resources (such as strings, ints, drawables, assets, and res/raw files). For details about developing your own GearVRf applications: Writing a Basic GearVRf Application Writing More Advanced GearVRf Applications Building and Running GearVRf Applications You can import, build, and run GearVRf applications (your own or sample apps) in Eclipse. To build and run GearVRf applications in Eclipse: 1. For your own GearVRf apps only, copy the appropriate device XML file from the GearVRf SDK to your application's assets folder. GearVRf provides two xml files for you to use: gvr_note4.xml for Galaxy Note 4 devices, and gvr_s6.xml for Galaxy S6 devices. 2. For your own and sample GearVRf apps, copy your Oculus device key from the Oculus SDK to the application's assets folder. 3. Import the GearVRf application code: In Eclipse Package Explorer: 1. Right-click Import In the Import window, click Android > Existing Android Code Into Workspace 1. Click Next > 2. Click Browse Navigate to the application code. 4. Click OK 5. Click Finish 4. Clean and build the application: In the Eclipse toolbar: 1. Click Project > Clean In the Clean window: 1. Checkmark Clean projects selected below 2. Checkmark [Application] 3. Click OK 5. Run the application: NOTE: You may need to apply for a signature file for your device with Oculus. For application and use details, refer to the online signature generator ( ) 1. Connect an Android mobile device to your local machine. 2. In the Eclipse Package Explorer, right-click on the application Run As > Android Application GearVRf Developer Guide 8
9 GearVRf Developer Guide > Writing a Basic GearVRf Application To become familiar with the basics of using the GearVRf API, write a fundamental application. The GearVRf sample application simplesample, used as an example in this section, presents a 3D view of a GearVRf banner in a VR world with a white background. GearVRf runs full-screen and in a single Android View of its own, so you do not need any themes, menus, or layout files. But GearVRf apps can use Android resources (such as strings, ints, drawables, assets, and res/raw files). Step 1 Implement your activity by extending GVRActivity To implement your activity, your application needs to extend GVRActivity to meet the application needs. Call GVRActivity setscript to initialize your application by providing a device XML file and a GVRScript object (SampleViewManager in the example below) to create your own scene graph. Modify the wizard-generated Activity so that it extends GVRActivity (instead of extending android.app.activity) and change its oncreate() method so that it calls setscript() instead of setcontentview(). To extend GVRActivity for a sample application and a supported device (Samsung Galaxy Note 4): package org.gearvrf.simplesample; import android.os.bundle; import org.gearvrf.gvractivity; public class GalleryActivity extends GVRActivity protected void oncreate(bundle icicle) { super.oncreate(icicle); setscript(new SampleViewManager(), "gvr_note4.xml"); } } GearVRf Developer Guide 9
10 Step 2 Implement your VR world by extending GVRScript The main task of your application is to extend the script class to meet the needs of your application. Create a new class Script that extends GVRScript and implements the oninit() and onstep() callbacks. Your application needs to implement the oninit function: Set the background color. Load the mesh and texture to be used for scene objects. NOTE: In simplesample, default loading of mesh data is used. Create each scene object and set its material and position. Add scene objects to the scene graph. To extend the GVRScript: package org.gearvrf.simplesample; import org.gearvrf.gvrcontext; import org.gearvrf.gvrscene; import org.gearvrf.gvrsceneobject; import org.gearvrf.gvrscript; import org.gearvrf.gvrtexture; import android.graphics.color; public class SampleViewManager extends GVRScript { private GVRContext public void oninit(gvrcontext gvrcontext) { *// save context for possible use in onstep(), even though that is empty* *// in this sample* mgvrcontext = gvrcontext; *// set background color* GVRScene scene = gvrcontext.getmainscene(); scene.getmaincamerarig().getleftcamera().setbackgroundcolor(color.white); scene.getmaincamerarig().getrightcamera().setbackgroundcolor(color.white); *// load texture* GVRTexture texture = gvrcontext.loadtexture("gearvr.jpg"); *// create a a scene object (this constructor creates a rectangular scene* *// object that uses the standard 'unlit' shader)* GVRSceneObject sceneobject = new GVRSceneObject(gvrContext, 4.0f, 2.0f, texture); *// set the scene object position* sceneobject.gettransform().setposition(0.0f, 0.0f, -3.0f); } *// add the scene object to the scene graph* scene.addsceneobject(sceneobject); GearVRf Developer Guide 10
11 Step 3 Implement the onstep method for each frame This is where your application needs to adjust the SceneObject for each frame. If you need to update shader uniforms, you should do that in this function. If your application needs to adjust scene properties for each frame or a particular frame, the onstep method is right place to change them. For OpenGL ES applications, shader uniform update happens for each frame. If you have uniform updates, you need to perform the updates in onstep. NOTE: The onstep method could be empty (as in simplesample, which as a static scene, and the perspective only changes based on user-initiated HMD motion). To change the scene for the next frame: public void onstep() { } GearVRf Developer Guide 11
12 GearVRf Developer Guide > Writing More Advanced GearVRf Applications With a little more code, you can create 3D stereoscopic VR worlds! Implementing GVRActivity To implement your activity, your application needs to extend GVRActivity to meet the application needs, by providing a device XML file and a GVRScript object. For details, see step 1 in the basic GearVRf application section. Setting Up the Camera Rig and the Left and Right Cameras GearVRf will create the camera rig by default. Its parameters do not need to be adjusted; however, applications may move the camera rig. The HMD sensor automatically adjusts camera orientation; your app does not need code for this. Camera background color can be set for each eye; however, they are typically the same. Camera background color and post-effect data can be set by the application. Post-effects are applied to each camera. To set the background of the cameras and the position of the camera rig: // set camera background color mgvrcontext.getmainscene().getmaincamerarig().getleftcamera().setbackgroundcolor(0.0f, 0.0f, 0.0f, 1.0f); mgvrcontext.getmainscene().getmaincamerarig().getrightcamera().setbackgroundcolor(0.0f, 0.0f, 0.0f, 1.0f); // set up camerarig position (default) mgvrcontext.getmainscene().getmaincamerarig().getownerobject().gettransform().setposition(0.0f, 0.0f, 0.0f); GearVRf Developer Guide 12
13 Creating the Scene Graph The scene graph - the VR world - is a hierarchical tree of scene objects. Each scene object is a tree node with one parent and one or more child scene objects. Applications must build a scene graph. Your app needs to set up camerarig for the root scene object of the scene graph, but does not need to set up camerarig for each lower-level scene object. To create a scene graph at initialization time, get the GearVRf main scene (the root scene object) from GVRContext. To create the scene graph by getting its root scene object: GVRScene scene = mgvrcontext.getmainscene(); Scene Objects Populate your VR world's scene graph scene object tree by adding scene objects to the root scene object and to other lower-level scene objects. The most common way is to load mesh data using the GearVRf wrapped Assimp library. Assimp can load many 3D file formats. After a mesh object is created, it should be attached to a scene object OR added to the render data of a scene object. Typically, load each texture from a file and then add each texture to a material. In managing materials, assign a shader program and a texture to the material, and add the material to a scene object. A shader program is composed of a vertex shader and a fragment shader. There are 7 pre-defined shaders and 2 pre-defined post-effect shaders for applications to use. Applications can simply set material shadertype (to track application shader mapping) to one of the pre-defined shaders. A common pre-defined shader is the unlit shader. To create a scene object from mesh and texture loaded from files: // load mesh using assimp GVRMesh spheremesh = mgvrcontext.loadmesh("sphere.obj"); // create pre-defined scene object: texture mesh object GVRSceneObject bumpysphere = new GVRTextureMeshObject(mGVRContext, spheremesh, mgvrcontext.loadtexture("bumpytexture.png")); To create a scene object with shader-only material via render data: // load mesh object GVRMesh spheremesh = gvrcontext.loadmesh("sphere.obj"); // get material GVRMaterial spherematerial = new GVRMaterial(gvrContext, mscreenshader.getshaderid()); GearVRf Developer Guide 13
14 // create render data GVRRenderData sphererenderdata = new GVRRenderData(gvrContext); // set mesh and material for render data sphererenderdata.setmesh(spheremesh); sphererenderdata.setmaterial(spherematerial); // create scene object sphereobject = new GVRSceneObject(gvrContext); sphereobject.attachrenderdata(sphererenderdata); Managing Transforms in a Scene Graph After scene objects are added to the scene graph, each scene object can be controlled by transforms. To set the position of a scene object and rotate it about an axis with a pivot point: GVRSceneObject rotator = new GVRTextureBoardObject(mGVRContext, 2.0f, 1.0f, rotatortextures.get(i)); rotator.gettransform().setposition(0.0f, 0.0f, -5.0f); float degree = 360.0f * i / (rotatortextures.size() + 1); rotator.gettransform().rotatebyaxiswithpivot(degree, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f); Rendering Opaque scene objects are drawn back-to-front, in render order. Transparent objects are drawn front-to-back. The renderer will automatically sort scene object data. However, the application may set the render order (lower render value first). Standard constants are shown below; however, any integer values are valid. Render Type = Render Value Render Order Background = 1000 First Geometry = 2000 Second Transparent = 3000 Third Overlay = 4000 Last After your startup code has built a scene graph, GearVRf enters its event loop. On each frame, GearVRf starts its render pipeline, which consists of four main steps. The first three steps run your Java callbacks on the GL thread. The final step is managed by GearVRf. 1. GearVRf executes any Runnable you added to the run-once queue. Queue operations are thread-safe. You can use the GVRContext.runOnGlThread() method from the GUI or background threads in the same way you use Activity.runOnUiThread() from non-gui threads. The analogy is not exact: runonglthread() always enqueues its Runnable, even when called from the GL thread. GearVRf Developer Guide 14
15 2. GearVRf executes each frame listener you added to the on-frame list. GearVRf includes animation and periodic engines that use frame listeners to run time-based code on the GL thread, but you may add frame listeners directly. A frame listener is like a Runnable that gets a parameter telling you how long it has been since the last frame. An animation runs every frame until it stops, and morphs a scene object from one state to another. A periodic callback runs a standard Runnable at a specified time (or times) as a runonglthread() callback. You can run a sequence of animations either by starting each new animation in the previous animation's optional on-finish callback or by starting each new animation at set times from a periodic callback. 3. GearVRf runs your onstep() callback, which is the place to process Android or cloud events and make changes to your scene graph. As a rule of thumb, an animation changes a single scene object's properties; onstep() changes the scene graph itself. Of course, you can use onstep() to start an animation that will make a smooth change. 4. GearVRf renders the scene graph twice, once for each eye. 1. Rendering determines what a camera can see and draws each visible triangle to a buffer in GPU memory. 2. Any post-effects you have registered for an eye are applied the buffer for step 4.a in registration order. (Typically, you will use per-eye registration to run the same effect with different per-eye parameters, but you can run different effects on each eye, perhaps adding different debugging info to each eye.) A post-effect is a shader that is a lot like the shaders that draw scene objects' skins; the big difference is that while a material shader's vertex shader may be quite complex (adding in lighting and reflections), a post-effect is a 2D effect, and all the action is in the fragment shader, which draws each pixel. GearVRf includes pre-defined post-effect shaders, and it is easy to add your own. 3. One last shader applies barrel distortion to the render buffer, and draws the barrel distortion to the screen. When the user views the screen though a fish-eye lens, the undistorted image will (nearly) fill the field of view. This step is not programmable, except in so far as you provide an XML file with screen size information at start-up time.. GearVRf Developer Guide 15
Mocean Android SDK Developer Guide
Mocean Android SDK Developer Guide For Android SDK Version 3.2 136 Baxter St, New York, NY 10013 Page 1 Table of Contents Table of Contents... 2 Overview... 3 Section 1 Setup... 3 What changed in 3.2:...
An Introduction to Android Application Development. Serdar Akın, Haluk Tüfekçi
An Introduction to Android Application Serdar Akın, Haluk Tüfekçi ARDIC ARGE http://www.ardictech.com April 2011 Environment Programming Languages Java (Officially supported) C (Android NDK Needed) C++
Introduction to NaviGenie SDK Client API for Android
Introduction to NaviGenie SDK Client API for Android Overview 3 Data access solutions. 3 Use your own data in a highly optimized form 3 Hardware acceleration support.. 3 Package contents.. 4 Libraries.
Android Basics. Xin Yang 2016-05-06
Android Basics Xin Yang 2016-05-06 1 Outline of Lectures Lecture 1 (45mins) Android Basics Programming environment Components of an Android app Activity, lifecycle, intent Android anatomy Lecture 2 (45mins)
Android Environment SDK
Part 2-a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 2A. Android Environment: Eclipse & ADT The Android
Computer Graphics on Mobile Devices VL SS2010 3.0 ECTS
Computer Graphics on Mobile Devices VL SS2010 3.0 ECTS Peter Rautek Rückblick Motivation Vorbesprechung Spiel VL Framework Ablauf Android Basics Android Specifics Activity, Layouts, Service, Intent, Permission,
With a single download, the ADT Bundle includes everything you need to begin developing apps:
Get the Android SDK The Android SDK provides you the API libraries and developer tools necessary to build, test, and debug apps for Android. The ADT bundle includes the essential Android SDK components
Introduction to Android Programming (CS5248 Fall 2015)
Introduction to Android Programming (CS5248 Fall 2015) Aditya Kulkarni ([email protected]) August 26, 2015 *Based on slides from Paresh Mayami (Google Inc.) Contents Introduction Android
IOIO for Android Beginners Guide Introduction
IOIO for Android Beginners Guide Introduction This is the beginners guide for the IOIO for Android board and is intended for users that have never written an Android app. The goal of this tutorial is to
ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I)
ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I) Who am I? Lo Chi Wing, Peter Lecture 1: Introduction to Android Development Email: [email protected] Facebook: http://www.facebook.com/peterlo111
Android: Setup Hello, World: Android Edition. due by noon ET on Wed 2/22. Ingredients.
Android: Setup Hello, World: Android Edition due by noon ET on Wed 2/22 Ingredients. Android Development Tools Plugin for Eclipse Android Software Development Kit Eclipse Java Help. Help is available throughout
Getting Started: Creating a Simple App
Getting Started: Creating a Simple App What You will Learn: Setting up your development environment Creating a simple app Personalizing your app Running your app on an emulator The goal of this hour is
Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department. Mobile Computing ECOM 5341. Eng. Wafaa Audah.
Islamic University of Gaza Faculty of Engineering Computer Engineering Department Mobile Computing ECOM 5341 By Eng. Wafaa Audah June 2013 1 Setting Up the Development Environment and Emulator Part 1:
Lecture 1 Introduction to Android
These slides are by Dr. Jaerock Kwon at. The original URL is http://kettering.jrkwon.com/sites/default/files/2011-2/ce-491/lecture/alecture-01.pdf so please use that instead of pointing to this local copy
Installing the Android SDK
Installing the Android SDK To get started with development, we first need to set up and configure our PCs for working with Java, and the Android SDK. We ll be installing and configuring four packages today
How To Develop Android On Your Computer Or Tablet Or Phone
AN INTRODUCTION TO ANDROID DEVELOPMENT CS231M Alejandro Troccoli Outline Overview of the Android Operating System Development tools Deploying application packages Step-by-step application development The
Tutorial on OpenCV for Android Setup
Tutorial on OpenCV for Android Setup EE368/CS232 Digital Image Processing, Spring 2015 Macintosh Version For personal Android devices (advised: Android 3.0 or higher) Introduction In this tutorial, we
Silverlight for Windows Embedded Graphics and Rendering Pipeline 1
Silverlight for Windows Embedded Graphics and Rendering Pipeline 1 Silverlight for Windows Embedded Graphics and Rendering Pipeline Windows Embedded Compact 7 Technical Article Writers: David Franklin,
Introduction to Android Development
2013 Introduction to Android Development Keshav Bahadoor An basic guide to setting up and building native Android applications Science Technology Workshop & Exposition University of Nigeria, Nsukka Keshav
Login with Amazon Getting Started Guide for Android. Version 2.0
Getting Started Guide for Android Version 2.0 Login with Amazon: Getting Started Guide for Android Copyright 2016 Amazon.com, Inc., or its affiliates. All rights reserved. Amazon and the Amazon logo are
SDK Code Examples Version 2.4.2
Version 2.4.2 This edition of SDK Code Examples refers to version 2.4.2 of. This document created or updated on February 27, 2014. Please send your comments and suggestions to: Black Duck Software, Incorporated
Tutorial on Basic Android Setup
Tutorial on Basic Android Setup EE368/CS232 Digital Image Processing, Spring 2015 Windows Version Introduction In this tutorial, we will learn how to set up the Android software development environment
Basic Android Setup. 2014 Windows Version
Basic Android Setup 2014 Windows Version Introduction In this tutorial, we will learn how to set up the Android software development environment and how to implement image processing operations on an Android
Lab 0 (Setting up your Development Environment) Week 1
ECE155: Engineering Design with Embedded Systems Winter 2013 Lab 0 (Setting up your Development Environment) Week 1 Prepared by Kirill Morozov version 1.2 1 Objectives In this lab, you ll familiarize yourself
Android Environment SDK
Part 2-a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 Android Environment: Eclipse & ADT The Android
Table of Contents. Adding Build Targets to the SDK 8 The Android Developer Tools (ADT) Plug-in for Eclipse 9
SECOND EDITION Programming Android kjj *J} Zigurd Mednieks, Laird Dornin, G. Blake Meike, and Masumi Nakamura O'REILLY Beijing Cambridge Farnham Koln Sebastopol Tokyo Table of Contents Preface xiii Parti.
How to Create an Android Application using Eclipse on Windows 7
How to Create an Android Application using Eclipse on Windows 7 Kevin Gleason 11/11/11 This application note is design to teach the reader how to setup an Android Development Environment on a Windows 7
Android Development. http://developer.android.com/develop/ 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系
Android Development http://developer.android.com/develop/ 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系 Android 3D 1. Design 2. Develop Training API Guides Reference 3. Distribute 2 Development Training Get Started Building
Android Development. Marc Mc Loughlin
Android Development Marc Mc Loughlin Android Development Android Developer Website:h:p://developer.android.com/ Dev Guide Reference Resources Video / Blog SeCng up the SDK h:p://developer.android.com/sdk/
JavaFX Session Agenda
JavaFX Session Agenda 1 Introduction RIA, JavaFX and why JavaFX 2 JavaFX Architecture and Framework 3 Getting Started with JavaFX 4 Examples for Layout, Control, FXML etc Current day users expect web user
Graduate presentation for CSCI 5448. By Janakiram Vantipalli ( [email protected] )
Graduate presentation for CSCI 5448 By Janakiram Vantipalli ( [email protected] ) Content What is Android?? Versions and statistics Android Architecture Application Components Inter Application
Android Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen, 2013.06.18
Høgskolen i Telemark Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Cuong Nguyen, 2013.06.18 Faculty of Technology, Postboks 203, Kjølnes ring
ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android
Why Android? ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android Dr Dimitris C. Dracopoulos A truly open, free development platform based on Linux and open source A component-based
Advantages. manage port forwarding, set breakpoints, and view thread and process information directly
Part 2 a Android Environment SDK Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 1 Android Environment: Eclipse & ADT The Android
OpenCV on Android Platforms
OpenCV on Android Platforms Marco Moltisanti Image Processing Lab http://iplab.dmi.unict.it [email protected] http://www.dmi.unict.it/~moltisanti Outline Intro System setup Write and build an Android
How To Understand The Power Of Unity 3D (Pro) And The Power Behind It (Pro/Pro)
Optimizing Unity Games for Mobile Platforms Angelo Theodorou Software Engineer Brains Eden, 28 th June 2013 Agenda Introduction The author ARM Ltd. What do you need to have What do you need to know Identify
Hello World. by Elliot Khazon
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
POOSL IDE User Manual
Embedded Systems Innovation by TNO POOSL IDE User Manual Tool version 3.0.0 25-8-2014 1 POOSL IDE User Manual 1 Installation... 5 1.1 Minimal system requirements... 5 1.2 Installing Eclipse... 5 1.3 Installing
Download and Installation Instructions. Android SDK and Android Development Tools (ADT)
Download and Installation Instructions for Android SDK and Android Development Tools (ADT) on Mac OS X Updated October, 2012 This document will describe how to download and install the Android SDK and
Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months
Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months Our program is a practical knowledge oriented program aimed at making innovative and attractive applications for mobile
Developing In Eclipse, with ADT
Developing In Eclipse, with ADT Android Developers file://v:\android-sdk-windows\docs\guide\developing\eclipse-adt.html Page 1 of 12 Developing In Eclipse, with ADT The Android Development Tools (ADT)
Android and OpenGL. Android Smartphone Programming. Matthias Keil. University of Freiburg
Android and OpenGL Android Smartphone Programming Matthias Keil Institute for Computer Science Faculty of Engineering 16. Dezember 2013 Outline 1 OpenGL Introduction 2 Displaying Graphics 3 Interaction
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)
today 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) l Other: Signing Apps, SVN l Discussion and Questions introduction to android
Developing NFC Applications on the Android Platform. The Definitive Resource
Developing NFC Applications on the Android Platform The Definitive Resource Part 1 By Kyle Lampert Introduction This guide will use examples from Mac OS X, but the steps are easily adaptable for modern
ADT Plugin for Eclipse
ADT Plugin for Eclipse Android Development Tools (ADT) is a plugin for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications. ADT extends
Android Setup Phase 2
Android Setup Phase 2 Instructor: Trish Cornez CS260 Fall 2012 Phase 2: Install the Android Components In this phase you will add the Android components to the existing Java setup. This phase must be completed
Hypercosm. Studio. www.hypercosm.com
Hypercosm Studio www.hypercosm.com Hypercosm Studio Guide 3 Revision: November 2005 Copyright 2005 Hypercosm LLC All rights reserved. Hypercosm, OMAR, Hypercosm 3D Player, and Hypercosm Studio are trademarks
The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.
Installing the SDK This page describes how to install the Android SDK and set up your development environment for the first time. If you encounter any problems during installation, see the Troubleshooting
Running a Program on an AVD
Running a Program on an AVD Now that you have a project that builds an application, and an AVD with a system image compatible with the application s build target and API level requirements, you can run
How To Teach Computer Graphics
Computer Graphics Thilo Kielmann Lecture 1: 1 Introduction (basic administrative information) Course Overview + Examples (a.o. Pixar, Blender, ) Graphics Systems Hands-on Session General Introduction http://www.cs.vu.nl/~graphics/
Mobility Introduction Android. Duration 16 Working days Start Date 1 st Oct 2013
Mobility Introduction Android Duration 16 Working days Start Date 1 st Oct 2013 Day 1 1. Introduction to Mobility 1.1. Mobility Paradigm 1.2. Desktop to Mobile 1.3. Evolution of the Mobile 1.4. Smart phone
System Reference 2013
System Reference 2013 Content List of graphics...3 List of tables...4 1 Purpose of LynxSight...5 2 Setting up project...6 2.1 Project dependences...6 2.1.1 Operating system...6 2.1.2 Eclipse IDE...6 2.1.3
Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 SP02
Tutorial: Android Object API Application Development SAP Mobile Platform 2.3 SP02 DOCUMENT ID: DC01939-01-0232-01 LAST REVISED: May 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This publication
Informatics for Integrating Biology & the Bedside. i2b2 Workbench Developer s Guide. Document Version: 1.0 i2b2 Software Release: 1.3.
Informatics for Integrating Biology & the Bedside i2b2 Workbench Developer s Guide Document Version: 1.0 i2b2 Software Release: 1.3.2 Table of Contents About this Guide iii Prerequisites 1 Downloads 1
How to develop your own app
How to develop your own app It s important that everything on the hardware side and also on the software side of our Android-to-serial converter should be as simple as possible. We have the advantage that
Getting started with Android and App Engine
Getting started with Android and App Engine About us Tim Roes Software Developer (Mobile/Web Solutions) at inovex GmbH www.timroes.de www.timroes.de/+ About us Daniel Bälz Student/Android Developer at
Example Connection between USB Host and Android
Example connection between USB Host and Android Example Connection between USB Host and Android This example illustrates the connection between Board ETMEGA2560-ADK and Android through Port USB Host. In
Android Mobile App Building Tutorial
Android Mobile App Building Tutorial Seidenberg-CSIS, Pace University This mobile app building tutorial is for high school and college students to participate in Mobile App Development Contest Workshop.
How To Develop An Android App On An Android Device
Lesson 2 Android Development Tools = Eclipse + ADT + SDK Victor Matos Cleveland State University Portions of this page are reproduced from work created and shared by Googleand used according to terms described
Android Development Tools for Eclipse
Android Development Tools for Eclipse Sanjay Shah Khirulnizam Abd Rahman Chapter No. 1 "Installing Eclipse, ADT, and SDK" In this package, you will find: A Biography of the author of the book A preview
Setting up Sudoku example on Android Studio
Installing Android Studio 1 Setting up Sudoku example on Android Studio Installing Android Studio Android Studio provides everything you need to start developing apps for Android, including the Android
Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows
Download and Installation Instructions for Android SDK and Android Development Tools (ADT) on Microsoft Windows Updated September, 2013 This document will describe how to download and install the Android
Creating a 2D Game Engine for Android OS. Introduction
Creating a 2D Game Engine for Android OS Introduction This tutorial will lead you through the foundations of creating a 2D animated game for the Android Operating System. The goal here is not to create
Getting Started with Android Development
Getting Started with Android Development By Steven Castellucci (v1.1, January 2015) You don't always need to be in the PRISM lab to work on your 4443 assignments. Working on your own computer is convenient
Introduction to Eclipse
Introduction to Eclipse Overview Eclipse Background Obtaining and Installing Eclipse Creating a Workspaces / Projects Creating Classes Compiling and Running Code Debugging Code Sampling of Features Summary
EMC Documentum Composer
EMC Documentum Composer Version 6.5 User Guide P/N 300 007 217 A02 EMC Corporation Corporate Headquarters: Hopkinton, MA 01748 9103 1 508 435 1000 www.emc.com Copyright 2008 EMC Corporation. All rights
How to build your first Android Application in Windows
APPLICATION NOTE How to build your first Android Application in Windows 3/30/2012 Created by: Micah Zastrow Abstract This application note is designed to teach the reader how to setup the Android Development
Tutorial: BlackBerry Object API Application Development. Sybase Unwired Platform 2.2 SP04
Tutorial: BlackBerry Object API Application Development Sybase Unwired Platform 2.2 SP04 DOCUMENT ID: DC01214-01-0224-01 LAST REVISED: May 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This
Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3
Tutorial: Android Object API Application Development SAP Mobile Platform 2.3 DOCUMENT ID: DC01939-01-0230-01 LAST REVISED: March 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This publication
An Introduction to Android
An Introduction to Android Michalis Katsarakis M.Sc. Student [email protected] Tutorial: hy439 & hy539 16 October 2012 http://www.csd.uoc.gr/~hy439/ Outline Background What is Android Android as a
Practical Android Projects Lucas Jordan Pieter Greyling
Practical Android Projects Lucas Jordan Pieter Greyling Apress s w«^* ; i - -i.. ; Contents at a Glance Contents --v About the Authors x About the Technical Reviewer xi PAcknowiedgments xii Preface xiii
ANDROID INTRODUCTION TO ANDROID
ANDROID JAVA FUNDAMENTALS FOR ANDROID Introduction History Java Virtual Machine(JVM) JDK(Java Development Kit) JRE(Java Runtime Environment) Classes & Packages Java Basics Data Types Variables, Keywords,
Homework 9 Android App for Weather Forecast
1. Objectives Homework 9 Android App for Weather Forecast Become familiar with Android Studio, Android App development and Facebook SDK for Android. Build a good-looking Android app using the Android SDK.
PubMatic Android SDK. Developer Guide. For Android SDK Version 4.3.5
PubMatic Android SDK Developer Guide For Android SDK Version 4.3.5 Nov 25, 2015 1 2015 PubMatic Inc. All rights reserved. Copyright herein is expressly protected at common law, statute, and under various
Tutorial: Android Object API Application Development. Sybase Unwired Platform 2.2 SP02
Tutorial: Android Object API Application Development Sybase Unwired Platform 2.2 SP02 DOCUMENT ID: DC01734-01-0222-01 LAST REVISED: January 2013 Copyright 2013 by Sybase, Inc. All rights reserved. This
Native code in Android Quad Detection
Native code in Android Quad Detection 21 July 2013 This document provides information on how to build and run native (C/C++) code in Android platform using Android NDK and then use its scope to auto capture
TUTORIAL. BUILDING A SIMPLE MAPPING APPLICATION
Cleveland State University CIS493. Mobile Application Development Using Android TUTORIAL. BUILDING A SIMPLE MAPPING APPLICATION The goal of this tutorial is to create a simple mapping application that
POOSL IDE Installation Manual
Embedded Systems Innovation by TNO POOSL IDE Installation Manual Tool version 3.4.1 16-7-2015 1 POOSL IDE Installation Manual 1 Installation... 4 1.1 Minimal system requirements... 4 1.2 Installing Eclipse...
Eclipse installation, configuration and operation
Eclipse installation, configuration and operation This document aims to walk through the procedures to setup eclipse on different platforms for java programming and to load in the course libraries for
Android Application Development - Exam Sample
Android Application Development - Exam Sample 1 Which of these is not recommended in the Android Developer's Guide as a method of creating an individual View? a Create by extending the android.view.view
Jordan Jozwiak November 13, 2011
Jordan Jozwiak November 13, 2011 Agenda Why Android? Application framework Getting started UI and widgets Application distribution External libraries Demo Why Android? Why Android? Open source That means
Home Course Catalog Schedule Pricing & Savings Training Options Resources About Us
1 of 14 12/04/2012 06:46 PM Hello, Jonathan Earl My Account Logout GS-35F-0556S CONTACT US Search TOLL FREE 877-932-8228 Home Course Catalog Schedule Pricing & Savings Training Options Resources About
For Introduction to Java Programming, 5E By Y. Daniel Liang
Supplement H: NetBeans Tutorial For Introduction to Java Programming, 5E By Y. Daniel Liang This supplement covers the following topics: Getting Started with NetBeans Creating a Project Creating, Mounting,
Silk Test 15.0. Testing Mobile Web Applications
Silk Test 15.0 Testing Mobile Web Applications Micro Focus 575 Anton Blvd., Suite 510 Costa Mesa, CA 92626 Copyright Micro Focus 2014. All rights reserved. Portions Copyright 1992-2009 Borland Software
Android Programming and Security
Android Programming and Security Dependable and Secure Systems Andrea Saracino [email protected] Outlook (1) The Android Open Source Project Philosophy Players Outlook (2) Part I: Android System
Optimizing AAA Games for Mobile Platforms
Optimizing AAA Games for Mobile Platforms Niklas Smedberg Senior Engine Programmer, Epic Games Who Am I A.k.a. Smedis Epic Games, Unreal Engine 15 years in the industry 30 years of programming C64 demo
Android and OpenCV Tutorial
Android and OpenCV Tutorial Computer Vision Lab Tutorial 26 September 2013 Lorenz Meier, Amaël Delaunoy, Kalin Kolev Institute of Visual Computing Tutorial Content Strengths / Weaknesses of Android Java
Android 4.4 App Development Essentials
Android 4.4 App Development Essentials Neil Smyth This book is for sale at http://leanpub.com/android44appdevelopmentessentials This version was published on 2014-02-15 This is a Leanpub book. Leanpub
Introduction to Computer Graphics
Introduction to Computer Graphics Torsten Möller TASC 8021 778-782-2215 [email protected] www.cs.sfu.ca/~torsten Today What is computer graphics? Contents of this course Syllabus Overview of course topics
Optimizing Unity Games for Mobile Platforms. Angelo Theodorou Software Engineer Unite 2013, 28 th -30 th August
Optimizing Unity Games for Mobile Platforms Angelo Theodorou Software Engineer Unite 2013, 28 th -30 th August Agenda Introduction The author and ARM Preliminary knowledge Unity Pro, OpenGL ES 3.0 Identify
Introduction: The Xcode templates are not available in Cordova-2.0.0 or above, so we'll use the previous version, 1.9.0 for this recipe.
Tutorial Learning Objectives: After completing this lab, you should be able to learn about: Learn how to use Xcode with PhoneGap and jquery mobile to develop iphone Cordova applications. Learn how to use
Mobile Development Documentation
Mobile Development Documentation Version 1.0.0 2 Introduction Mobile Copyrights and Trademarks 2015 Oculus VR, LLC. All Rights Reserved. OCULUS VR, OCULUS, and RIFT are trademarks of Oculus VR, LLC. (C)
Setting Up Your Android Development Environment. For Mac OS X (10.6.8) v1.0. By GoNorthWest. 3 April 2012
Setting Up Your Android Development Environment For Mac OS X (10.6.8) v1.0 By GoNorthWest 3 April 2012 Setting up the Android development environment can be a bit well challenging if you don t have all
Java with Eclipse: Setup & Getting Started
Java with Eclipse: Setup & Getting Started Originals of slides and source code for examples: http://courses.coreservlets.com/course-materials/java.html Also see Java 8 tutorial: http://www.coreservlets.com/java-8-tutorial/
Building graphic-rich and better performing native applications. Pro. Android C++ with the NDK. Onur Cinar
Building graphic-rich and better performing native applications Pro Android C++ with the NDK Onur Cinar For your convenience Apress has placed some of the front matter material after the index. Please
Tutorial 5: Developing Java applications
Tutorial 5: Developing Java applications p. 1 Tutorial 5: Developing Java applications Georgios Gousios [email protected] Department of Management Science and Technology Athens University of Economics and
060010702 Mobile Application Development 2014
Que 1: Short question answer. Unit 1: Introduction to Android and Development tools 1. What kind of tool is used to simulate Android application? 2. Can we use C++ language for Android application development?
Oculus Mobile Software Development Kit (SDK) Device and Environment Setup Guide
Oculus Mobile Software Development Kit (SDK) Device and Environment Setup Guide I. Introduction v. 0.4 Welcome to the Oculus VR Mobile Software Development Kit! This SDK will demonstrate how to implement
