Overview. Android Apps (Partner s App) Other Partner s App Platform. Samsung Health. Server SDK. Samsung Health. Samsung Health Server

Size: px
Start display at page:

Download "Overview. Android Apps (Partner s App) Other Partner s App Platform. Samsung Health. Server SDK. Samsung Health. Samsung Health Server"

Transcription

1 W E L C O M E T O

2

3 Overview Android Apps (Partner s App) Data Service Health Android SDK Android API Samsung Health Samsung Health Server SDK Data REST API Oauth2 Other Partner s App Platform REST API BLE Devices (Partner s Accessories) BLE GATT Health Data Store Data Sync (Samsung Account) Samsung Health Server BLE Health Device SDK Health Data Store

4 Android SDK SDK Download App Development Apps and Services Test Apply for Partner Apps Partner App approval Samsung Health SDK Publish your Application

5 Android SDK - Data Prerequisite Android 4.4 KitKat (API level 19) or above. Download and install Health SDK Library Android smartphones including non- Samsung devices. A partner app runs with Samsung Health 4.0 or higher. Turn on Developer mode in Samsung Health App

6 Android SDK - Data Health Data Service Initialization HealthDataService healthdataservice = new HealthDataService(); try { healthdataservice.initialize(this); catch (Exception e) { e.printstacktrace(); Health Data Store Connection // Create a HealthDataStore instance and set its listener mstore = new HealthDataStore(this, mconnectionlistener); // Request the connection to the health data store mstore.connectservice(); You can end the health data store connection when the activity is destroyed. public void ondestroy() { mstore.disconnectservice(); super.ondestroy();

7 Android SDK - Data Set the listener onconnected(); onconnection Failed(); ondisconnected(); Connection Failed Handler // Create a HealthDataStore instance and set its listener mstore = new HealthDataStore(this, mconnectionlistener); private final HealthDataStore.ConnectionListener mconnectionlistener = new HealthDataStore.ConnectionListener() public void onconnected() { Log.d(APP_TAG, "Health data service is connected."); mreporter = new StepCountReporter(mStore); if (ispermissionacquired()) { mreporter.start(mstepcountobserver); else { public void onconnectionfailed(healthconnectionerrorresult error) { Log.d(APP_TAG, "Health data service is not available."); showconnectionfailuredialog(error); public void ondisconnected() { Log.d(APP_TAG, "Health data service is disconnected."); if (!isfinishing()) { mstore.connectservice();

8 Handle the connection error The connection to the health data store can fail and you can check its error result in onconnectionfailed(). If there is an error, an application checks whether the health framework provides a solution with hasresolution() and calls resolve(). If the health framework provides its solution, resolve() makes an application move to one of the following page without a dialog message: - App market s Samsung Health page to install or update it. - Device s Settings page to make Samsung Health available. - Samsung Health user s agreement page. An application needs to show a proper message for each error case and call resolve(). Android SDK - Data private void showconnectionfailuredialog(final HealthConnectionErrorResult error) { AlertDialog.Builder alert = new AlertDialog.Builder(this); if (error.hasresolution()) { switch (error.geterrorcode()) { case HealthConnectionErrorResult.PLATFORM_NOT_INSTALLED: alert.setmessage(r.string.msg_req_install); break; case HealthConnectionErrorResult.OLD_VERSION_PLATFORM: alert.setmessage(r.string.msg_req_upgrade); break; case HealthConnectionErrorResult.PLATFORM_DISABLED: alert.setmessage(r.string.msg_req_enable); break; case HealthConnectionErrorResult.USER_AGREEMENT_NEEDED: alert.setmessage(r.string.msg_req_agree); break; default: alert.setmessage(r.string.msg_req_available); break; else { alert.setmessage(r.string.msg_conn_not_available); alert.setpositivebutton(r.string.ok, (dialog, id) -> { if (error.hasresolution()) { error.resolve(mainactivity.this); ); if (error.hasresolution()) { alert.setnegativebutton(r.string.cancel, null); alert.show();

9 Android SDK - Data Check Permission Upon service connection, you may need to check if the required permission acquired from user or public void onconnected() { Log.d(APP_TAG, "Health data service is connected."); mreporter = new StepCountReporter(mStore); if (ispermissionacquired()) { mreporter.start(mstepcountobserver); else { requestpermission(); Request permission method, to be called when required permission is not acquired. private boolean ispermissionacquired() { PermissionKey permkey = new PermissionKey(HealthConstants.StepCount.HEALTH_DATA_TYPE, PermissionType.READ); HealthPermissionManager pmsmanager = new HealthPermissionManager(mStore); try { // Check whether the permissions that this application needs are acquired Map<PermissionKey, Boolean> resultmap = pmsmanager.ispermissionacquired(collections.singleton(permkey)); return resultmap.get(permkey); catch (Exception e) { Log.e(APP_TAG, "Permission request fails.", e); return false;

10 Setup Permission Set meta-data in Android manifest Android SDK - Data <application> <meta-data android:name="com.samsung.android.health.permission.read" android:value="com.samsung.health.step_count" /> </application> Build permission request method *you can use: HashSet<permissionKey>() for multiple permission request requestpermission method should be called after service connected: onconnected() only if permission is not acquired setresultlistener and Handle it. private void requestpermission() { PermissionKey permkey = new PermissionKey(HealthConstants.StepCount.HEALTH_DATA_TYPE, PermissionType.READ); HealthPermissionManager pmsmanager = new HealthPermissionManager(mStore); try { // Show user permission UI for allowing user to change options pmsmanager.requestpermissions(collections.singleton(permkey), MainActivity.this).setResultListener(result -> { Log.d(APP_TAG, "Permission callback is received."); Map<PermissionKey, Boolean> resultmap = result.getresultmap(); if (resultmap.containsvalue(boolean.false)) { updatestepcountview(""); showpermissionalarmdialog(); else { // Get the current step count and display it mreporter.start(mstepcountobserver); ); catch (Exception e) { Log.e(APP_TAG, "Permission setting fails.", e);

11 Android SDK - Data Let s everything together

12 Android SDK - Service Prerequisite Android 4.4 KitKat (API Level 19) or above. Android smartphones including non- Samsung devices. Download and install Health SDK Library *in most case you may need to load Samsung Health Data library as well Samsung Health's partner app runs with Samsung Health 4.0 or above. Turn on Developer mode in Samsung Health App

13 Android SDK - Service private static final String STORE_URL = "market://details?id=com.sec.android.app.shealth"; Health Data Service Initialization Shealth shealth = new Shealth(); try { shealth.initialize(this); Check Feature availability if (shealth.isfeatureenabled(shealth.feature_tracker_tile, Shealth.FEATURE_TRACKER_LAUNCH_EXTENDED)) { mtrackermanager = new TrackerManager(this); mtrackertilemanager = new TrackerTileManager(this); else { Log.d(LOG_TAG, "SHealth should be upgraded"); Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(STORE_URL)); this.startactivity(intent); finish(); return; catch (IllegalStateException e) { Log.e(LOG_TAG, e.tostring()); Toast.makeText(this, e.tostring(), Toast.LENGTH_LONG).show(); finish(); return; catch (IllegalArgumentException e) { Log.e(LOG_TAG, e.tostring()); Toast.makeText(this, e.tostring(), Toast.LENGTH_LONG).show(); finish(); return;

14 Android SDK - Service Create Tracker Manager try { mtrackermanager = new TrackerManager(this); catch (IllegalArgumentException e) { Create a TrackerManager's instance first. Launching the Samsung Health's tracker is supported in Samsung Health 4.8 or above. Log.e(LOG_TAG, e.tostring()); Toast.makeText(this, e.tostring(), Toast.LENGTH_LONG).show(); finish(); return; Get Tracker Info The interesting tracker's information can be retrieved by TrackerManager. Check the tracker's availability also. TrackerInfo trackerinfo = mtrackermanager.gettrackerinfo(trackermanager.trackerid.water); if(trackerinfo == null) { Log.d(APP_TAG, "trackerinfo == null"); return null; if(trackerinfo.isavailable() == false) { Log.d(APP_TAG, "trackerinfo is not available."); return null; return trackerinfo; Retrieve Tracker Info ((ImageView)findViewById(R.id.water_icon_img)).setImageDrawable(trackerInfo.getIcon()); ((TextView)findViewById(R.id.water_service_name)).setText(trackerInfo.getDisplayName());

15 Android SDK - Service Launching available Tracker If the tracker is available, you can launch it. try { mtrackermanager.startactivity((activity)v.getcontext(), TrackerManager.TrackerId.WATER, TrackerManager.Destination.TRACK); catch (IllegalArgumentException e) { Toast.makeText(getApplicationContext(), e.tostring(), Toast.LENGTH_SHORT).show(); catch (IllegalStateException e) { Toast.makeText(getApplicationContext(), e.tostring(), Toast.LENGTH_SHORT).show();

16 Posting Your App's Tracker If you cannot find a wanted tracker on Samsung Health, you can define your app's own tracker. Manifest for Tracker Definition Android SDK - Service <?xml version="1.0" encoding="utf-8"?> <resources> <string name="sample_tracker_manifest"> { \"tracker\" : { \"id\" : \"tracker.sample\", \"display-name\" : \"tracker_display_name\", \"icon\" : \"tracker_icon\", \"controller\" : \"local.sapl.dev.shealth.service.mytracker\" </string> </resources> Plugin Service Declaration and Registration of Plugin Service Plugin service must be declared in the app s manifest from Android Oreo (API Level 26). Use your app s package name in the android authorities. <provider android:name="com.samsung.android.sdk.shealth.plugincontentprovider" android:authorities="com.samsung.android.app.sampleservice.pluginservice" android:exported="true"> </provider> <service android:name="com.samsung.android.sdk.shealth.pluginservice" android:exported="true" > <meta-data android:name="tracker.sample" android:value="@string/sample_tracker_manifest"/> </service> android:name - the tracker ID of the tracker manifest file. android:value - the resource name of the tracker manifest file.

17 Android SDK - Service Handling Event from Samsung Health Creating a TrackerTileManager's Instance Creating Tracker Tile's Intent Let s everything together Posting a Tracker Tile Updating the Posted Tracker Tile

18

Android System Architecture. Android Application Fundamentals. Applications in Android. Apps in the Android OS. Program Model 8/31/2015

Android System Architecture. Android Application Fundamentals. Applications in Android. Apps in the Android OS. Program Model 8/31/2015 Android System Architecture Android Application Fundamentals Applications in Android All source code, resources, and data are compiled into a single archive file. The file uses the.apk suffix and is used

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

Android permissions Defining and using permissions Component permissions and related APIs

Android permissions Defining and using permissions Component permissions and related APIs Android permissions Defining and using permissions Component permissions and related APIs Permissions protects resources and data For instance, they limit access to: User information e.g, Contacts Cost-sensitive

More information

Q.1 Explain the dialog and also explain the Demonstrate working dialog in android.

Q.1 Explain the dialog and also explain the Demonstrate working dialog in android. Q.1 Explain the dialog and also explain the Demonstrate working dialog in android. - A dialog is a small window that prompts the user to make a decision or enter additional information. - A dialog does

More information

Writing Efficient Drive Apps for Android. Claudio Cherubino / Alain Vongsouvanh Google Drive Developer Relations

Writing Efficient Drive Apps for Android. Claudio Cherubino / Alain Vongsouvanh Google Drive Developer Relations Writing Efficient Drive Apps for Android Claudio Cherubino / Alain Vongsouvanh Google Drive Developer Relations Raise your hand if you use Google Drive source: "put your hands up!" (CC-BY) Raise the other

More information

Wireless Vehicle Bus Adapter (WVA) Android Library Tutorial

Wireless Vehicle Bus Adapter (WVA) Android Library Tutorial Wireless Vehicle Bus Adapter (WVA) Android Library Tutorial Revision history 90001431-13 Revision Date Description A October 2014 Original release. B October 2017 Rebranded the document. Edited the document.

More information

Chapter 5 Defining the Manifest

Chapter 5 Defining the Manifest Introduction to Android Application Development, Android Essentials, Fifth Edition Chapter 5 Defining the Manifest Chapter 5 Overview Use the Android manifest file for configuring Android applications

More information

Activities. https://developer.android.com/guide/components/activities.html Repo: https://github.com/karlmorris/basicactivities

Activities. https://developer.android.com/guide/components/activities.html Repo: https://github.com/karlmorris/basicactivities Activities https://developer.android.com/guide/components/activities.html Repo: https://github.com/karlmorris/basicactivities Overview What is an Activity Starting and stopping activities The Back Stack

More information

Services. Marco Ronchetti Università degli Studi di Trento

Services. Marco Ronchetti Università degli Studi di Trento 1 Services Marco Ronchetti Università degli Studi di Trento Service An application component that can perform longrunning operations in the background and does not provide a user interface. So, what s

More information

Release Notes Cordova Plugin for Samsung Developers

Release Notes Cordova Plugin for Samsung Developers reception.van@samsung.com Release Notes Cordova Plugin for Samsung Developers Version 1.5 May 2016 Copyright Notice Copyright 2016 Samsung Electronics Co. Ltd. All rights reserved. Samsung is a registered

More information

register/unregister for Intent to be activated if device is within a specific distance of of given lat/long

register/unregister for Intent to be activated if device is within a specific distance of of given lat/long stolen from: http://developer.android.com/guide/topics/sensors/index.html Locations and Maps Build using android.location package and google maps libraries Main component to talk to is LocationManager

More information

UNDERSTANDING ACTIVITIES

UNDERSTANDING ACTIVITIES Activities Activity is a window that contains the user interface of your application. An Android activity is both a unit of user interaction - typically filling the whole screen of an Android mobile device

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

Hybrid Apps Combining HTML5 + JAVASCRIPT + ANDROID

Hybrid Apps Combining HTML5 + JAVASCRIPT + ANDROID Hybrid Apps Combining HTML5 + JAVASCRIPT + ANDROID Displaying Web Page For displaying web page, two approaches may be adopted: 1. Invoke browser application: In this case another window out side app will

More information

Android Fundamentals - Part 1

Android Fundamentals - Part 1 Android Fundamentals - Part 1 Alexander Nelson September 1, 2017 University of Arkansas - Department of Computer Science and Computer Engineering Reminders Projects Project 1 due Wednesday, September 13th

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

INTRODUCTION TO ANDROID

INTRODUCTION TO ANDROID INTRODUCTION TO ANDROID 1 Niv Voskoboynik Ben-Gurion University Electrical and Computer Engineering Advanced computer lab 2015 2 Contents Introduction Prior learning Download and install Thread Android

More information

CQ Beacon Android SDK V2.0.1

CQ Beacon Android SDK V2.0.1 Copyright 2014 ConnectQuest, LLC 1 CQ Beacon Android SDK V2.0.1 Software Requirements: Android 4.3 or greater SDK Support Page: http://www.connectquest.com/app- developers/android- api/ The CQ SDK package

More information

EMBEDDED SYSTEMS PROGRAMMING Application Basics

EMBEDDED SYSTEMS PROGRAMMING Application Basics EMBEDDED SYSTEMS PROGRAMMING 2015-16 Application Basics APPLICATIONS Application components (e.g., UI elements) are objects instantiated from the platform s frameworks Applications are event driven ( there

More information

LECTURE 12 BROADCAST RECEIVERS

LECTURE 12 BROADCAST RECEIVERS MOBILE APPLICATION DEVELOPMENT LECTURE 12 BROADCAST RECEIVERS IMRAN IHSAN ASSISTANT PROFESSOR WWW.IMRANIHSAN.COM Application Building Blocks Android Component Activity UI Component Typically Corresponding

More information

Understand applications and their components. activity service broadcast receiver content provider intent AndroidManifest.xml

Understand applications and their components. activity service broadcast receiver content provider intent AndroidManifest.xml Understand applications and their components activity service broadcast receiver content provider intent AndroidManifest.xml Android Application Written in Java (it s possible to write native code) Good

More information

RUNTIME PERMISSIONS IN ANDROID 6.0 Lecture 10a

RUNTIME PERMISSIONS IN ANDROID 6.0 Lecture 10a RUNTIME PERMISSIONS IN ANDROID 6.0 Lecture 10a COMPSCI 702 Security for Smart-Devices Muhammad Rizwan Asghar March 20, 2018 2 ANDROID 6.0 A version of the Android mobile operating system officially released

More information

ACTIVITY, FRAGMENT, NAVIGATION. Roberto Beraldi

ACTIVITY, FRAGMENT, NAVIGATION. Roberto Beraldi ACTIVITY, FRAGMENT, NAVIGATION Roberto Beraldi Introduction An application is composed of at least one Activity GUI It is a software component that stays behind a GUI (screen) Activity It runs inside the

More information

Accelerating Information Technology Innovation

Accelerating Information Technology Innovation Accelerating Information Technology Innovation http://aiti.mit.edu India Summer 2012 Review Session Android and Web Working with Views Working with Views Create a new Android project. The app name should

More information

BITalino Java Application Programming Interface. Documentation Android API

BITalino Java Application Programming Interface. Documentation Android API BITalino Java Application Programming Interface Documentation Android API Contents Contents...2 1. General Information...3 2. Introduction...4 3. Main Objects...5 3.1.Class BITalinoDescription...5 3.2.Class

More information

Mobile Programming Practice Background processing AsynTask Service Broadcast receiver Lab #5

Mobile Programming Practice Background processing AsynTask Service Broadcast receiver Lab #5 1 Mobile Programming Practice Background processing AsynTask Service Broadcast receiver Lab #5 Prof. Hwansoo Han T.A. Sung-in Hong T.A. Minseop Jeong 2 Background processing Every Android app has a main

More information

External Services. CSE 5236: Mobile Application Development Course Coordinator: Dr. Rajiv Ramnath Instructor: Adam C. Champion

External Services. CSE 5236: Mobile Application Development Course Coordinator: Dr. Rajiv Ramnath Instructor: Adam C. Champion External Services CSE 5236: Mobile Application Development Course Coordinator: Dr. Rajiv Ramnath Instructor: Adam C. Champion 1 External Services Viewing websites Location- and map-based functionality

More information

OFFLINE MODE OF ANDROID

OFFLINE MODE OF ANDROID OFFLINE MODE OF ANDROID APPS @Ajit5ingh ABOUT ME new Presenter( Ajit Singh, github.com/ajitsing, www.singhajit.com, @Ajit5ingh ) AGENDA Why offline mode? What it takes to build an offline mode Architecture

More information

South Africa Version Control.

South Africa Version Control. South Africa 2013 Lecture 7: User Interface (Navigation)+ Version Control http://aiti.mit.edu South Africa 2013 Today s agenda Recap Navigation Version Control 2 Tutorial Recap Activity 1 Activity 2 Text

More information

Building SDKs. Ty Smith & Javier Soto Code

Building SDKs. Ty Smith & Javier Soto Code Building SDKs Ty Smith & Javier Soto Code Monkeys @tsmith & @javi How to make great SDKs EASY TO USE STABLE LIGHTWEIGHT FLEXIBLE WELL SUPPORTED Easy to Use Easy To Integrate Fabric.with(this, new Crashlytics());

More information

Android Dialogs. Dialogs are simple visual objects that pop up and display a message or prompt for some user input.

Android Dialogs. Dialogs are simple visual objects that pop up and display a message or prompt for some user input. Android Dialogs Dialogs are simple visual objects that pop up and display a message or prompt for some user input. Create a new Android project with a suitable name and package. To begin with it will have

More information

Table of Content. CLOUDCHERRY Android SDK Manual

Table of Content. CLOUDCHERRY Android SDK Manual Table of Content 1. Introduction: cloudcherry-android-sdk 2 2. Capabilities 2 3. Setup 2 4. How to create static token 3 5. Initialize SDK 5 6. How to trigger the SDK? 5 7. How to setup custom legends

More information

SDK Android Studio. 2. build.gradle. SDK moxie-client-xxx.aar libs 2.1. build.gradle. 2.4 repositories. app proguard-rules.pro

SDK Android Studio. 2. build.gradle. SDK moxie-client-xxx.aar libs 2.1. build.gradle. 2.4 repositories. app proguard-rules.pro SDK Android Studio 1. SDK SDK moxie-client-xxx.aar libs 2. build.gradle 2.1 build.gradle dependencies { compile filetree(dir: 'libs', include: ['.jar']) compile 'com.android.support:appcompat-v7:23.1.1'

More information

Lecture 13 Mobile Programming. Google Maps Android API

Lecture 13 Mobile Programming. Google Maps Android API Lecture 13 Mobile Programming Google Maps Android API Agenda Generating MD5 Fingerprint Signing up for API Key (as developer) Permissions MapView and MapActivity Layers MyLocation Important!!! These lecture

More information

SAAdobeAIRSDK Documentation

SAAdobeAIRSDK Documentation SAAdobeAIRSDK Documentation Release 3.1.6 Gabriel Coman April 12, 2016 Contents 1 Getting started 3 1.1 Creating Apps.............................................. 3 1.2 Adding Placements............................................

More information

Solving an Android Threading Problem

Solving an Android Threading Problem Home Java News Brief Archive OCI Educational Services Solving an Android Threading Problem Introduction by Eric M. Burke, Principal Software Engineer Object Computing, Inc. (OCI) By now, you probably know

More information

32. And this is an example on how to retrieve the messages received through NFC.

32. And this is an example on how to retrieve the messages received through NFC. 4. In Android applications the User Interface (UI) thread is the main thread. This thread is very important because it is responsible with displaying/drawing and updating UI elements and handling/dispatching

More information

Android Camera. Alexander Nelson October 6, University of Arkansas - Department of Computer Science and Computer Engineering

Android Camera. Alexander Nelson October 6, University of Arkansas - Department of Computer Science and Computer Engineering Android Camera Alexander Nelson October 6, 2017 University of Arkansas - Department of Computer Science and Computer Engineering Why use the camera? Why not? Translate Call Learn Capture How to use the

More information

Mobile Computing Practice # 2d Android Applications Local DB

Mobile Computing Practice # 2d Android Applications Local DB Mobile Computing Practice # 2d Android Applications Local DB In this installment we will add persistent storage to the restaurants application. For that, we will create a database with a table for holding

More information

Message Passing & APIs

Message Passing & APIs CS 160 User Interface Design Message Passing & APIs Section 05 // September 25th, 2015 Tricia Fu // OH Monday 9:30-10:30am // triciasfu@berkeley.edu Agenda 1 Administrivia 2 Brainstorm Discussion 3 Message

More information

Android Activities. Akhilesh Tyagi

Android Activities. Akhilesh Tyagi Android Activities Akhilesh Tyagi Apps, memory, and storage storage: Your device has apps and files installed andstoredonitsinternaldisk,sdcard,etc. Settings Storage memory: Some subset of apps might be

More information

Biometric Sensor SDK. Integration Guide 4.17

Biometric Sensor SDK. Integration Guide 4.17 Biometric Sensor SDK Integration Guide 4.17 Disclaimer Disclaimer of Warranties and Limitations of Liabilities Legal Notices Copyright 2013 2017 VASCO Data Security, Inc., VASCO Data Security International

More information

LECTURE NOTES OF APPLICATION ACTIVITIES

LECTURE NOTES OF APPLICATION ACTIVITIES Department of Information Networks The University of Babylon LECTURE NOTES OF APPLICATION ACTIVITIES By College of Information Technology, University of Babylon, Iraq Samaher@inet.uobabylon.edu.iq The

More information

Mobile Programming Lecture 7. Dialogs, Menus, and SharedPreferences

Mobile Programming Lecture 7. Dialogs, Menus, and SharedPreferences Mobile Programming Lecture 7 Dialogs, Menus, and SharedPreferences Agenda Dialogs Menus SharedPreferences Android Application Components 1. Activity 2. Broadcast Receiver 3. Content Provider 4. Service

More information

Tracker Design Guidelines

Tracker Design Guidelines s..0 Copyright Samsung Electronics, Co., Ltd. All rights reserved. Overview This document includes design guidelines for the Samsung Digital Health SDK s tracker and tracker tile. Tracker The tracker is

More information

Introduction To Android

Introduction To Android Introduction To Android Mobile Technologies Symbian OS ios BlackBerry OS Windows Android Introduction to Android Android is an operating system for mobile devices such as smart phones and tablet computers.

More information

Vive Input Utility Developer Guide

Vive Input Utility Developer Guide Vive Input Utility Developer Guide vivesoftware@htc.com Abstract Vive Input Utility is a tool based on the SteamVR plugin that allows developers to access Vive device status in handy way. We also introduce

More information

1. Implementation of Inheritance with objects, methods. 2. Implementing Interface in a simple java class. 3. To create java class with polymorphism

1. Implementation of Inheritance with objects, methods. 2. Implementing Interface in a simple java class. 3. To create java class with polymorphism ANDROID TRAINING COURSE CONTENT SECTION 1 : INTRODUCTION Android What it is? History of Android Importance of Java language for Android Apps Other mobile OS-es Android Versions & different development

More information

Android Services. Victor Matos Cleveland State University. Services

Android Services. Victor Matos Cleveland State University. Services 22 Android Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html 22. Android Android A Service is an application component that runs in

More information

Configuring the Android Manifest File

Configuring the Android Manifest File Configuring the Android Manifest File Author : userone What You ll Learn in This Hour:. Exploring the Android manifest file. Configuring basic application settings. Defining activities. Managing application

More information

LifeStreet Media Android Publisher SDK Integration Guide

LifeStreet Media Android Publisher SDK Integration Guide LifeStreet Media Android Publisher SDK Integration Guide Version 1.12.0 Copyright 2015 Lifestreet Corporation Contents Introduction... 3 Downloading the SDK... 3 Choose type of SDK... 3 Adding the LSM

More information

Android SDK. Specification Version NeoLAB Convergence Inc.

Android SDK. Specification Version NeoLAB Convergence Inc. Android SDK Specification Version 2.1.4 NeoLAB Convergence Inc. Revision History Ver Date Contents 1.40 04-May, 15 Added Offline data ARM 1.50 30-Nov, 15 Connection procedure for Multi app LMS 2.00 13-Jun,

More information

Distributed Systems Assignment 1

Distributed Systems Assignment 1 Distributed Systems Assignment 1 marian.george@inf.ethz.ch Distributed Systems Assignment 1 1 The Exercise Objectives Get familiar with Android programming Emulator, debugging, deployment Learn to use

More information

Android Programming (5 Days)

Android Programming (5 Days) www.peaklearningllc.com Android Programming (5 Days) Course Description Android is an open source platform for mobile computing. Applications are developed using familiar Java and Eclipse tools. This Android

More information

Syncing Quick Reference Guide. Setting Up a Motion Tracker. Currently, Rally Health is compatible with the following devices and apps:

Syncing Quick Reference Guide. Setting Up a Motion Tracker. Currently, Rally Health is compatible with the following devices and apps: Syncing Quick Reference Guide Setting Up a Motion Tracker Currently, Rally Health is compatible with the following devices and apps: iphone & Android Phones Fitbit Jawbone RunKeeper MapMyRun Strava Misfit

More information

Android Services & Local IPC: The Command Processor Pattern (Part 1)

Android Services & Local IPC: The Command Processor Pattern (Part 1) : The Command Processor Pattern (Part 1) d.schmidt@vanderbilt.edu www.dre.vanderbilt.edu/~schmidt Professor of Computer Science Institute for Software Integrated Systems Vanderbilt University Nashville,

More information

PENGEMBANGAN APLIKASI PERANGKAT BERGERAK (MOBILE)

PENGEMBANGAN APLIKASI PERANGKAT BERGERAK (MOBILE) PENGEMBANGAN APLIKASI PERANGKAT BERGERAK (MOBILE) Network Connection Web Service K Candra Brata andra.course@gmail.com Mobille App Lab 2015-2016 Network Connection http://developer.android.com/training/basics/network-ops/connecting.html

More information

Real-Time Embedded Systems

Real-Time Embedded Systems Real-Time Embedded Systems DT8025, Fall 2016 http://goo.gl/azfc9l Lecture 8 Masoumeh Taromirad m.taromirad@hh.se Center for Research on Embedded Systems School of Information Technology 1 / 51 Smart phones

More information

Android Specifics. Jonathan Diehl (Informatik 10) Hendrik Thüs (Informatik 9)

Android Specifics. Jonathan Diehl (Informatik 10) Hendrik Thüs (Informatik 9) Android Specifics Jonathan Diehl (Informatik 10) Hendrik Thüs (Informatik 9) Android Specifics ArrayAdapter Preferences Widgets Jonathan Diehl, Hendrik Thüs 2 ArrayAdapter Jonathan Diehl, Hendrik Thüs

More information

VMware AirWatch Software Development Kit (SDK) Plugin v1.1 for Xamarin

VMware AirWatch Software Development Kit (SDK) Plugin v1.1 for Xamarin VMware AirWatch Software Development Kit (SDK) Plugin v1.1 for Xamarin Overview Use this document to install the VMware AirWatch SDK Plugin for Xamarin. The plugin helps enterprise app developers add enterprise-

More information

Terms: MediaPlayer, VideoView, MediaController,

Terms: MediaPlayer, VideoView, MediaController, Terms: MediaPlayer, VideoView, MediaController, Sisoft Technologies Pvt Ltd SRC E7, Shipra Riviera Bazar, Gyan Khand-3, Indirapuram, Ghaziabad Website: www.sisoft.in Email:info@sisoft.in Phone: +91-9999-283-283

More information

UM2290. BlueNRG Mesh Android API guide for Mesh over Bluetooth low energy. User manual. Introduction

UM2290. BlueNRG Mesh Android API guide for Mesh over Bluetooth low energy. User manual. Introduction User manual BlueNRG Mesh Android API guide for Mesh over Bluetooth low energy Introduction The Mesh over Bluetooth low energy (MoBLE) software is a stack of network protocols for Android -based handheld

More information

9.0 Help for Community Managers About Jive for Google Docs...4. System Requirements & Best Practices... 5

9.0 Help for Community Managers About Jive for Google Docs...4. System Requirements & Best Practices... 5 for Google Docs Contents 2 Contents 9.0 Help for Community Managers... 3 About Jive for Google Docs...4 System Requirements & Best Practices... 5 Administering Jive for Google Docs... 6 Quick Start...6

More information

Voice Control SDK. Vuzix M100 Developer SDK. Developer Documentation. Ron DiNapoli Vuzix Corporation Created: July 22, 2015 Last Update: July 22, 2015

Voice Control SDK. Vuzix M100 Developer SDK. Developer Documentation. Ron DiNapoli Vuzix Corporation Created: July 22, 2015 Last Update: July 22, 2015 Voice Control SDK Vuzix M100 Developer SDK Ron DiNapoli Vuzix Corporation Created: July 22, 2015 Last Update: July 22, 2015 Developer Documentation Introduction The Vuzix Voice Control SDK allows you to

More information

Overview of Activities

Overview of Activities d.schmidt@vanderbilt.edu www.dre.vanderbilt.edu/~schmidt Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee, USA CS 282 Principles of Operating Systems II Systems Programming

More information

Privilege Escalation via adbd Misconfiguration

Privilege Escalation via adbd Misconfiguration Privilege Escalation via adbd Misconfiguration 17/01/2018 Software Affected Versions CVE Reference Author Severity Vendor Vendor Response Android Open Source Project (AOSP) Android 4.2.2 to Android 8.0

More information

EMBEDDED SYSTEMS PROGRAMMING Android Services

EMBEDDED SYSTEMS PROGRAMMING Android Services EMBEDDED SYSTEMS PROGRAMMING 2016-17 Android Services APP COMPONENTS Activity: a single screen with a user interface Broadcast receiver: responds to system-wide broadcast events. No user interface Service:

More information

Understanding Application

Understanding Application Introduction to Android Application Development, Android Essentials, Fifth Edition Chapter 4 Understanding Application Components Chapter 4 Overview Master important terminology Learn what the application

More information

Programming with Android: Animations, Menu, Toast and Dialogs. Luca Bedogni. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna

Programming with Android: Animations, Menu, Toast and Dialogs. Luca Bedogni. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna Programming with Android: Animations, Menu, Toast and Dialogs Luca Bedogni Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna Animations vmake the components move/shrink/color vmainly

More information

CS 370 Android Basics D R. M I C H A E L J. R E A L E F A L L

CS 370 Android Basics D R. M I C H A E L J. R E A L E F A L L CS 370 Android Basics D R. M I C H A E L J. R E A L E F A L L 2 0 1 5 Activity Basics Manifest File AndroidManifest.xml Central configuration of Android application Defines: Name of application Icon for

More information

Android Debug Framework

Android Debug Framework Android Debug Framework (Logcat, DDMS, Debug, Exception Handling, Third Party APIs) Sisoft Technologies Pvt Ltd SRC E7, Shipra Riviera Bazar, Gyan Khand-3, Indirapuram, Ghaziabad Website: www.sisoft.in

More information

Presented by: Megan Bishop & Courtney Valentine

Presented by: Megan Bishop & Courtney Valentine Presented by: Megan Bishop & Courtney Valentine Early navigators relied on landmarks, major constellations, and the sun s position in the sky to determine latitude and longitude Now we have location- based

More information

The Internet. CS 2046 Mobile Application Development Fall Jeff Davidson CS 2046

The Internet. CS 2046 Mobile Application Development Fall Jeff Davidson CS 2046 The Internet CS 2046 Mobile Application Development Fall 2010 Announcements HW2 due Monday, 11/8, at 11:59pm If you want to know what it means to root your phone, or what this does, see Newsgroup HW1 grades

More information

MC Android Programming

MC Android Programming MC1921 - Android Programming Duration: 5 days Course Price: $3,395 Course Description Android is an open source platform for mobile computing. Applications are developed using familiar Java and Eclipse

More information

ipass SmartConnect Getting Started Guide for Android Version MARCH 2017

ipass SmartConnect Getting Started Guide for Android Version MARCH 2017 ipass SmartConnect Getting Started Guide for Android Version 1.5.4.90 MARCH 2017 Introduction 3 Getting Started 4 Using Android Studio to Add the SmartConnect Library...4 Starting SmartConnect Service...6

More information

VMware AirWatch SDK Plugin for Xamarin Instructions Add AirWatch Functionality to Enterprise Applicataions with SDK Plugins

VMware AirWatch SDK Plugin for Xamarin Instructions Add AirWatch Functionality to Enterprise Applicataions with SDK Plugins VMware AirWatch SDK Plugin for Xamarin Instructions Add AirWatch Functionality to Enterprise Applicataions with SDK Plugins v1.2 Have documentation feedback? Submit a Documentation Feedback support ticket

More information

Import the code in the top level sdl_android folder as a module in Android Studio:

Import the code in the top level sdl_android folder as a module in Android Studio: Guides Android Documentation Document current as of 12/22/2017 10:31 AM. Installation SOURCE Download the latest release from GitHub Extract the source code from the archive Import the code in the top

More information

Introducing Android Open Accessories and ADK. Jeff Brown, Erik Gilling, Mike Lockwood May 10, 2011

Introducing Android Open Accessories and ADK. Jeff Brown, Erik Gilling, Mike Lockwood May 10, 2011 Introducing Android Open Accessories and ADK Jeff Brown, Erik Gilling, Mike Lockwood May 10, 2011 Session Feedback http://goo.gl/ieddf Twitter: #io2011 #Android 3 USB on Android Yesterday Android USB device

More information

AppFlood Android SDK Integration Guide

AppFlood Android SDK Integration Guide AppFlood Android SDK Integration Guide WorkFlow Step 1:Register an AppFlood account on appflood.com. Step 2: Add an app. After logging in, click Add a new app. Choose your app platform. Fill out all the

More information

Android. Broadcasts Services Notifications

Android. Broadcasts Services Notifications Android Broadcasts Services Notifications Broadcast receivers Application components that can receive intents from other applications Broadcast receivers must be declared in the manifest They have an associated

More information

CS 193A. Multiple Activities and Intents

CS 193A. Multiple Activities and Intents CS 193A Multiple Activities and Intents This document is copyright (C) Marty Stepp and Stanford Computer Science. Licensed under Creative Commons Attribution 2.5 License. All rights reserved. Multiple

More information

Pulse Secure Mobile Android Release 5.2R1

Pulse Secure Mobile Android Release 5.2R1 Pulse Secure Mobile Android Release 5.2R1 Pulse Secure Mobile 5.2R1 for Android (build # 5.2.1.61475) Pulse Secure Client Release 5.2 Document Revision 3.0 Published: 2015-10-27 2014 by Pulse Secure, LLC.

More information

Embedded Systems Programming - PA8001

Embedded Systems Programming - PA8001 Embedded Systems Programming - PA8001 http://goo.gl/ydeczu Lecture 8 Mohammad Mousavi m.r.mousavi@hh.se Center for Research on Embedded Systems School of Information Science, Computer and Electrical Engineering

More information

Android Services & Local IPC: Overview of Programming Bound Services

Android Services & Local IPC: Overview of Programming Bound Services : Overview of Programming Bound Services d.schmidt@vanderbilt.edu www.dre.vanderbilt.edu/~schmidt Professor of Computer Science Institute for Software Integrated Systems Vanderbilt University Nashville,

More information

Starting Another Activity Preferences

Starting Another Activity Preferences Starting Another Activity Preferences Android Application Development Training Xorsat Pvt. Ltd www.xorsat.net fb.com/xorsat.education Outline Starting Another Activity Respond to the Button Create the

More information

Fragments and the Maps API

Fragments and the Maps API Fragments and the Maps API Alexander Nelson October 6, 2017 University of Arkansas - Department of Computer Science and Computer Engineering Fragments Fragments Fragment A behavior or a portion of a user

More information

Android Apps Development for Mobile and Tablet Device (Level I) Lesson 4. Workshop

Android Apps Development for Mobile and Tablet Device (Level I) Lesson 4. Workshop Workshop 1. Create an Option Menu, and convert it into Action Bar (Page 1 8) Create an simple Option Menu Convert Option Menu into Action Bar Create Event Listener for Menu and Action Bar Add System Icon

More information

VMware AirWatch SDK Plugin for Xamarin Instructions Add AirWatch Functionality to Enterprise Applicataions with SDK Plugins

VMware AirWatch SDK Plugin for Xamarin Instructions Add AirWatch Functionality to Enterprise Applicataions with SDK Plugins VMware AirWatch SDK Plugin for Xamarin Instructions Add AirWatch Functionality to Enterprise Applicataions with SDK Plugins v1.3 Have documentation feedback? Submit a Documentation Feedback support ticket

More information

Link-OS SDK for Xamarin README

Link-OS SDK for Xamarin README Link-OS SDK for Xamarin README This readme is specific to the LinkOS Xamarin SDK. This SDK is a Xamarin PCL in the plugin format. Also included in the files is a sample app showing use of specific APIs.

More information

Developer s overview of the Android platform

Developer s overview of the Android platform Developer s overview of the Android platform Erlend Stav SINTEF November 10, 2009 mailto:erlend.stav@sintef.no 1 Overview Vendors and licensing Application distribution Platform architecture Application

More information

Programming with Android: System Architecture. Dipartimento di Scienze dell Informazione Università di Bologna

Programming with Android: System Architecture. Dipartimento di Scienze dell Informazione Università di Bologna Programming with Android: System Architecture Luca Bedogni Marco Di Felice Dipartimento di Scienze dell Informazione Università di Bologna Outline Android Architecture: An Overview Android Dalvik Java

More information

ArcGIS Runtime SDK for Android: Building Apps. Shelly Gill

ArcGIS Runtime SDK for Android: Building Apps. Shelly Gill ArcGIS Runtime SDK for Android: Building Apps Shelly Gill Agenda Getting started API - Android Runtime SDK patterns - Common functions, workflows The Android platform Other sessions covered Runtime SDK

More information

CATERPILLAR APPS COMMUNITY (CAC) Analytics Integration Guide

CATERPILLAR APPS COMMUNITY (CAC) Analytics Integration Guide CATERPILLAR APPS COMMUNITY (CAC) Analytics Integration Guide COPYRIGHT NOTICE This Documentation is the property of Caterpillar. All ideas and information contained in this document are the intellectual

More information

Silicon Valley LAB Intern Report. Hyunjung KIM Youngsong KIM

Silicon Valley LAB Intern Report. Hyunjung KIM Youngsong KIM Silicon Valley LAB Report Hyunjung KIM Youngsong KIM Contents I. LG Silicon Valley LAB II. III. Company Visit Part 1 LG Silicon Valley LAB LG Silicon Valley LAB LG Electronics premier innovation center

More information

Software Practice 3 Today s lecture Today s Task

Software Practice 3 Today s lecture Today s Task 1 Software Practice 3 Today s lecture Today s Task Prof. Hwansoo Han T.A. Jeonghwan Park 43 2 MULTITHREAD IN ANDROID 3 Activity and Service before midterm after midterm 4 Java Thread Thread is an execution

More information

UM2290. BlueNRG Mesh Android API guide for Mesh over Bluetooth low energy. User manual. Introduction

UM2290. BlueNRG Mesh Android API guide for Mesh over Bluetooth low energy. User manual. Introduction User manual BlueNRG Mesh Android API guide for Mesh over Bluetooth low energy Introduction The Mesh over Bluetooth low energy (MoBLE) software is a stack of network protocols for Android -based handheld

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

IPN-ESCOM Application Development for Mobile Devices. Extraordinary. A Web service, invoking the SOAP protocol, in an Android application.

IPN-ESCOM Application Development for Mobile Devices. Extraordinary. A Web service, invoking the SOAP protocol, in an Android application. Learning Unit Exam Project IPN-ESCOM Application Development for Mobile Devices. Extraordinary. A Web service, invoking the SOAP protocol, in an Android application. The delivery of this project is essential

More information

UI, Continued. CS 2046 Mobile Application Development Fall Jeff Davidson CS 2046

UI, Continued. CS 2046 Mobile Application Development Fall Jeff Davidson CS 2046 UI, Continued CS 2046 Mobile Application Development Fall 2010 Announcements Office hours have started HW1 is out, due Monday, 11/1, at 11:59 pm Clarifications on HW1: To move where the text appears in

More information

Android Application Development Course 28 Contact Hours

Android Application Development Course 28 Contact Hours Android Application Development Course 28 Contact Hours Course Overview This course that provides the required knowledge and skills to design and build a complete Androidâ application. It delivers an extensive

More information