Accessibility. Adding features to support users with impaired vision, mobility, or hearing

Size: px
Start display at page:

Download "Accessibility. Adding features to support users with impaired vision, mobility, or hearing"

Transcription

1 Accessibility Adding features to support users with impaired vision, mobility, or hearing

2 TalkBack TalkBack is an Android screen reader made by Google. It speaks out the contents of a screen based on what the user is doing. The emulator does not support TalkBack, so you have to have an Android device to deploy onto. To enable TalkBack, launch Settings and press Accessibility. Press on TalkBack under the Services heading. Then press the switch near the top right of the screen to turn TalkBack on.

3 A dialog asking for permission to access certain information, e.g. observing the user s actions, altering certain settings, such as turning on Explore by Touch. Green outlines highlight UI elements that have accessibility focus. Explore by Touch speaks information about an item immediately after it is pressed, assuming that the item specifies information TalkBack can read. Swiping moves the focus

4 Making Non-Text Elements Readable Normally, non-text items will result in TalkBack announcing Button unlabelled. Double-tap to activate. This can be changed by, e.g. adding a content description to an ImageButton. Add content description strings (res/values/strings.xml): <resources>... <string name="crime_details_label">details</string> <string name="crime_solved_label">solved</string> <string name="crime_photo_button_description">take photo of crime scene</string> <string name="crime_photo_no_image_description"> Crime scene photo (not set) </string> <string name="crime_photo_image_description">crime scene photo (set)</string>... </resources>

5 Descriptions for ImageView and ImageButton: <ImageView android:layout_width="80dp" android:layout_height="80dp" android:croptopadding="true" android:scaletype="centerinside" /> <ImageButton android:layout_width="match_parent" android:layout_height="wrap_content" />

