Prepared by: Prepared by: Jameela Rabaya Jameela Rabaya Fatima Darawsha Fatima Darawsha.

Slides:



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

The recent technological advances in mobile communication, computing and geo-positioning technologies have made real-time transit vehicle information systems.
In-Text Ads the Mobile Web Supervised & Guided By: Avishai Weis Yaron Zakai-Or Noam Lampert Delivered By: Adi Guberman Gal Ben Ami.
Jnan B2C Features Hotel Reservation - B2C Features  Hotel Search on country, city wise  Hotel sort options  Filter search option  Hotel rates  Hotel.
Landscape Change Mapper Ryan Feather and Dan Halloran 4/30/15.
Chapter 11: Discover! Incorporating Google Maps
Google Android Map API Presentation 13/03/2008. Map API – Overview (1) Map rendering facility on Android device Similar to Google Earth Integrate map.
Location based social networking on Android phones – integrated with Facebook. Simple and easy to use.
Location & Maps.  Mobile applications can benefit from being location-aware, e.g.,  Routing from a current to a desired location  Searching for stores.
Electrical and Computer Engineering Vitaly Gordievsky Alex Trefonas Scott Richard Matt Beckford Final Project Review.
Basic concept Technologies we have used The Design Problems, challenges & solutions Educational Gain.
Gas Tracker 9000 Semester Project EEL 6788 Spring 2010 Chris Giles EEL April-2010 University of Central Florida.
Facedroid Facebook for Android. Facebook Application - API key - Secret key - PHP page Facebook Application - API key - Secret key - PHP page Facebook.
Android Application Development. Agenda  Android Business Model  Why Android  Android application market space  Market Segments & Target customers.
Quickbix Documents Suite
(NHA) The Laboratory of Computer Communication and Networking Network Host Analyzer.
Bonrix Track & Trace System A GPS Based Vehicle Tracing System (SMS, GPRS/3G, Offline) Bonrix Software Systems Ahmedabad (INDIA) Website:
Finding Nearby Wireless Hotspots CSE 403 LCA Presentation Team Members: Chris Scoville Tessa MacDuff Matt Mohebbi Aiman Erbad Khalil El Haitami.
Project Rickshaw SEARCH - FIND - GO. Project Rickshaw TEAM MEMBERS KEVIN AUGUSTINO – MATT FOX – DAVID MOORE SPONSORS KARASU TECHNOLOGIES - ERIK PAUL -
CAEL 5012 Rich Internet Applications. What you need For this part of the course you will need access to a server with PHP and MYSQL which will be supplied.
BY LINDA MOHAISEN MIKE ZIELINSKI The Tree Census Project.
Lecture 3 – Data Storage with XML+AJAX and MySQL+socket.io
Chris Pinski.  History  What is Ajax  Who uses Ajax  Underlying Technologies  SE Aspect  Common Problems  Conclusion.
PHOTOSWAP Albert Park & Brandon Ochs. What is PhotoSwap?  Social networking platform for iOS  Users share images with each other  Extract sensor data.
Santosh Ghimire – 066 BCT 533 Subit Raj Pokharel – 066 BCT 538 Sudip Kafle – 066 BCT
Location-Based API 1. 2 Location-Based Services or LBS allow software to obtain the phone's current location. This includes location obtained from the.
© Keren Kalif Intro to Android Development Written by Keren Kalif, Edited by Liron Blecher Contains slides from Google I/O presentation.
GIS technologies and Web Mapping Services
Social network Twitter Hashtag: #m2eu #android Personal Israel Ferrer –
Location based services
Take a leap towards the most promising technology
Project Members: Arun Bhandari Nishanta Khanal
M i SMob i S Mob i Store - Mobile i nternet File Storage Platform Chetna Kaur.
CS378 - Mobile Computing Intents.
Separated Children Seeking Platform Based on Location Information from Street Snap Group 3.
Group ID: Prepared By: Jubin Goswami Milan Valambhiya.
CS378 - Mobile Computing Intents. Allow us to use applications and components that are part of Android System – start activities – start services – deliver.
CS4274 TERM PROJECT 2010 SOLE : SHARING OF LIVING EXPERIENCES Team Members: Tan Gui Han Wilson Duy Vinh Chuc Damien Catala Cheng Zhi Xiang.
USER MANUAL USER MANUAL 21 June TABLE OF CONTENTS System Description4 How It Works?5 PLUGIN Maxxbooking Plugin6-7 Hotel Info & Description8-9 Availability.
MAKANI ANDROID APPLICATION Prepared by: Asma’ Hamayel Alaa Shaheen.
Server - Client Communication Getting data from server.
Facebook API Kelly Orser. Client Libraries Client libraries will simplify the calls to the platform by reducing the amount of code you have to write.
HW#9 Clues CSCI 571 Fall, HW#9 Prototype
FriendFinder Location-aware social networking on mobile phones.
FriendFinder Location-aware social networking on mobile phones.
Windows 7 WampServer 2.1 MySQL PHP 5.3 Script Apache Server User Record or Select Media Upload to Internet Return URL Forward URL Create.
 An essential supporting structure of any thing  A Software Framework  Has layered structure ▪ What kind of functions and how they interrelate  Has.
