Which Jacket? An app by Ashley Kaminski. Yet another weather app… …but this one gives you relevant data! Returns the current weather and the weather in.

Slides:



Advertisements
Similar presentations
Computing Science Software Design and Development SOFTWARE DESIGN AND DEVELOPMENT USING PYTHON.
Advertisements

Execute Stored Procedure having Output Parameter and returning Result Set in Adeptia Server.
-Uday Dhokale.  What is it ??? Prototype is a JavaScript Framework that aims to ease development of dynamic web applications.  Features a unique, easy-to-use.
Web Proxy Server. Proxy Server Introduction Returns status and error messages. Handles http CGI requests. –For more information about CGI please refer.
Chapter 6 DOJO TOOLKITS. Objectives Discuss XML DOM Discuss JSON Discuss Ajax Response in XML, HTML, JSON, and Other Data Type.
Sen Wang 11/17/2011.  RFC  “Form-based File Upload in HTML” NOV 1995 
HTTP and Threads. Download some code I’ve created an Android Project which gives examples of everything covered in this lecture. Download code here.here.
Networking Nasrullah. Input stream Most clients will use input streams that read data from the file system (FileInputStream), the network (getInputStream()/getInputStream()),
JavaScript & jQuery the missing manual Chapter 11
CS378 - Mobile Computing Web - WebView and Web Services.
Lecture 7 Interaction. Topics Implementing data flows An internet solution Transactions in MySQL 4-tier systems – business rule/presentation separation.
Networking: Part 2 (Accessing the Internet). The UI Thread When an application is launched, the system creates a “main” UI thread responsible for handling.
Android - Project Green basket Android Application * Let's you do your grocery shopping location based. * Let's you decide to go to the closest grocery.
HTML5 Communication. The Setup Somewhere on the web, a server makes a ”service” available, that we wish to use in a web application The service may offer.
Networking Android Club Networking AsyncTask HttpUrlConnection JSON Parser.
CS378 - Mobile Computing Web - WebView and Web Services.
ICFlash Web-based Network Measurement
Date : 3/3/2010 Web Technology Solutions Class: Application Syndication: Parse and Publish RSS & XML Data.
Search Engines.
The Intranet.
The OpenSocial API CS : Survey of Contemporary Technologies.
Android networking 1. Network programming with Android If your Android is connected to a WIFI, you can connect to servers using the usual Java API, like.
Rails & Ajax Module 5. Introduction to Rails Overview of Rails Rails is Ruby based “A development framework for Web-based applications” Rails uses the.
NOAA Weather Patrick Wolfram. What it does Allows user to specify a zip code Performs HTTP GET requests on noaa.gov for the specified zip code Displays.
Graphical User Interface You will be used to using programs that have a graphical user interface (GUI). So far you have been writing programs that have.
HW#9 Clues CSCI 571 Fall, HW#9 Prototype
WStore Programmer Guide Offering management integration.
Creating Animations, Working with Graphics, and Accessing Data Lesson 9.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
Discovery Environment Tool Integration High Level Overview.
G042 - Lecture 09 Commencing Task A Mr C Johnston ICT Teacher
CHAPTER 8 AJAX & JSON WHAT IS AJAX? Ajax lets you…
AJAX CS456 Fall Examples Where is AJAX used? Why do we care?
Dds-topology Andrey Lebedev, Anar Manafov GSI Darmstadt 25/04/
JQuery form submission CIS 136 Building Mobile Apps 1.
CITA 330 Section 10 Web Remoting Techniques. Web Remoting Web Remoting is a term used to categorize the technique of using JavaScript to directly make.
NCCUCS 軟體工程概論 Lecture 5: Ajax, Mashups April 29, 2014.
JQuery, JSON, AJAX. AJAX: Async JavaScript & XML In traditional Web coding, to get information from a database or a file on the server –make an HTML form.
4.3. Code animations by using JavaScript Access data access by using JavaScript. Creating Animations, Working with Graphics, and Accessing Data.
Server side. Internet technologies – Ohad © Server-side processing approaches  Server-side UI generation  PHP/ASP.net/JSP  Single Page Application.
USING ANDROID WITH THE INTERNET. Slide 2 Lecture Summary Getting network permissions Working with the HTTP protocol Sending HTTP requests Getting results.
Stata tweets and other API libraries: a practical guide William Matsuoka Stata Conference Chicago, IL - July 28, 2016.
H W #9 Clues CSCI 571 Spring, H W# 9 P rototype YouTube Link :
Video API and Coding Graduate Seminar Dr. Jinan Fiaidhi
Android Application Web 1.
The Intranet.
DPS Dissertation System
Instructor: Mazhar Hussain
Section 13 - Integrating with Third Party Tools
Viewbiquity HTML5 Tom Shafron Developer’s Blog CEO, Viewbiquity
Cosc 5/4730 REST services.
WebView and Web Services
Flickr Authentication
Centrally Managed Content with JSON Views and the Feeds Module
Introduction to Computers
MedHub Mobile App There’s also the MedHub App. Please keep in mind the MedHub Mobile App is available for iPhone users and may be accessed via the App.
Testing REST IPA using POSTMAN
Java Finish command line guessing game, then….
To submit invoices; select
JavaScript Charting Library
Use proper case (ie Caps for the beginnings of words)
An Introduction to Premier ESS
JSON Data Demo.
CS323 Android Topics Network Basics for an Android App
Class Examples.
Android Topics Asynchronous Callsbacks
Processing Asynchronous REST Requests in Orchestration Designer
Object Comparisons and Arrays
Chengyu Sun California State University, Los Angeles
Intro to Web Services Consuming the Web.
Presentation transcript:

Which Jacket? An app by Ashley Kaminski

Yet another weather app… …but this one gives you relevant data! Returns the current weather and the weather in 3 hours Suggests a jacket to wear at both times Changes its suggestion based on current conditions

Weather Data Provided via wunderground.com’s weather API Get request using any number of parameters Returns data in JSON or XML format

How it works User enters zipcode Zipcode is entered into correct URL to send GET request in AsyncTask Meanwhile, GUI switches from input screen to data screen

How it works Once the data is returned, the JSON is parsed in a different AsyncTask "local_time_rfc822":"Fri, 12 Oct :33: ", "local_epoch":" ", "local_tz_short":"EDT", "local_tz_long":"America/New_York", "local_tz_offset":"-0400", "weather":"Clear", "temperature_string":"70.9 F (21.6 C)", "temp_f":70.9, "temp_c":21.6, "relative_humidity":"-999%", "wind_string":"From the WNW at 5.0 MPH Gusting to 12.0 MPH", "wind_dir":"WNW", "wind_degrees":293, "wind_mph":5.0, "wind_gust_mph":"12.0", "wind_kph":8.0, "wind_gust_kph":"19.3"

How it works This Task creates a Jacket element, which stores the weather data and also computes the suggested jacket public class Jacket { private long currentTemp; private String futureTemp; private String currentConditions; private String futureConditions; private String currentJacket; private String futureJacket; private boolean currentUmbrella; private boolean futureUmbrella; private String location;

How it works UI is updated via callback