6 Dynamic Content Descriptions public class CrimeFragment extends Fragment {... private void updatephotoview() { if (mphotofile == null!mphotofile.exists()) { mphotoview.setimagedrawable(null); mphotoview.setcontentdescription( getstring(r.string.crime_photo_no_image_description)); else {... mphotoview.setimagebitmap(bitmap); mphotoview.setcontentdescription( getstring(r.string.crime_photo_image_description));

7 Unit Testing JUnit

8 Two Types of Unit Tests Local unit tests Located at module-name/src/test/java/. These tests run on the local JVM and do not have access to functional Android framework APIs. Instrumented tests Located at module-name/src/androidtest/java/. These are all tests that must run on an Android hardware device or an Android emulator. Instrumented tests are built into an APK that runs on the device alongside your app under test. The system runs your test APK and your app under tests in the same process, so your tests can invoke methods and modify fields in the app, and automate user interaction with your app.

9 Local vs Instrumental

10 Testing

11 JUnit Write a unit or integration test class as a JUnit 4 test class. The framework offers a convenient way to perform common setup, teardown, and assertion operations in your test. A basic JUnit 4 test class is a Java class that contains one or more test methods. Test methods begins with annotation and contains the code to exercise and verify a single functionality, i.e., a logical unit in the component to be tested. The following snippet shows an example JUnit 4 integration test that uses the Espresso APIs to perform a click action on a UI element, then checks to see if an expected string is displayed.

12 public class MainActivityInstrumentationTest public ActivityTestRule mactivityrule = new ActivityTestRule<>( public void sayhello(){ onview(withtext("say hello!")).perform(click()); onview(withid(r.id.textview)).check(matches(withtext("hello, World!")));

13 JUnit Use this annotation to specify a block of code that contains test setup operations. The test class invokes this code block before each test. You can have methods but the order in which the test class calls these methods is not This annotation specifies a block of code that contains test tear-down operations. The test class calls this code block after every test method. You can define operations in your test code. Use this annotation to release any resources from memory.

14 JUnit Use this annotation to mark a test method. A single test class can contain multiple test methods, each prefixed with this Rules allow you to flexibly add or redefine the behaviour of each test method in a reusable way. In Android testing, use this annotation together with one of the test rule classes that the Android Testing Support Library provides, such as ActivityTestRule or ServiceTestRule.

15 JUnit Use this annotation to specify static methods for each test class to invoke only once. This testing step is useful for expensive operations such as connecting to a Use this annotation to specify static methods for the test class to invoke only after all tests in the class have run. This testing step is useful for releasing any resources allocated in Some annotations support the ability to pass in elements for which you can set values. For example, you can specify a timeout period for the test. If the test starts but does not complete within the given timeout period, it automatically fails. You must specify the

16 Local Testing In the app's top-level build.gradle file, we need to specify these libraries as dependencies: dependencies { // Required -- JUnit 4 framework testcompile 'junit:junit:4.12' // Optional -- Mockito framework testcompile 'org.mockito:mockito-core: ' As a basic JUnit 4 test class, create a Java class that contains one or more test methods. A test method begins with annotation and contains the code to exercise and verify a single functionality in the component that you want to test.

17 Example The test method validator_correct simple_returnstr ue verifies that the isvalid () method in the app under test returns the correct result. import org.junit.test; import java.util.regex.pattern; import static org.junit.assert.assertfalse; import static org.junit.assert.asserttrue; public class ValidatorTest public void validator_correct simple_returnstrue() { assertthat( validator.isvalid ("name@ .com"), is(true));...

18 Testing and Gradle The Android Plug-in for Gradle executes local unit tests against a modified version of the android.jar library, which does not contain any actual code. Method calls to Android classes from the unit test throw an exception. This is to make sure you test only your code and don t depend on any particular behaviour of the Android platform This can be changed by mocking.

19 Mocking an object To add a mock object to a local unit test: 1. Include the Mockito library dependency in build.gradle 2. At the beginning of the unit test class definition, annotation. This annotation tells the Mockito test runner to validate that the usage of the framework is correct and simplifies the initialisation of mock objects. 3. To create a mock object for an Android dependency, add annotation before the field declaration. 4. To stub the behaviour of the dependency, specify a condition and return value when the condition is met by using the when() and thenreturn() methods. With Mockito, you can configure mock objects to return some specific value when invoked.

20 Importing Mockito Select the Dependencies tab at the top of the screen, click the + button; Select the org.mockito:mockito-core dependency and click OK; Repeat for Hamcrest, searching for hamcrest-junit and selecting org.hamcrest:hamcrest-junit

21 Example: a mock Context object import static org.hamcrest.matcherassert.assertthat; import static org.hamcrest.corematchers.*; import static org.mockito.mockito.*; import org.junit.test; import org.junit.runner.runwith; import org.mockito.mock; import org.mockito.runners.mockitojunitrunner; import public class UnitTestSample { private static final String FAKE_STRING = "HELLO Context public void readstringfromcontext_localizedstring() { // Given a mocked Context injected into the object under test... when(mmockcontext.getstring(r.string.hello_word)).thenreturn(fake_string); ClassUnderTest myobjectundertest = new ClassUnderTest(mMockContext); //...when the string is returned from the object under test... String result = myobjectundertest.gethelloworldstring(); //...then the result should be the expected one. assertthat(result, is(fake_string));

22 Creating a test class To write unit tests we use a testing framework. The framework makes it easier to write and run a suite of tests together and see their output in Android Studio. JUnit is used as a testing framework on Android and has convenient integrations into Android Studio. Create a JUnit tests class. In SoundViewModel.java type Ctrl+Shift+T to make Android Studio navigate to a test class associated with the current class. If there is no test class, we are given the option to create a new one. Unit tests go in folder test

23 Setting up the test

24 Writing tests A test class A mock BeatBox class public class SoundViewModelTest { private BeatBox mbeatbox; private Sound msound; private SoundViewModel public void setup() throws Exception { mbeatbox = mock(beatbox.class); msound = new Sound("assetPath"); msubject = new SoundViewModel(mBeatBox); Test subject Testing the title property public void setup() throws Exception { mbeatbox = mock(beatbox.class); msound = new Sound("assetPath"); msubject = new SoundViewModel(mBeatBox); public void exposessoundnameastitle() { assertthat(msubject.gettitle(), is(msound.getname()));

Testing on Android. Mobile Application Development. Jakob Mass MTAT Fall MTAT

Testing on Android. Mobile Application Development. Jakob Mass MTAT Fall MTAT Testing on Android Mobile Application Development MTAT.03.262 2017 Fall Jakob Mass jakob.mass@ut.ee Introduction. Perfect codewriting...or? Conventional (unit) Java testing with JUnit How is mobile/android

More information

Unit Testing. CS 240 Advanced Programming Concepts

Unit Testing. CS 240 Advanced Programming Concepts Unit Testing CS 240 Advanced Programming Concepts F-22 Raptor Fighter 2 F-22 Raptor Fighter Manufactured by Lockheed Martin & Boeing How many parts does the F-22 have? 3 F-22 Raptor Fighter What would

More information

android-espresso #androidespresso

android-espresso #androidespresso android-espresso #androidespresso Table of Contents About 1 Chapter 1: Getting started with android-espresso 2 Remarks 2 Examples 2 Espresso setup instructions 2 Checking an Options Menu items (using Spoon

More information

Project Design and Implementation Report VEHICULAR TRAFFIC ANALYTICS

Project Design and Implementation Report VEHICULAR TRAFFIC ANALYTICS Project Design and Implementation Report VEHICULAR TRAFFIC ANALYTICS Summary Map services, such as Google or Bing Maps, provide the user with a route planner to lead the user to arrive at a given destination.

More information

Checking Current Code Coverage

Checking Current Code Coverage Junit Tests Checking Current Code Coverage We use onap Sonar to track code coverage (sonar.onap.org) To see the appc coverage, click on the appc project on the front page (make sure you choose the most

More information

What is the Selendroid?

What is the Selendroid? When you publish an app to Google play, it must be well tested to avoid the potential bugs. There's a ton of test scenarios that should be executed before publishing an app. To save the testing effort,

More information

Create new Android project in Android Studio Add Button and TextView to layout Learn how to use buttons to call methods. Modify strings.

Create new Android project in Android Studio Add Button and TextView to layout Learn how to use buttons to call methods. Modify strings. Hello World Lab Objectives: Create new Android project in Android Studio Add Button and TextView to layout Learn how to use buttons to call methods. Modify strings.xml What to Turn in: The lab evaluation

More information

Chapter 1. Installation and Setup

Chapter 1. Installation and Setup Chapter 1. Installation and Setup Gradle ( Ant) HSQLDB Hibernate Core Project Hierarchy 1 / 18 Getting an Gradle Distribution Why do I care? Ant vs Maven vs Gradle How do I do that? http://www.gradle.org/

More information

Testing Your Android Applications

Testing Your Android Applications Testing Your Android Applications Alexander Nelson November 17th, 2017 University of Arkansas - Department of Computer Science and Computer Engineering The Problem Testing Advantages Testing your application

More information

Unit Testing & Testability

Unit Testing & Testability CMPT 473 Software Quality Assurance Unit Testing & Testability Nick Sumner - Fall 2014 Levels of Testing Recall that we discussed different levels of testing for test planning: Unit Tests Integration Tests

More information

White-box testing. Software Reliability and Testing - Barbara Russo SERG - Laboratory of Empirical Software Engineering.

White-box testing. Software Reliability and Testing - Barbara Russo SERG - Laboratory of Empirical Software Engineering. White-box testing Software Reliability and Testing - Barbara Russo SERG - Laboratory of Empirical Software Engineering Barbara Russo 1 White-box testing White-box testing is a verification technique that

More information

Software Engineering a.a Unit Tests for SpringMVC Prof. Luca Mainetti University of Salento

Software Engineering a.a Unit Tests for SpringMVC Prof. Luca Mainetti University of Salento Software Engineering a.a. 2017-2018 Unit Tests for SpringMVC Prof. University of Salento Junit - Introduction JUnit is the most popular Java Unit testing framework We typically work in large projects -

More information

XML Tutorial. NOTE: This course is for basic concepts of XML in line with our existing Android Studio project.

XML Tutorial. NOTE: This course is for basic concepts of XML in line with our existing Android Studio project. XML Tutorial XML stands for extensible Markup Language. XML is a markup language much like HTML used to describe data. XML tags are not predefined in XML. We should define our own Tags. Xml is well readable

More information

Android Best Practices

Android Best Practices Android Best Practices Agenda Introduction The clean architecture Testing Support library Libraries we can depend on What's next Introduction Introduction Android Studio Gradle Material Design Lollipop

More information

Junit Overview. By Ana I. Duncan

Junit Overview. By Ana I. Duncan Junit Overview By Ana I. Duncan 1 What Is Junit Why Junit, Why test? Junit Lifecycle Junit Examples from CM Other Testing frameworks Resources Before After Agenda 2 JUnit is a member of the xunit testing

More information

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

Hello World. Lesson 1. Create your first Android. Android Developer Fundamentals. Android Developer Fundamentals Hello World Lesson 1 1 1.1 Create Your First Android App 2 Contents Android Studio Creating "Hello World" app in Android Studio Basic app development workflow with Android Studio Running apps on virtual

More information

Topics covered. Introduction to JUnit JUnit: Hands-on session Introduction to Mockito Mockito: Hands-on session. JUnit & Mockito 2

Topics covered. Introduction to JUnit JUnit: Hands-on session Introduction to Mockito Mockito: Hands-on session. JUnit & Mockito 2 JUnit & Mockito 1 Topics covered Introduction to JUnit JUnit: Hands-on session Introduction to Mockito Mockito: Hands-on session JUnit & Mockito 2 Introduction to JUnit JUnit & Mockito 3 What is JUnit?

More information

Software Engineering Large Practical: Preferences, storage, and testing

Software Engineering Large Practical: Preferences, storage, and testing Software Engineering Large Practical: Preferences, storage, and testing Stephen Gilmore (Stephen.Gilmore@ed.ac.uk) School of Informatics November 9, 2016 Contents A simple counter activity Preferences

More information

Google Maps Troubleshooting

Google Maps Troubleshooting Google Maps Troubleshooting Before you go through the troubleshooting guide below, make sure that you ve consulted the class FAQ, Google s Map Activity Tutorial, as well as these helpful resources from

More information

Chapter 2 Welcome App

Chapter 2 Welcome App 2.8 Internationalizing Your App 1 Chapter 2 Welcome App 2.1 Introduction a. Android Studio s layout editor enables you to build GUIs using drag-and-drop techniques. b. You can edit the GUI s XML directly.

More information

Unit Tes2ng Ac2vity. SWEN-261 Introduc2on to So3ware Engineering. Department of So3ware Engineering Rochester Ins2tute of Technology

Unit Tes2ng Ac2vity. SWEN-261 Introduc2on to So3ware Engineering. Department of So3ware Engineering Rochester Ins2tute of Technology Unit Tes2ng Ac2vity SWEN-261 Introduc2on to So3ware Engineering Department of So3ware Engineering Rochester Ins2tute of Technology Your activity for the Unit Testing lesson is to build tests for existing

More information

Installing. Download the O365 suite including OneDrive for Business: 1. Open the Google Play Store on your Android device

Installing. Download the O365 suite including OneDrive for Business: 1. Open the Google Play Store on your Android device Mobile Microsoft OneDrive for Business is a part of Office 365 (O365) and is your private professional document library, it uses O365 to store your work files in the cloud and is designed to make working

More information

Agenda. Overview of Xamarin and Xamarin.Android Xamarin.Android fundamentals Creating a detail screen

Agenda. Overview of Xamarin and Xamarin.Android Xamarin.Android fundamentals Creating a detail screen Gill Cleeren Agenda Overview of Xamarin and Xamarin.Android Xamarin.Android fundamentals Creating a detail screen Lists and navigation Navigating from master to detail Optimizing the application Preparing

More information

Unit testing basics & more...

Unit testing basics & more... Unit testing basics & more... by Papapetrou P.Patroklos Twitter hashtag : Thessaloniki Java Meetup - December 2014 Agenda Unit testing introduction Differences with other types of tests Key concepts Rules

More information

SWE 434 Software Testing and Validation

SWE 434 Software Testing and Validation Research Group (Practical Labs) 1 SWE 434 and Validation Testing Methods using JUnit Lab material Courtesy: Dr. M. Shamim Hossain (SWE Department, King Saud University) and Prof. Alan Some (University

More information

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology Mobile Application Development Produced by David Drohan (ddrohan@wit.ie) Department of Computing & Mathematics Waterford Institute of Technology http://www.wit.ie Android Google Services" Part 1 Google+

More information

South Africa

South Africa South Africa 2013 Lecture 8: Accessing the Web andunittests http://aiti.mit.edu Interacting with the Web How to Access Web Content 1. Give your app permission to access the web 2. Open a connection to

More information

Test-Driven Development JUnit

Test-Driven Development JUnit Test-Driven Development JUnit Click to edit Master EECS text 2311 styles - Software Development Project Second level Third level Fourth level Fifth level Wednesday, January 18, 2017 1 Simulator submission

More information

Android Studio is google's official IDE(Integrated Development Environment) for Android Developers.

Android Studio is google's official IDE(Integrated Development Environment) for Android Developers. Android Studio - Hello World Objectives: In this tutorial you will learn how to create your first mobile app using Android Studio. At the end of this session you will be able to: Create Android Project.

More information

Android. Lesson 1. Introduction. Android Developer Fundamentals. Android Developer Fundamentals. to Android 1

Android. Lesson 1. Introduction. Android Developer Fundamentals. Android Developer Fundamentals. to Android 1 Android Lesson 1 1 1 1.0 to Android 2 Contents Android is an ecosystem Android platform architecture Android Versions Challenges of Android app development App fundamentals 3 Android Ecosystem 4 What is

More information

Testing with JUnit 1

Testing with JUnit 1 Testing with JUnit 1 What are we doing here? Learning the mechanics of how to write tests in Java using JUnit Without considering issues like coverage Using JUnit is sometimes called unit testing Unit

More information

Embracing. with. Noopur Gupta. Eclipse JDT co-lead. IBM

Embracing. with. Noopur Gupta. Eclipse JDT co-lead. IBM Embracing Noopur Gupta Eclipse JDT co-lead IBM India with noopur_gupta@in.ibm.com @noopur2507 1 JUnit Framework JUnit 4.0 Released in 2006 JUnit 5.0 Released in September 2017 The top 20 Java libraries

More information

Appium mobile test automation

Appium mobile test automation Appium mobile test automation for Google Android and Apple ios Last updated: 10 July 2017 Pepgo Limited, 71-75 Shelton Street, Covent Garden, London, WC2H 9JQ, United Kingdom Contents About this document...

More information

Test automation / JUnit. Building automatically repeatable test suites

Test automation / JUnit. Building automatically repeatable test suites Test automation / JUnit Building automatically repeatable test suites Test automation n Test automation is software that automates any aspect of testing n Generating test inputs and expected results n

More information

Test automation Test automation / JUnit

Test automation Test automation / JUnit Test automation Test automation / JUnit Building automatically repeatable test suites Test automation is software that automates any aspect of testing Generating test inputs and expected results Running

More information

Java Training Center - Android Application Development

Java Training Center - Android Application Development Java Training Center - Android Application Development Android Syllabus and Course Content (3 months, 2 hour Daily) Introduction to Android Android and it's feature Android releases and Versions Introduction

More information

Basic Keywords Practice Session

Basic Keywords Practice Session Basic Keywords Practice Session Introduction In this article from my free Java 8 course, we will apply what we learned in my Java 8 Course Introduction to our first real Java program. If you haven t yet,

More information

In order to update you will have to uninstall the current version and install the newer version using the same procedure.

In order to update you will have to uninstall the current version and install the newer version using the same procedure. Installing the 3M Cloud Library app on your Kindle Fire DISCLAIMER These instructions are to be used as a reference only. Please note that by downloading the 3M Cloud Library app you assume all risk of

More information

Android Developer Nanodegree Syllabus

Android Developer Nanodegree Syllabus Before You Start This program is aimed at developers with 1-2 years of experience programming in Java or another object-oriented programming language like Python or C#. If you don t have this experience,

More information

Test-Driven Development JUnit

Test-Driven Development JUnit Test-Driven Development JUnit Click to edit Master EECS text 2311 styles - Software Development Project Second level Third level Fourth level Fifth level Wednesday, January 24, 2018 1 Unit Testing Testing

More information

Unit Testing Activity

Unit Testing Activity Unit Testing Activity SWEN-261 Introduction to Software Engineering Department of Software Engineering Rochester Institute of Technology Your activity for the Unit Testing lesson is to build tests for

More information

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology Mobile Application Development Produced by David Drohan (ddrohan@wit.ie) Department of Computing & Mathematics Waterford Institute of Technology http://www.wit.ie Android Google Services" Part 1 Google+

More information

Lab Android Development Environment

Lab Android Development Environment Lab Android Development Environment Setting up the ADT, Creating, Running and Debugging Your First Application Objectives: Familiarize yourself with the Android Development Environment Important Note:

More information

Manual Android Virtual Device Failed To Load Click Details

Manual Android Virtual Device Failed To Load Click Details Manual Android Virtual Device Failed To Load Click Details i am new to android 1_i am not able to see any option after clicking on 'run as' an android virtual device that failed to load.click 'details''.i

More information

Course Syllabus. Course Title. Who should attend? Course Description. Android ( Level 1 )

Course Syllabus. Course Title. Who should attend? Course Description. Android ( Level 1 ) Course Title Android ( Level 1 ) Course Description Android is a Free and open source operating system designed primarily for smart phones and tablets and can be used for TVs, cars and others. It is based

More information

Android Essentials with Java

Android Essentials with Java Android Essentials with Java Before You Program o Exercise in algorithm generation Getting Started o Using IntelliJ CE Using Variables and Values o Store data in typed variables Static Methods o Write

More information

Unit Testing and JUnit

Unit Testing and JUnit Unit Testing and JUnit Moinul Hossain CS 791Z 03/02/2015 Outline What is Software Testing? What and Why Unit Testing? JUnit JUnit features and Examples Test Driven Development (TDD) What is Software Testing?

More information

Android App Development

Android App Development Android App Development Outline Introduction Android Fundamentals Android Studio Tutorials Introduction What is Android? A software platform and operating system for mobile devices Based on the Linux kernel

More information

HCA Tech Note 120. Configuring the Control UI Home Page. Option 1: HCA constructs the home page

HCA Tech Note 120. Configuring the Control UI Home Page. Option 1: HCA constructs the home page Configuring the Control UI Home Page HCA contains two different user interfaces: One interface called the Development UI - where all design elements and tools are available and you can make changes, and

More information

Introduction to Software Engineering: Tools and Environments. Session 5. Oded Lachish

Introduction to Software Engineering: Tools and Environments. Session 5. Oded Lachish Introduction to Software Engineering: Tools and Environments Session 5 Oded Lachish Room: Mal 405 Visiting Hours: Wednesday 17:00 to 20:00 Email: oded@dcs.bbk.ac.uk Module URL: http://www.dcs.bbk.ac.uk/~oded/tools2012-2013/web/tools2012-2013.html

More information

Unit Testing. SWEN-610 Foundations of Software Engineering. Department of Software Engineering Rochester Institute of Technology

Unit Testing. SWEN-610 Foundations of Software Engineering. Department of Software Engineering Rochester Institute of Technology Unit Testing SWEN-610 Foundations of Software Engineering Department of Software Engineering Rochester Institute of Technology There are many levels of software testing. The developer of the software has

More information

SD Module-1 Android Dvelopment

SD Module-1 Android Dvelopment SD Module-1 Android Dvelopment Experiment No: 05 1.1 Aim: Download Install and Configure Android Studio on Linux/windows platform. 1.2 Prerequisites: Microsoft Windows 10/8/7/Vista/2003 32 or 64 bit Java

More information

Mobile Application Development

Mobile Application Development Android Native Application Development Mobile Application Development 1. Android Framework and Android Studio b. Android Software Layers c. Android Libraries d. Components of an Android Application e.

More information

TalkToMe: A beginner App Inventor app

TalkToMe: A beginner App Inventor app TalkToMe: A beginner App Inventor app This step-by-step picture tutorial will guide you through making a talking app. To get started, sign up for a free Google Account: http://accounts.google.com/signup

More information

Lab - Working with Android

Lab - Working with Android Introduction In this lab, you will place apps and widgets on the home screen and move them between different screens. You will also create folders. Finally, you will install and uninstall apps from the

More information

JUnit Programming Cookbook. JUnit Programming Cookbook

JUnit Programming Cookbook. JUnit Programming Cookbook JUnit Programming Cookbook i JUnit Programming Cookbook JUnit Programming Cookbook ii Contents 1 Hello World Example 1 1.1 Setup JUnit Hello World Project........................................... 1 1.2

More information

Tutorial on OpenCV for Android Setup

Tutorial on OpenCV for Android Setup Tutorial on OpenCV for Android Setup EE368/CS232 Digital Image Processing, Winter 2018 Introduction In this tutorial, we will learn how to install OpenCV for Android on your computer and how to build Android

More information

Pemrograman Mobile. Lesson 1. Introduction to Android. Create Your First Android App. Nizar Rabbi Radliya

Pemrograman Mobile. Lesson 1. Introduction to Android. Create Your First Android App. Nizar Rabbi Radliya Pemrograman Mobile Lesson 1 3 SKS Semester 7 S1 Sistem Informasi Nizar Rabbi Radliya nizar@email.unikom.ac.id Introduction to Android Create Your First Android App Mobile Device Mobile Platform/OS Windows

More information

Zello Quick Start Guide for Kyocera TORQUE

Zello Quick Start Guide for Kyocera TORQUE Zello Quick Start Guide for Kyocera TORQUE Install Zello Tap Zello in your apps screen then tap UPDATE to start install. When you miss Zello icon in your TORQUE, please search for Zello in Google Play

More information

Enabling Mobile Automation Testing using Open Source Tools

Enabling Mobile Automation Testing using Open Source Tools 1 Enabling Mobile Automation Testing using Open Source Tools Prepared by:indium Software India Ltd Name Title:Alka Arya Quality Analyst Introduction The mobile phone has evolved from communication medium

More information

LarvaLight User Manual

LarvaLight User Manual LarvaLight User Manual LarvaLight is a simple tool enabling the user to succinctly specify monitors which trigger upon events of an underlying Java system, namely method calls and returns. If the events

More information

Testing Mobile Apps CS 4720 Mobile Application Development

Testing Mobile Apps CS 4720 Mobile Application Development Testing Mobile Apps Mobile Application Development Testing! The most important thing we never teach you to do! Consider how most projects go in your undergrad career: Requirements elicitation? We give

More information

Android App Development. Mr. Michaud ICE Programs Georgia Institute of Technology

Android App Development. Mr. Michaud ICE Programs Georgia Institute of Technology Android App Development Mr. Michaud ICE Programs Georgia Institute of Technology Android Operating System Created by Android, Inc. Bought by Google in 2005. First Android Device released in 2008 Based

More information

Copyright

Copyright 1 Overview: Mobile APPS Categories Types Distribution/Installation/Logs Mobile Test Industry Standards Remote Device Access (RDA) Emulators Simulators Troubleshooting Guide App Risk Analysis 2 Mobile APPS:

More information

ATC Android Application Development

ATC Android Application Development ATC Android Application Development 1. Android Framework and Android Studio b. Android Platform Architecture i. Linux Kernel ii. Hardware Abstraction Layer(HAL) iii. Android runtime iv. Native C/C++ Libraries

More information

ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012

ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012 ANDROID APPS (NOW WITH JELLY BEANS!) Jordan Jozwiak November 11, 2012 AGENDA Android v. ios Design Paradigms Setup Application Framework Demo Libraries Distribution ANDROID V. IOS Android $25 one-time

More information

Developing Android applications in Windows

Developing Android applications in Windows Developing Android applications in Windows Below you will find information about the components needed for developing Android applications and other (optional) software needed to connect to the institution

More information

(Refer Slide Time: 1:07)

(Refer Slide Time: 1:07) Mobile Computing Professor Pushpedra Singh Indraprasth Institute of Information Technology Delhi Andriod Development Lecture 08 Hello, in this lecture we will deploy our application to an android phone.

More information

Nextiva Drive The Setup Process Mobility & Storage Option

Nextiva Drive The Setup Process Mobility & Storage Option Nextiva Drive The Setup Process The Setup Process Adding Users 1. Login to your account and click on the Account icon at the top of the page (this is only visible to the administrator). 2. Click Create

More information

05. RecyclerView and Styles

05. RecyclerView and Styles 05. RecyclerView and Styles 08.03.2018 1 Agenda Intents Creating Lists with RecyclerView Creating Cards with CardView Application Bar Menu Styles and Themes 2 Intents 3 What is Intent? An Intent is an

More information

Android Application Development using Kotlin

Android Application Development using Kotlin Android Application Development using Kotlin 1. Introduction to Kotlin a. Kotlin History b. Kotlin Advantages c. How Kotlin Program Work? d. Kotlin software Prerequisites i. Installing Java JDK and JRE

More information

Step 1 Turn on the device and log in with the password, PIN, or other passcode, if necessary.

Step 1 Turn on the device and log in with the password, PIN, or other passcode, if necessary. Working with Android Introduction In this lab, you will place apps and widgets on the home screen and move them between different home screens. You will also create folders to which apps will be added

More information

Unit Testing. SWEN-261 Introduction to Software Engineering. Department of Software Engineering Rochester Institute of Technology

Unit Testing. SWEN-261 Introduction to Software Engineering. Department of Software Engineering Rochester Institute of Technology Unit Testing SWEN-261 Introduction to Software Engineering Department of Software Engineering Rochester Institute of Technology There are many levels of software testing. The developer of the software

More information

Table of contents. 2 Samsung Care. 3 Know Your Device. 5 S Pen. 7 Device Setup. 12 Home Screen. 18 Apps. 19 Calls. 20 Voic .

Table of contents. 2 Samsung Care. 3 Know Your Device. 5 S Pen. 7 Device Setup. 12 Home Screen. 18 Apps. 19 Calls. 20 Voic . Table of contents 2 Samsung Care 3 Know Your Device 5 S Pen 7 Device Setup 12 Home Screen 18 Apps 19 Calls 20 Voicemail 21 Contacts 22 Messages 24 Camera 25 Internet 26 Connections 27 Security Samsung

More information

Programmieren II. Unit Testing & Test-Driven Development. Alexander Fraser.

Programmieren II. Unit Testing & Test-Driven Development. Alexander Fraser. Programmieren II Unit Testing & Test-Driven Development Alexander Fraser fraser@cl.uni-heidelberg.de (Based on material from Lars Vogel and T. Bögel) July 2, 2014 1 / 62 Outline 1 Recap 2 Testing - Introduction

More information

University of Stirling Computing Science Telecommunications Systems and Services CSCU9YH: Android Practical 1 Hello World

University of Stirling Computing Science Telecommunications Systems and Services CSCU9YH: Android Practical 1 Hello World University of Stirling Computing Science Telecommunications Systems and Services CSCU9YH: Android Practical 1 Hello World Before you do anything read all of the following red paragraph! For this lab you

More information

Comprehensive AngularJS Programming (5 Days)

Comprehensive AngularJS Programming (5 Days) www.peaklearningllc.com S103 Comprehensive AngularJS Programming (5 Days) The AngularJS framework augments applications with the "model-view-controller" pattern which makes applications easier to develop

More information

ScanKey. User s Manual Version: Page 1 of 19

ScanKey. User s Manual Version: Page 1 of 19 ScanKey User s Manual Version: 2014.1 Page 1 of 19 Table of Contents Chapter 1 - Installation... 3 1-1 Installation Precautions...3 1-2 Security Setup...4 1-3 Installing ScanKey...5 Chapter 2 Operation...

More information

Testing on Steriods EECS /30

Testing on Steriods EECS /30 1/30 Testing on Steriods EECS 4315 www.eecs.yorku.ca/course/4315/ How to test code? 2/30 input code output Provide the input. Run the code. Compare the output with the expected output. White box testing

More information

Lab 6: Google Maps Android API v2 Android Studio 10/14/2016

Lab 6: Google Maps Android API v2 Android Studio 10/14/2016 Lab 6: Google Maps Android API v2 Android Studio 10/14/2016 One of the defining features of mobile phones is their portability. It's not surprising that some of the most enticing APIs are those that enable

More information

INTRODUCTION TO JAVA PROGRAMMING JAVA FUNDAMENTALS PART 2

INTRODUCTION TO JAVA PROGRAMMING JAVA FUNDAMENTALS PART 2 INTRODUCTION TO JAVA PROGRAMMING JAVA FUNDAMENTALS PART 2 Table of Contents Introduction to JUnit 4 What is a Test Driven approach? 5 The benefits of a Test Driven Approach 6 What is Continuous Integration?

More information

Guide to fix the problem with Problets

Guide to fix the problem with Problets Guide to fix the problem with Problets COP 2512 - IT Programming Fundamentals In order to fix the problem of not being able to run Problets on your web browser, please follow the following steps: 1. Make

More information

Axon Capture for Android Devices User Manual

Axon Capture for Android Devices User Manual Axon Capture for Android Devices User Manual Document Revision: E Product functions and specifications may change without notice and the actual product may vary from the illustrations in this manual. Google,

More information

Software Engineering I (02161)

Software Engineering I (02161) Software Engineering I (02161) Week 3 Assoc. Prof. Hubert Baumeister DTU Compute Technical University of Denmark Spring 2016 Recap Requirements Engineering functional / non-functional requirements Elicitation,

More information

Testing. Topics. Types of Testing. Types of Testing

Testing. Topics. Types of Testing. Types of Testing Topics 1) What are common types of testing? a) Testing like a user: through the UI. b) Testing like a dev: through the code. 2) What makes a good bug report? 3) How can we write code to test code (via

More information

Syllabus- Java + Android. Java Fundamentals

Syllabus- Java + Android. Java Fundamentals Introducing the Java Technology Syllabus- Java + Android Java Fundamentals Key features of the technology and the advantages of using Java Using an Integrated Development Environment (IDE) Introducing

More information

Pieter van den Hombergh Stefan Sobek. April 18, 2018

Pieter van den Hombergh Stefan Sobek. April 18, 2018 Pieter van den Hombergh Stefan Sobek Fontys Hogeschool voor Techniek en Logistiek April 18, 2018 /FHTenL April 18, 2018 1/13 To mock or not to mock In many cases, a class (system under test or SUT) does

More information

Lab #1: A Quick Introduction to the Eclipse IDE

Lab #1: A Quick Introduction to the Eclipse IDE Lab #1: A Quick Introduction to the Eclipse IDE Eclipse is an integrated development environment (IDE) for Java programming. Actually, it is capable of much more than just compiling Java programs but that

More information

IGEEKS TECHNOLOGIES. Software Training Division. Academic Live Projects For BE,ME,MCA,BCA and PHD Students

IGEEKS TECHNOLOGIES. Software Training Division. Academic Live Projects For BE,ME,MCA,BCA and PHD Students Duration:40hours IGEEKS TECHNOLOGIES Software Training Division Academic Live Projects For BE,ME,MCA,BCA and PHD Students IGeekS Technologies (Make Final Year Project) No: 19, MN Complex, 2nd Cross, Sampige

More information

Mock Objects and the Mockito Testing Framework Carl Veazey CSCI Friday, March 23, 12

Mock Objects and the Mockito Testing Framework Carl Veazey CSCI Friday, March 23, 12 Mock Objects and the Mockito Testing Framework Carl Veazey CSCI 5828 Introduction Mock objects are a powerful testing pattern for verifying the behavior and interactions of systems. This presentation aims

More information

BSCS 514- Computer Graphics. Course Supervisor : Dr. Humera Tariq Hands on Lab Sessions: Mr. Faraz Naqvi

BSCS 514- Computer Graphics. Course Supervisor : Dr. Humera Tariq Hands on Lab Sessions: Mr. Faraz Naqvi BSCS 514- Computer Graphics Course Supervisor : Dr. Humera Tariq Hands on Lab Sessions: Mr. Faraz Naqvi Lab 01 Running your First App on Android to Handle Text and Images Content Android studio setup Creating

More information

Tutorial on OpenCV for Android Setup

Tutorial on OpenCV for Android Setup Tutorial on OpenCV for Android Setup EE368/CS232 Digital Image Processing, Winter 2019 Introduction In this tutorial, we will learn how to install OpenCV for Android on your computer and how to build Android

More information

Firebase Essentials. Android Edition

Firebase Essentials. Android Edition Firebase Essentials Android Edition Firebase Essentials Android Edition First Edition 2017 Neil Smyth / Payload Media, Inc. All Rights Reserved. This book is provided for personal use only. Unauthorized

More information

Xamarin for C# Developers

Xamarin for C# Developers Telephone: 0208 942 5724 Email: info@aspecttraining.co.uk YOUR COURSE, YOUR WAY - MORE EFFECTIVE IT TRAINING Xamarin for C# Developers Duration: 5 days Overview: C# is one of the most popular development

More information

Installation Instructions

Installation Instructions Installation Instructions Reading App Builder: Installation Instructions 2017, SIL International Last updated: 1 December 2017 You are free to print this manual for personal use and for training workshops.

More information

Required Core Java for Android application development

Required Core Java for Android application development Required Core Java for Android application development Introduction to Java Datatypes primitive data types non-primitive data types Variable declaration Operators Control flow statements Arrays and Enhanced

More information

Axon Capture for Android Devices User Manual

Axon Capture for Android Devices User Manual Axon Capture for Android Devices User Manual IMPORTANT SAFETY INSTRUCTIONS Read all warnings and instructions. Save these instructions. The most up-to-date warnings and instructions are available at www.taser.com

More information

Software Development Tools. COMP220/COMP285 Sebastian Coope Eclipse and JUnit: Creating and running a JUnit test case

Software Development Tools. COMP220/COMP285 Sebastian Coope Eclipse and JUnit: Creating and running a JUnit test case Software Development Tools COMP220/COMP285 Sebastian Coope Eclipse and JUnit: Creating and running a JUnit test case These slides are mainly based on Java Development with Eclipse D.Gallardo et al., Manning

More information

Accession Communicator for Mobile

Accession Communicator for Mobile Accession Communicator for Mobile Quick Start Guide ACCESSION COMMUNICATOR FOR MOBILE Your AireSpring phone service can be used to make or receive calls from your desk phone, your PC or MAC, and your mobile

More information

Annotations in Java (JUnit)

Annotations in Java (JUnit) Annotations in Java (JUnit) Produced by: Eamonn de Leastar (edeleastar@wit.ie) Dr. Siobhán Drohan (sdrohan@wit.ie) Department of Computing and Mathematics http://www.wit.ie/ What are Annotations? They

More information