Project Retrospective Team FancyPants. What is CyteSee? Idea.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Address Book Application Introducing Database Programming.
Eric Minner & James Pittman. Outline Project Statement / Motivation Concept overview Quick computer vision overview Demo Lessons Learned Future Work.
/16 Final Project Report By Facializer Team Final Project Report Eagle, Leo, Bessie, Five, Evan Dan, Kyle, Ben, Caleb.
START Application Spencer Johnson Jonathan Barella Cohner Marker.
3 rd -party APIs Kalin Kadiev Astea Solutions AD.
1. 2 Android location services Determining a device’s current location Tracking device movements Proximity alerts.
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
Plan for today Open-Closed and Quizmaster
By Dan Gotlund & Eric Acierto
Android.
Tracking and Booking Taxi
Sensors, maps and fragments:
Task Management System (TMS)
PHP / MySQL Introduction
Iteration 1 Presentation
Web Browser server client 3-Tier Architecture Apache web server PHP
Smart Shopper iPhone App
Application Development A Tutorial Driven Course
Lecture 1: Multi-tier Architecture Overview
PalmOS.
CS323 Android Topics Network Basics for an Android App
Restaurant IOS application
Presentation transcript:

Prepared by: Prepared by: Jameela Rabaya Jameela Rabaya Fatima Darawsha Fatima Darawsha

What is Palestine Hotels Finder  Pal Hotels Finder is a smart phone android application.  It supports Open Street maps capabilities like: GPS, assign location, search about location and add new information to Open Street Map.

Why Pal Hotels Finder  To search for the best hotel offers in the local area via GPS Local Search.  To find out about the location and facilities of the hotel.  Book your hotel room at the best possible price, without additional costs, and without having to provide your credit card or additional payment details.  Integrated with map view.

Cont.  Using this application, we could bring information about places in Palestine.  Wide selection of hotels.  Intuitive search feature with sorting and filtering option.  GPS Local Search feature.

Cont.  Detailed information provided for each hotel together with photos,rate and description.  Book either rooms or restaurant or wedding hall in just a few steps.  Make bookings without a credit card.  Get directions to the hotel.

Cont.  Display hotel recommendation rate in hotel details.  Your feedback is highly appreciated via , Call, Facebook and twitter.  It contains two parts:Client side and Server side.

Functional Requirements  Search: Search about hotels and details about it.  Filter: filter hotels based on the distance, price, and stars. Requirements

Cont.  Get path: get direction to the selected hotel.  Get details: get details of a hotel such as rate, photo, room etc…

Requirements Non Functional Requirements  Usability: our application is user friendly and easy to use.  Scalability: The application can contain many users at a time and can be scalable to have more users.

Background  Our application contains three parts: 1. Database and Server side. 2. API. 3. Android Application.

Application Parts Figure ‎1 ‑ 1: connect android with database among API

Application Parts Figure ‎1 ‑ 2: connect android with database among API

Database and Server Design  Our database is My SQL database (PHP My Admin).  it contains eleven tables: - adminTable. - image Table - info Table. - restaurant Table - excluded Table. - reservation Table. -included Table. -reserve table. -room Table -Wedding Hall Table -reserve wedding Table.

Cont.  Server Languages: 1.PHP 2. JQuery 3. AJAX 4. Java Script.  MVC model pattern design.  There is one admin.  Get ability to add a hotel or delete it. And every feature for hotel such as room, photo, restaurant and wedding Hall.

Application Parts Figure ‎1 ‑ 3: connect android with database among API

API Design  We stored data and retrieved it by PHP script.  The data is sent to the server using HTTP requests.  The response from server is JSON.  The PHP scripts on the server send queries to the database to select data for a hotel, or to store data about reservation form.

Requests to the PHP Scripts:  We used Apache HttpClient library that simplifies handling HTTP requests.  We retrieved and sent data via the HttpClient class.  The HttpClient uses HttpUriRequest to send and receive data. Important subclass of HttpUriRequest are HttpGet and HttpPost.

Handling the responses of the PHP Scripts  We extracted the data that returned from the PHP scripts using JSON library.  JSON, Java Script Object Notation, is a text-based open standard designed for human readable data interchange.  The JSON format is often used for serializing and transmitting structured data over a network connection.

