BY LINDA MOHAISEN MIKE ZIELINSKI The Tree Census Project.

Slides:



Advertisements
Similar presentations
Prepared by: Prepared by: Jameela Rabaya Jameela Rabaya Fatima Darawsha Fatima Darawsha.
Advertisements

Location based Streaming Topics for our 1 st presentation  Thesis Description  Positioning System  Streaming over positioning  Questions Session.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Gas Tracker 9000 Semester Project EEL 6788 Spring 2010 Chris Giles EEL April-2010 University of Central Florida.
CS 337 Final Project Presentation Asset Management and Tracking Developers: –Jimmy Hoo –Edwin Panameno –Manuel Segura –Sheng-Tian Lin Customers –Alexandre.
Apache Tomcat Server Typical html Request/Response cycle
UCF Noise Map, an Android Application Project Presentation Cindy Atherton and Deepa Shinde.
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
Browser and Basics Tutorial 1. Learn about Web browser software and Web pages The Web is a collection of files that reside on computers, called.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Real time vehicle tracking and driver behavior monitoring using a cellular handset based on accelerometry and GPS data Kevin Burke Interim Presentation.
Online Game JAVA for PDA WAP for Mobile Phone. Java for PDA  Hardware limit - Java API Power Memory  JDK 2M byte. Connectivity Display size.
1 Introduction to Web Development. Web Basics The Web consists of computers on the Internet connected to each other in a specific way Used in all levels.
Android ADK based app for offer making based on location and activity reporting John Waters.
TC2-Computer Literacy Mr. Sencer February 8, 2010.
INTRODUCTION TO WEB DATABASE PROGRAMMING
NextGen Technology upgrade – Synerizip - Sandeep Kamble.
By: Joel Rodriguez.  International student from Mexico  Delicias, Chihuahua Mexico  Spanish  Sports and Music.
NETWORK CENTRIC COMPUTING (With included EMBEDDED SYSTEMS)
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Chris Pinski.  History  What is Ajax  Who uses Ajax  Underlying Technologies  SE Aspect  Common Problems  Conclusion.
JavaScript & jQuery the missing manual Chapter 11
GPS Tracking An overview of the i730 GPS tracking application and web service Eamon Moore CPSC 463 8/4/2004.
By: Simon Kleinsmith Supervisor: Mr Mehrdad Ghaziasgar Co-supervisor: Mr James Connan.
CS378 - Mobile Computing Web - WebView and Web Services.
Chapter 5: Investigate! Lists, Arrays, and Web Browsers.
Ruth Betcher Ruth Christie
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
Server-side Scripting Powering the webs favourite services.
4-1 INTERNET DATABASE CONNECTOR Colorado Technical University IT420 Tim Peterson.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Android, where is my car? Summary. This is the just the summary of topic after it was taught in the lecture class. The LocationSensor component can report.
Android Boot Camp for Developers Using Java, Comprehensive: A Guide to Creating Your First Android Apps Chapter 5: Investigate! Android Lists, Arrays,
Creating Web Applications Using ASP.NET Chapter Microsoft Visual Basic.NET: Reloaded 1.
Elements of ASP Documents Adapted from MCDN Web Workshop ( and Webmonkey’s Introduction to Active.
Matrix Mapping Tool Sam Gross Internship at Virtual Technology Corporation.
Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.
CS378 - Mobile Computing Web - WebView and Web Services.
Architectures Classic Client/Server Architecture Classic Web Architecture N-tier (multi-tier) Architecture FEN Databaser og Modellering.
CS4274 TERM PROJECT 2010 SOLE : SHARING OF LIVING EXPERIENCES Team Members: Tan Gui Han Wilson Duy Vinh Chuc Damien Catala Cheng Zhi Xiang.
PROCESSED RADAR DATA INTEGRATION WITH SOCIAL NETWORKING SITES FOR POLAR EDUCATION Jeffrey A. Wood April 19, 2010 A Thesis submitted to the Graduate Faculty.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
Introduction to ASP.NET1. 2 Web applications in general Web applications are divided into two parts –The server part –The client part The server part.
MAKANI ANDROID APPLICATION Prepared by: Asma’ Hamayel Alaa Shaheen.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Webview and Web services. Web Apps You can make your web content available to users in two ways in a traditional web browser in an Android application,
When you take a picture on your phone, the camera turns the light signals into colour values and stores a colour for each pixel. Did you know? An iPhone.
BlackBerry Applications using Microsoft Visual Studio and Database Handling.
Ajax for Dynamic Web Development Gregory McChesney.
Chapter 16: Ajax-Enabled Rich Internet Applications with XML and JSON TP2543 Web Programming Mohammad Faidzul Nasrudin.
Magic pyramid Towards a 3D world Feras Khateeb Yousef Azem supervisor Dr.Lui Malhis.
Web Technologies Lecture 8 Server side web. Client Side vs. Server Side Web Client-side code executes on the end-user's computer, usually within a web.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
The basics of knowing the difference CLIENT VS. SERVER.
UMass Lowell Computer Science Java and Distributed Computing Prof. Karen Daniels Fall, 2000 Lecture 21 Java Servlets Wed. 11/22/00 based on material.
Display Page (HTML/CSS)
ASP.Net ICallback Vijayalakshmi G M Senior Trainer Binary Spectrum.
4.3. Code animations by using JavaScript Access data access by using JavaScript. Creating Animations, Working with Graphics, and Accessing Data.
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
JavaScript and Ajax (Ajax Tutorial)
Google Web Toolkit Tutorial
AJAX.
PHP / MySQL Introduction
Snippet Engine as a Database Server
Introduction to JavaScript
Presentation transcript:

BY LINDA MOHAISEN MIKE ZIELINSKI The Tree Census Project

What it is We are counting the number of trees and taking pictures of them and their GPS location We store the information in MySQL and display markers for the trees on a Google map. Naturalists and cities can use this information to track diseases in trees. Also damage from wind storms.

Android Platform Open source Can get access to hardware Supported by Google Doesn’t need a Mac

Fancy Phone The Droid 5 Megapixel Camera GPS sensor Wifi and 3G Android 2.1

What our software does It displays the GPS information in a readable format on the phone It captures a picture taken with the phone and stores it on the server. Then when Add Tree is clicked it displays a marker on the map and adds GPS information and picture to the database.

Sample Picture

Used ASP.Net and Java Used ASP.Net for the web pages Used Java for Android and to send picture from phone to server Use JavaScript for Google Map API Problem! Communicating between JavaScript and ASP.NET. ASP.NET provides a way called callbacks.

Solutions ASP.NET provides several solutions: client-side click methods – used for Add Tree JavaScript callbacks – used for database access and adding pictures Asynchronous Postbacks of a region – used so Used all of these to solve problems we encountered

GUI User interface consists of a WebView which is a mini-web browser. It is used to view the web pages. To load a URL it has a loadUrl method which can display a local html file or an internet location Need to give it Internet Permissions to access the internet in the manifest.

Camera View Adapted CameraPreview sample from the samples provided Instantiated GUI on the fly To activate CameraPreview sent an intent to launch new activity: Intent startCamera= new Intent(); startCamera.setClassName("com.codingzebra.TreeCensus2", "com.codingzebra.TreeCensus2.TakePicture"); startActivity(startCamera); To take and send picture used following code:

Code to take picture and send picture mCamera.takePicture(null, null, new Camera.PictureCallback(){ public void onPictureTaken(byte[] jpegData, Camera camera) { create Socket get its output stream send number of bytes in jpegData send picture in jpegData }

The marker Marker is a square GPolygon It is clickable, to process the click must add an EventListener with GEvent.addListener. The listener calls the server code to retrieve the picture from the database and displays it The picture is stored as a mediumblob in the database as bytes The location of the tree is stored in the marker’s value element so the database can retrieve the picture by the coordinates

View Trees Can view all trees or selected type of tree Use ODBC to connect to MySQL OdbcDataReader reader = getAlltrees.ExecuteReader(); while (reader.Read()) { Get latitude from reader Get longitude from reade Get treeType from reader coordinate = coordinate +treeType+";"+ latitude + "," + longitude +";"; } return coordinate;

View Trees Client Side function AddMarkers(args) { Clear map by creating a new map var splitExpression = /[;]/; //used to split by ; var urlStrings= args.split(splitExpression); for( var i=0;i<urlStrings.length-1;i+=2) { // first parameter is type of tree second parameter is location addMarker(urlStrings[i],urlStrings[i+1]); }

Demo codingzebra'sLab

Future Plans Allow for more than one phone at a time to take picture. Ability to display more than one picture at a time Speed up transmission of picture Clean up GUI