Outline 1/3 PHA Client 1.Overall Architecture 2.Client PHA Setup 1.Open ADT 2.Edit Android Properties Android 4.4.3 API 17 3.Setup Android Virtual Device.

Slides:



Advertisements
Similar presentations
Android Application Development A Tutorial Driven Course.
Advertisements

Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Scienze dellInformazione Università di Bologna.
Legal Meetings: Extended Instructions on Movica and Screencast.
Infinite Campus Gradebook Basics. Logging In Type in your user ID and the password. ID=firstname.lastname The Change Password screen.
Students can gain access to and use programs offered on the computers in the Instructional Support labs via an online network.
Smartphone-based authorization system Advisor: Dr. Wenjun Zeng - Professor Presenter: Yilihamujiang, Ailiyasijiang Zhou, Guanlong Al-Sinani, H. S. (2011).
NDU Software Upgrade Software upgrades for the NDU are accomplished through a network connection. Software upgrades for the NDU are accomplished through.
Ando-it-yourself droid Praveen Kumar Pendyala. Outline Brief intro to the Droid developement Setting up the Life saviors - Development tools Hello Droid.
Welcome to Middleware Joseph Amrithraj
Samsung Smart TV is a web-based application running on an application engine installed on digital TVs connected to the Internet.
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
General Operation and Facts As of 3/24/2014. Virtual Desktop 1. What is a Virtual Desktop? 2. Why VDI? 3. Installing the Virtual Desktop 4. Accessing.
Presentation Heading – font Arial
1Proprietary and Confidential AirVantage API – Getting started David SCIAMMA – June 13th 2014.
beas WEB App Installation
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna.
Mi-Joung choi, Hong-Taek Ju, Hyun-Jun Cha, Sook-Hyang Kim and J
Using Google Docs: a network-based word processor This work is licensed under a Creative Commons Attribution-Noncommercial- Share Alike 3.0 License. Skills:
Multiple Tiers in Action
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
INTERNATIONAL SUMMER ACADEMIC COURSE UNIVESITY OF NIS ISAC – Android programming.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
Android Programming. Outline Preparation Create new project Build and Run a project Debug a project Deploy on devices.
Android Application Development 2013 PClassic Chris Murphy 1.
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Web 2.0: Concepts and Applications 11 The Web Becomes 2.0.
JavaScript, Fourth Edition Chapter 12 Updating Web Pages with AJAX.
TERMS TO KNOW. Desktop This does not mean a computer desktop vs. a laptop. You probably keep a number of commonly used items on your desk at home such.
Introduction To Computer System
PARSING FACEBOOK DATA FOR ANDROID 1. Step by Step  Import Android SDK  Get the hash key  Create a new app  Create a new project in Eclipse 
Google Cloud Messaging for Android (GCM) is a free service that helps developers send data from servers to their Android.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
November 13, 2008 Ohio Information Security Forum Attack Surface of Web Applications James Walden Northern Kentucky University
Presentation Seminar on “IMAGE SLIDER –AN ANDROID APPLICATION”
Copyright 2000 eMation SECURITY - Controlling Data Access with
Citrix Virtualization Last Update Copyright 2011 Kenneth M. Chipps Ph.D.
WEB API: WHY THEY MATTER ECOL 453/ Nirav Merchant
DUE Hello World on the Android Platform.
Presented By: Muhammad Tariq Software Engineer Android Training course.
Tutorial 10 by Sam ine1020 Introduction to Internet Engineering 1 Database & Server-side Scripting Tutorial 10.
Android architecture & setting up. Android operating system comprises of different software components arranges in stack. Different components of android.
MAKANI ANDROID APPLICATION Prepared by: Asma’ Hamayel Alaa Shaheen.
XP Browser and Basics COM111 Introduction to Computer Applications.
NetTech Solutions Microsoft Outlook and Outlook Express Lesson Four.
FCM Workflow using GCM.
Web Technologies Lecture 1 The Internet and HTTP.
JS (Java Servlets). Internet evolution [1] The internet Internet started of as a static content dispersal and delivery mechanism, where files residing.
JSP Server Integrated with Oracle8i Project2, CMSC691X Summer02 Ching-li Peng Ying Zhang.
Project-1 CSE 2102 Individual Project Background  What is Personal Health Assistant (PHA)?  Patient Version for Medication and Chronic Disease Management.
ICM – API Server & Forms Gary Ratcliffe.
ICM – API Server Gary Ratcliffe. 2 Agenda Webinar Programme API Server Overview JSON-RPC iCM API Service API Server and Forms New services under.
Web 2.0: Concepts and Applications 11 The Web Becomes 2.0.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents.
Intoduction to Andriod studio Environment With a hello world program.
JavaScript, Sixth Edition Chapter 11 Updating Web Pages with Ajax.
 Learn the mechanics of using App Inventor to build apps.  Learn how to design an app’s user interface with the App Inventor Designer, and its behavior.
Obtaining the Required Tools
Market Share. Market Share Market Share Android Dev Basics Android apps are developed in Java and XML. The hardest part of Android dev is coming up.
How to Fi
Development-Introduction
XMLHttp Object.
Dynamic Web Page A dynamic web page is a kind of web page that has been prepared with fresh information (content and/or layout), for each individual viewing.
CA16R405 - Mobile Application Development (Theory)
IS 4506 Server Configuration (HTTP Server)
Microsoft PowerPoint 2007 – Unit 2
Task Sequence Editing Exam
Presentation transcript:

Outline 1/3 PHA Client 1.Overall Architecture 2.Client PHA Setup 1.Open ADT 2.Edit Android Properties Android API 17 3.Setup Android Virtual Device (AVD) 4.Restart ADT 5.Run PHA as Android Application (up to 5 min first time) and enter account information. 6.You many need to restart PHA.

Overall Architecture. Client (Android Application) Application Server DB REST Interface Microsoft HealthVault (MSHV) HTTP Request REST Client Tool

Edit Android Properties Android API 17

Setup Android Virtual Device (AVD)

Sign-In Page

PHA Home Screen

Outline (2/3) REST Client Tool 1.Install Google REST Client into your browser 2.Sign in to MSHV to get public and record ID 3.In headers add Content-Type: application/json 4.Request method: POST 5.Copy JSON string into the body

Install Google REST Client

Sign into MSHV

Add Content-Type to HEADER Content-Type: application/json Content-Type: application/xml

REST Client Tool

Outline (3/3) PHA Code 1.Requirements 2.Activity Sequence 3.Code Review

Requirements Internet connection Within the engineering network (vpn.uconn.edu)

Activity Sequence 1.Login Activity (only one time) 2.Splash Activity (get data from MSHV) 3.Tabs Activity (load tabs layout into activity) 4.Press Medication RXOTC Activity 5.Press Add RXOTC-Form Activity 6.Add meds and press Save RXOTC Activity 1.OnActivityResult() 7.Async Task MedicationPostRequest()

RxOtcFormActivity.java

RxOtcActivity.java You have to edit other classes and add/edit methods for each health item.

ServerConnection.java Reuse or make this method generic for usage for other health items.

ServerConnectionHelper.java You have to edit this class and add/edit methods for each health item.

MedicationPostRequest.java Reuse or make this class generic for usage for other health items.

Result can be check at: 1.Your PHA application 2.

General comments. Ask early, errors can occur on all different tiers (while MHSV is less likely). When you use intents, the keys have to be consistent! – MedicationName != medicationname When doing a REST Service the method name Server model is in add-on v3 (sent today)