Cont.  We used JSON parser class that has a method which will make http request to get JSON data and returns a JSON Object.  In order to parse the JSON data we used pluggable streaming library.

Cont.  JSON Parser used for large data.  JSON Parser more faster than XML so this is better for device.  JSON is much easier and Human readable.

Application Parts Figure ‎1 ‑ 4: connect android with database among API

Android Application Our android application consist of:  Manifest File : this file contains the permissions like: - Internet Permissions. - Network State Permissions. - GPS location Permission. - GPS location Coarse Permission. - CALL_PHONE Permission. - WRITE_EXTERNAL_STORAGE Permission.

Cont.  Layout Files.  SRC folder.  Library folder.  Drawable Folder.

Technologies used in our project Firstly, we work on using Google Maps in Android.  In order to use Google Map in your application you should obtain Google Maps API Key.  Extract the MD5 fingerprint.  Use Google Places API.

Problems !!!!!!!  No Palestinian Hotels Found. we success to add places to Google Places API and retrieve it.  No Details on Google Map for Palestine found. search for another Maps.

Open Street Map IN order of using OSM in Android you need :  Using element to display the OSM in your activity.  Using the element to position the map within the activity.

Cont. Android defines a package called slf4j-android jar which includes:  MapView.  OverlayItem, Path Over Layer and MyLocationOverlay.  MapController.  ItemGestureListener.  ResourceProxy.  Tileprovider.  GeoPoint.

Cont.  We retrieve the latitude and longitude of each hotel from the database and place them on the Map as a bubble.  Support the following request: -Hotels Search. - Hotels Details. - Hotels Filtering.

GPS  We used android Location API in addition to mobile GPS in order to overcome GPS limitations and support search locally.  Android contains the android.location package which provides the API to determine the current geo position which contains: - LocationManager. - LocationProvider. - LocationListener.

Async Task  It is a class in the android that enables proper and easy use of the UI thread.  allows to perform background operations and publish results on the UI thread without having to manipulate threads and/or handlers.

Application in depth When the application starts:  Run the main activity of the application to enable the user start the application.  Press start button, then switch to the Login Activity.

Main Activity  The Map view is representing the main activity, which is the map of the current location.  It checks if the user has internet access otherwise it will ask to connect to the internet.  It brings the current location either from GPS or from Wi-Fi Access using the Location API in Android.

Wajha &Main Activities Figure1.5:Mainwajha activity

Snap shot from application Snap shot from application Figure ‎1 ‑ 7: Loading Hotels in Ramallah and Nablus cityFigure ‎1 ‑ 6: GPS activity

Snap shot from application Snap shot from application Figure ‎1 ‑ 8: Filtering activity

Snap shot from application Snap shot from application Figure ‎1 ‑ 9: Hotel information activity

Snap shot from application Snap shot from application Figure ‎1 ‑ 10: service activity

Snap shot from application Snap shot from application Figure ‎1 ‑ 11: service activity for restaurant and wedding hall

Snap shot from application Snap shot from application Figure ‎1 ‑ 12: restaurant reservation

Snap shot from application Snap shot from application Figure ‎1 ‑ 13: restaurant reservation cots..

Snap shot from application Snap shot from application Figure ‎1 ‑ 14: restaurant reservation conts….

Snap shot from application Snap shot from application Figure ‎1 ‑ 15:Wedding Hall

Snap shot from application Snap shot from application Figure ‎1 ‑ 16:Wedding Hall reservation

Snap shot from application Snap shot from application Figure ‎1 ‑ 17:Wedding Hall reservation conts….

Snap shot from application Snap shot from application Figure ‎1 ‑ 18:Photo Gallery activity

Snap shot from application Snap shot from application Figure ‎1 ‑ 19:‎Contact us dialog

Snap shot from application Snap shot from application Figure ‎1 ‑ 20:‎Room activity

Snap shot from application Snap shot from application Figure ‎1 ‑ 20:‎Room activity

Snap shot from application Snap shot from application Figure ‎1 ‑ 21:‎Room reservation

Snap shot from application Snap shot from application Figure ‎1 ‑ 22:‎Room reservation conts…

Snap shot from application Snap shot from application Figure ‎1 ‑ 23:‎Room reservation conts….

Conclusion On Server Build Database Using PHP My Admin Build server side for add hotel, room, photo, service, etc….. API Write PHP Scripts to be the interface or API between Database and Application. Final Results Application connects both to API and to Server Database OSM API's Application connects to OSM API's and connects to Distributed Database to bring the data and show it on map. Figure ‎1 ‑ 24: Methodology in the Project