SlideShare a Scribd company logo
1 of 20
ELECTRONIC TOUR GUIDE
Directed by : Haneen Droubi
APPLICATION BASICS
The application based on two basics :
 Determine the mobile direction .
 Determine the longitude and latitude after
accessing location APIs in the package
android.location .
DETERMINE THE MOBILE DIRECTION
 Android devices have built-in many types of sensors
 The Android sensor framework uses a standard 3-
axis coordinate
 You can access sensors
available on the device and
acquire raw sensor data by
using the Android sensor
Framework which is part of
the android.hardware package.
TYPE_ORIENTATION SENSOR
 In our application we need
TYPE_ORIENTATION sensor which is a sensor
Measures degrees of rotation that a device makes
around all three physical axes (x, y, z) to
Determine device position.
 available in all android platforms (Android1.5
(API Level 3) to Android 4.0 (API Level 14))
 determine a device's position relative to the
magnetic North Pole.
CONT..
 The orientation sensor return multi-dimensional
arrays
SensorEvent.values[0] Azimuth (angle
around the z-
axis).
SensorEvent.values[1] Pitch (angle
around the x-
axis).
SensorEvent.values[2] Roll (angle
around the y-
axis).
CONT..
 Value[0] is the angle between magnetic north and
the device y axis.
NORTH
D = 0
WEST
D = 270
EAST
D = 90
SOUTH
D = 180
NENW
SESW
ANDROID MOBILE LOCATION
 Android has two types of location strategies GPS
and Android's Network Location Provider.
 GPS is most accurate, but it is only works
outdoors.
 Android's Network Location Provider
determines user location using cell tower and
Wi-Fi signals, providing location information in a
way that works indoors and outdoors,
responds faster, and uses less battery power.
 The developer can use both GPS and the
Network Location Provider, or just one.
GPS
 Our application need to Determine the longitude
and latitude after accessing location APIs in the
package android.location
CONT..
 In order to receive location updates from
NETWORK_PROVIDER or GPS_PROVIDER, we
must request user permission by declaring
either the ACCESS_COARSE_LOCATION or
ACCESS_FINE_LOCATION permission,
respectively, in our Android manifest file.
 As we will use GPS_PROVIDER in our
application we need
ACCESS_FINE_LOCATION permission :
<uses-permission
android:name="android.permission.ACCESS_FINE
_LOCATION
" />
•the name of the provider
• the minimum time
interval for notifications
in milliseconds
• a callback method that
the Location Manager calls
when the user location
changes
•the minimum distance
interval for notifications,
in meters .
THE IDEA LIFE CYCLE
Many inputs and no results out tracks
•Need :
11 longitude
11 latitude
Buildings info
•Not accurate
SESW S
NNW NE
THE FINAL IDEA
 How can I Combine location and Direction to
Detect BZU Buildings Using Android Devices.
 The idea of detecting the building which the
user directed his mobile towards is:
 Dividing the map into 25 squares .
 Rearrange buildings relative to the user location
depending on the fact that (As you go north of the
equator the latitude increases and As you go east
from the prime meridian the longitude increases)
 Compute the priority for the buildings
STEP1
25 square = 5*5 matrix
READ FROM TXT FILE:
( 6 ) longitudes
( 6 )latitudes
Find column , row
Square = area[row][column]
retrieve all buildings in that
square
increase
decrease
E
S
STEP2
MyLongLong
if (Mylong >= Long) {
if (MyLat >= Lat) )
relative_Location = 2;
// 2 south west
else
relative_Location = 3 ;
//3 north west
}
Else
if (MyLat>= Lat ) {
relative_Location = 1;
//1 south east
else
relative_Location = 0 ;
//0= north east
STEP2
X =|MyLong – Long1|
Y =|MyLLat – Lat1|
∂ = tan -1
(x/y)
I have degree from sensor
AS the user directed his
mobile towards SE
B = 180 - degree
Difference1 = |B - ∂|
MyLong Long1
MyLat
CONT..
X =|MyLong – Long1|
Y =|MyLLat – Lat1|
∂ = tan -1
(x/y)
I have degree from sensor
AS the user directed his
mobile towards SE
B = 180 - degree
Difference2 = |B - ∂|
chose MIN(Diff1 , Diff2)
THE END

More Related Content

What's hot

sixth sense technology
sixth sense technologysixth sense technology
sixth sense technologyizhar khan
 
Working with Windows Phone sensors, gps and maps
Working with Windows Phone sensors, gps and mapsWorking with Windows Phone sensors, gps and maps
Working with Windows Phone sensors, gps and mapsMalin De Silva
 
iSphere - Device for 3D graphic modeling (CAD)
iSphere - Device for 3D graphic modeling (CAD)iSphere - Device for 3D graphic modeling (CAD)
iSphere - Device for 3D graphic modeling (CAD)Nitin Mohan Sharma
 
virtual reality | latest |best presentation
virtual reality | latest |best presentationvirtual reality | latest |best presentation
virtual reality | latest |best presentationvipin mishra
 
10.1109@ecs.2015.7124874
10.1109@ecs.2015.712487410.1109@ecs.2015.7124874
10.1109@ecs.2015.7124874Ganesh Raja
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
 
Human Activity Recognition in Android
Human Activity Recognition in AndroidHuman Activity Recognition in Android
Human Activity Recognition in AndroidSurbhi Jain
 
Sensors On 3d Digitization
Sensors On 3d DigitizationSensors On 3d Digitization
Sensors On 3d DigitizationRajan Kumar
 
Smartphone sensor and gesture
Smartphone sensor and gestureSmartphone sensor and gesture
Smartphone sensor and gestureBhavya5800
 

What's hot (18)

sixth sense technology
sixth sense technologysixth sense technology
sixth sense technology
 
Working with Windows Phone sensors, gps and maps
Working with Windows Phone sensors, gps and mapsWorking with Windows Phone sensors, gps and maps
Working with Windows Phone sensors, gps and maps
 
Seminar on isphere
Seminar on isphereSeminar on isphere
Seminar on isphere
 
Mobile Sensors
Mobile SensorsMobile Sensors
Mobile Sensors
 
iSphere - Device for 3D graphic modeling (CAD)
iSphere - Device for 3D graphic modeling (CAD)iSphere - Device for 3D graphic modeling (CAD)
iSphere - Device for 3D graphic modeling (CAD)
 
virtual reality | latest |best presentation
virtual reality | latest |best presentationvirtual reality | latest |best presentation
virtual reality | latest |best presentation
 
Augmented Reality
Augmented RealityAugmented Reality
Augmented Reality
 
researchPaper
researchPaperresearchPaper
researchPaper
 
10.1109@ecs.2015.7124874
10.1109@ecs.2015.712487410.1109@ecs.2015.7124874
10.1109@ecs.2015.7124874
 
final_SMART (1)
final_SMART (1)final_SMART (1)
final_SMART (1)
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
40120130406016
4012013040601640120130406016
40120130406016
 
Sensor's inside
Sensor's insideSensor's inside
Sensor's inside
 
Human Activity Recognition in Android
Human Activity Recognition in AndroidHuman Activity Recognition in Android
Human Activity Recognition in Android
 
Final
FinalFinal
Final
 
Sixth sense technology ppt
Sixth sense technology pptSixth sense technology ppt
Sixth sense technology ppt
 
Sensors On 3d Digitization
Sensors On 3d DigitizationSensors On 3d Digitization
Sensors On 3d Digitization
 
Smartphone sensor and gesture
Smartphone sensor and gestureSmartphone sensor and gesture
Smartphone sensor and gesture
 

Similar to Electronic tour guide

Android location and sensors API
Android location and sensors APIAndroid location and sensors API
Android location and sensors APIeleksdev
 
Mobile Application Development-Lecture 15 & 16.pdf
Mobile Application Development-Lecture 15 & 16.pdfMobile Application Development-Lecture 15 & 16.pdf
Mobile Application Development-Lecture 15 & 16.pdfAbdullahMunir32
 
Android gps, location services, camera and sensors - Paramvir Singh
Android gps, location services, camera and sensors - Paramvir SinghAndroid gps, location services, camera and sensors - Paramvir Singh
Android gps, location services, camera and sensors - Paramvir SinghParamvir Singh
 
Ijsartv6 i336124
Ijsartv6 i336124Ijsartv6 i336124
Ijsartv6 i336124aissmsblogs
 
Iaetsd location-based services using autonomous gps
Iaetsd location-based services using autonomous gpsIaetsd location-based services using autonomous gps
Iaetsd location-based services using autonomous gpsIaetsd Iaetsd
 
Android application to locate and track mobile phones(aaltm) an implementati...
Android application to locate and track mobile phones(aaltm)  an implementati...Android application to locate and track mobile phones(aaltm)  an implementati...
Android application to locate and track mobile phones(aaltm) an implementati...eSAT Journals
 
MOBILE PHONE SENSORS META-MODEL
MOBILE PHONE SENSORS META-MODELMOBILE PHONE SENSORS META-MODEL
MOBILE PHONE SENSORS META-MODELijasuc
 
MOBILE PHONE SENSORS META-MODEL
MOBILE PHONE SENSORS META-MODELMOBILE PHONE SENSORS META-MODEL
MOBILE PHONE SENSORS META-MODELijasuc
 
Womensecurityapp12
Womensecurityapp12Womensecurityapp12
Womensecurityapp12Aman Raj
 
Develop a native application that uses GPS location.pptx
Develop a native application that uses GPS location.pptxDevelop a native application that uses GPS location.pptx
Develop a native application that uses GPS location.pptxvishal choudhary
 
Everything About Android - Itvedant, Thane | Mumbai | Navi Mumbai
Everything About Android - Itvedant, Thane | Mumbai | Navi Mumbai Everything About Android - Itvedant, Thane | Mumbai | Navi Mumbai
Everything About Android - Itvedant, Thane | Mumbai | Navi Mumbai Itvedant
 

Similar to Electronic tour guide (20)

Android location and sensors API
Android location and sensors APIAndroid location and sensors API
Android location and sensors API
 
Mobile Application Development-Lecture 15 & 16.pdf
Mobile Application Development-Lecture 15 & 16.pdfMobile Application Development-Lecture 15 & 16.pdf
Mobile Application Development-Lecture 15 & 16.pdf
 
Week12.pdf
Week12.pdfWeek12.pdf
Week12.pdf
 
Location based services
Location based servicesLocation based services
Location based services
 
Android gps, location services, camera and sensors - Paramvir Singh
Android gps, location services, camera and sensors - Paramvir SinghAndroid gps, location services, camera and sensors - Paramvir Singh
Android gps, location services, camera and sensors - Paramvir Singh
 
Ijsartv6 i336124
Ijsartv6 i336124Ijsartv6 i336124
Ijsartv6 i336124
 
Android sensor
Android sensorAndroid sensor
Android sensor
 
Iaetsd location-based services using autonomous gps
Iaetsd location-based services using autonomous gpsIaetsd location-based services using autonomous gps
Iaetsd location-based services using autonomous gps
 
[IJET-V1I3P1] Authors :Sayli Nikumbh,Suchal Gujarathi,Shubham Pawar,S.P.Pingat
[IJET-V1I3P1] Authors :Sayli Nikumbh,Suchal Gujarathi,Shubham Pawar,S.P.Pingat[IJET-V1I3P1] Authors :Sayli Nikumbh,Suchal Gujarathi,Shubham Pawar,S.P.Pingat
[IJET-V1I3P1] Authors :Sayli Nikumbh,Suchal Gujarathi,Shubham Pawar,S.P.Pingat
 
Android application to locate and track mobile phones(aaltm) an implementati...
Android application to locate and track mobile phones(aaltm)  an implementati...Android application to locate and track mobile phones(aaltm)  an implementati...
Android application to locate and track mobile phones(aaltm) an implementati...
 
MOBILE PHONE SENSORS META-MODEL
MOBILE PHONE SENSORS META-MODELMOBILE PHONE SENSORS META-MODEL
MOBILE PHONE SENSORS META-MODEL
 
MOBILE PHONE SENSORS META-MODEL
MOBILE PHONE SENSORS META-MODELMOBILE PHONE SENSORS META-MODEL
MOBILE PHONE SENSORS META-MODEL
 
Womensecurityapp12
Womensecurityapp12Womensecurityapp12
Womensecurityapp12
 
MAD Unit 6.pptx
MAD Unit 6.pptxMAD Unit 6.pptx
MAD Unit 6.pptx
 
50120140501008
5012014050100850120140501008
50120140501008
 
Ijecet 06 10_003
Ijecet 06 10_003Ijecet 06 10_003
Ijecet 06 10_003
 
Develop a native application that uses GPS location.pptx
Develop a native application that uses GPS location.pptxDevelop a native application that uses GPS location.pptx
Develop a native application that uses GPS location.pptx
 
Everything About Android - Itvedant, Thane | Mumbai | Navi Mumbai
Everything About Android - Itvedant, Thane | Mumbai | Navi Mumbai Everything About Android - Itvedant, Thane | Mumbai | Navi Mumbai
Everything About Android - Itvedant, Thane | Mumbai | Navi Mumbai
 
Blind shoes
Blind shoesBlind shoes
Blind shoes
 
Mobile GPS Tracking
Mobile GPS TrackingMobile GPS Tracking
Mobile GPS Tracking
 

More from Haneen Droubi

كتاب البرمجة للصف الثامن - منهاج التكنولوجيا الفلسطيني الجديد
كتاب البرمجة للصف الثامن - منهاج التكنولوجيا الفلسطيني الجديدكتاب البرمجة للصف الثامن - منهاج التكنولوجيا الفلسطيني الجديد
كتاب البرمجة للصف الثامن - منهاج التكنولوجيا الفلسطيني الجديدHaneen Droubi
 
كتاب البرمجة للصف الخامس - منهاج التكنولوجيا الفلسطيني الجديد
كتاب البرمجة للصف الخامس - منهاج التكنولوجيا الفلسطيني الجديدكتاب البرمجة للصف الخامس - منهاج التكنولوجيا الفلسطيني الجديد
كتاب البرمجة للصف الخامس - منهاج التكنولوجيا الفلسطيني الجديدHaneen Droubi
 
كتاب البرمجة للصف السابع - منهاج التكنولوجيا الفلسطيني الجديد
كتاب البرمجة للصف السابع - منهاج التكنولوجيا الفلسطيني الجديدكتاب البرمجة للصف السابع - منهاج التكنولوجيا الفلسطيني الجديد
كتاب البرمجة للصف السابع - منهاج التكنولوجيا الفلسطيني الجديدHaneen Droubi
 
دوسية التكنولوجيا للصف العاشر 2017
دوسية التكنولوجيا للصف العاشر 2017دوسية التكنولوجيا للصف العاشر 2017
دوسية التكنولوجيا للصف العاشر 2017Haneen Droubi
 
الملحق العملي لقواعد البيانات - تكنولوجيا الصف العاشر
الملحق العملي لقواعد البيانات - تكنولوجيا الصف العاشرالملحق العملي لقواعد البيانات - تكنولوجيا الصف العاشر
الملحق العملي لقواعد البيانات - تكنولوجيا الصف العاشرHaneen Droubi
 
منهاج التكنولوجيا - الصف الخامس
منهاج التكنولوجيا - الصف الخامس منهاج التكنولوجيا - الصف الخامس
منهاج التكنولوجيا - الصف الخامس Haneen Droubi
 
منهاج التكنولوجيا أول ثانوي 2017
منهاج التكنولوجيا أول ثانوي 2017منهاج التكنولوجيا أول ثانوي 2017
منهاج التكنولوجيا أول ثانوي 2017Haneen Droubi
 
تكنولوجيا عاشر 2017
تكنولوجيا عاشر 2017تكنولوجيا عاشر 2017
تكنولوجيا عاشر 2017Haneen Droubi
 
تكنولوجيا أول ثانوي - منهاج جديد
تكنولوجيا أول ثانوي - منهاج جديدتكنولوجيا أول ثانوي - منهاج جديد
تكنولوجيا أول ثانوي - منهاج جديدHaneen Droubi
 
دليل التكنولوجيا - الصف الخامس
دليل التكنولوجيا - الصف الخامس دليل التكنولوجيا - الصف الخامس
دليل التكنولوجيا - الصف الخامس Haneen Droubi
 
دليل التكنولوجيا - الصف السادس
دليل التكنولوجيا - الصف السادس دليل التكنولوجيا - الصف السادس
دليل التكنولوجيا - الصف السادس Haneen Droubi
 
دليل التكنولوجيا - الصف السابع
دليل التكنولوجيا - الصف السابع دليل التكنولوجيا - الصف السابع
دليل التكنولوجيا - الصف السابع Haneen Droubi
 
دليل التكنولوجيا - الصف الثامن
دليل التكنولوجيا - الصف الثامن دليل التكنولوجيا - الصف الثامن
دليل التكنولوجيا - الصف الثامن Haneen Droubi
 
اجابات درس افاق مستقبلية و اسئلة الوحدة للصف العاشر
اجابات درس افاق مستقبلية  و اسئلة الوحدة للصف العاشراجابات درس افاق مستقبلية  و اسئلة الوحدة للصف العاشر
اجابات درس افاق مستقبلية و اسئلة الوحدة للصف العاشرHaneen Droubi
 
Techniques that Facebook use to Analyze and QuerySocial Graphs
Techniques that Facebook use to Analyze and QuerySocial GraphsTechniques that Facebook use to Analyze and QuerySocial Graphs
Techniques that Facebook use to Analyze and QuerySocial GraphsHaneen Droubi
 
ملحق قواعد البايانات - تكنولوجيا الصف العاشر
ملحق قواعد البايانات - تكنولوجيا الصف العاشرملحق قواعد البايانات - تكنولوجيا الصف العاشر
ملحق قواعد البايانات - تكنولوجيا الصف العاشرHaneen Droubi
 
الصف التاسع - اجابات انشطة وأسئلة وحدة البرمجة في الحاسوب والحياة
 الصف التاسع -  اجابات انشطة وأسئلة وحدة البرمجة في الحاسوب والحياة  الصف التاسع -  اجابات انشطة وأسئلة وحدة البرمجة في الحاسوب والحياة
الصف التاسع - اجابات انشطة وأسئلة وحدة البرمجة في الحاسوب والحياة Haneen Droubi
 
دليل المعلم لشرح وتركيب جميع دارات الصف التاسع واجابات اسئلة الكتاب
دليل المعلم لشرح وتركيب جميع دارات الصف التاسع   واجابات اسئلة الكتابدليل المعلم لشرح وتركيب جميع دارات الصف التاسع   واجابات اسئلة الكتاب
دليل المعلم لشرح وتركيب جميع دارات الصف التاسع واجابات اسئلة الكتابHaneen Droubi
 
استدراكي - تكنولوجيا عاشر
استدراكي -  تكنولوجيا  عاشراستدراكي -  تكنولوجيا  عاشر
استدراكي - تكنولوجيا عاشرHaneen Droubi
 

More from Haneen Droubi (19)

كتاب البرمجة للصف الثامن - منهاج التكنولوجيا الفلسطيني الجديد
كتاب البرمجة للصف الثامن - منهاج التكنولوجيا الفلسطيني الجديدكتاب البرمجة للصف الثامن - منهاج التكنولوجيا الفلسطيني الجديد
كتاب البرمجة للصف الثامن - منهاج التكنولوجيا الفلسطيني الجديد
 
كتاب البرمجة للصف الخامس - منهاج التكنولوجيا الفلسطيني الجديد
كتاب البرمجة للصف الخامس - منهاج التكنولوجيا الفلسطيني الجديدكتاب البرمجة للصف الخامس - منهاج التكنولوجيا الفلسطيني الجديد
كتاب البرمجة للصف الخامس - منهاج التكنولوجيا الفلسطيني الجديد
 
كتاب البرمجة للصف السابع - منهاج التكنولوجيا الفلسطيني الجديد
كتاب البرمجة للصف السابع - منهاج التكنولوجيا الفلسطيني الجديدكتاب البرمجة للصف السابع - منهاج التكنولوجيا الفلسطيني الجديد
كتاب البرمجة للصف السابع - منهاج التكنولوجيا الفلسطيني الجديد
 
دوسية التكنولوجيا للصف العاشر 2017
دوسية التكنولوجيا للصف العاشر 2017دوسية التكنولوجيا للصف العاشر 2017
دوسية التكنولوجيا للصف العاشر 2017
 
الملحق العملي لقواعد البيانات - تكنولوجيا الصف العاشر
الملحق العملي لقواعد البيانات - تكنولوجيا الصف العاشرالملحق العملي لقواعد البيانات - تكنولوجيا الصف العاشر
الملحق العملي لقواعد البيانات - تكنولوجيا الصف العاشر
 
منهاج التكنولوجيا - الصف الخامس
منهاج التكنولوجيا - الصف الخامس منهاج التكنولوجيا - الصف الخامس
منهاج التكنولوجيا - الصف الخامس
 
منهاج التكنولوجيا أول ثانوي 2017
منهاج التكنولوجيا أول ثانوي 2017منهاج التكنولوجيا أول ثانوي 2017
منهاج التكنولوجيا أول ثانوي 2017
 
تكنولوجيا عاشر 2017
تكنولوجيا عاشر 2017تكنولوجيا عاشر 2017
تكنولوجيا عاشر 2017
 
تكنولوجيا أول ثانوي - منهاج جديد
تكنولوجيا أول ثانوي - منهاج جديدتكنولوجيا أول ثانوي - منهاج جديد
تكنولوجيا أول ثانوي - منهاج جديد
 
دليل التكنولوجيا - الصف الخامس
دليل التكنولوجيا - الصف الخامس دليل التكنولوجيا - الصف الخامس
دليل التكنولوجيا - الصف الخامس
 
دليل التكنولوجيا - الصف السادس
دليل التكنولوجيا - الصف السادس دليل التكنولوجيا - الصف السادس
دليل التكنولوجيا - الصف السادس
 
دليل التكنولوجيا - الصف السابع
دليل التكنولوجيا - الصف السابع دليل التكنولوجيا - الصف السابع
دليل التكنولوجيا - الصف السابع
 
دليل التكنولوجيا - الصف الثامن
دليل التكنولوجيا - الصف الثامن دليل التكنولوجيا - الصف الثامن
دليل التكنولوجيا - الصف الثامن
 
اجابات درس افاق مستقبلية و اسئلة الوحدة للصف العاشر
اجابات درس افاق مستقبلية  و اسئلة الوحدة للصف العاشراجابات درس افاق مستقبلية  و اسئلة الوحدة للصف العاشر
اجابات درس افاق مستقبلية و اسئلة الوحدة للصف العاشر
 
Techniques that Facebook use to Analyze and QuerySocial Graphs
Techniques that Facebook use to Analyze and QuerySocial GraphsTechniques that Facebook use to Analyze and QuerySocial Graphs
Techniques that Facebook use to Analyze and QuerySocial Graphs
 
ملحق قواعد البايانات - تكنولوجيا الصف العاشر
ملحق قواعد البايانات - تكنولوجيا الصف العاشرملحق قواعد البايانات - تكنولوجيا الصف العاشر
ملحق قواعد البايانات - تكنولوجيا الصف العاشر
 
الصف التاسع - اجابات انشطة وأسئلة وحدة البرمجة في الحاسوب والحياة
 الصف التاسع -  اجابات انشطة وأسئلة وحدة البرمجة في الحاسوب والحياة  الصف التاسع -  اجابات انشطة وأسئلة وحدة البرمجة في الحاسوب والحياة
الصف التاسع - اجابات انشطة وأسئلة وحدة البرمجة في الحاسوب والحياة
 
دليل المعلم لشرح وتركيب جميع دارات الصف التاسع واجابات اسئلة الكتاب
دليل المعلم لشرح وتركيب جميع دارات الصف التاسع   واجابات اسئلة الكتابدليل المعلم لشرح وتركيب جميع دارات الصف التاسع   واجابات اسئلة الكتاب
دليل المعلم لشرح وتركيب جميع دارات الصف التاسع واجابات اسئلة الكتاب
 
استدراكي - تكنولوجيا عاشر
استدراكي -  تكنولوجيا  عاشراستدراكي -  تكنولوجيا  عاشر
استدراكي - تكنولوجيا عاشر
 

Recently uploaded

Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 

Recently uploaded (20)

Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 

Electronic tour guide

  • 1. ELECTRONIC TOUR GUIDE Directed by : Haneen Droubi
  • 2. APPLICATION BASICS The application based on two basics :  Determine the mobile direction .  Determine the longitude and latitude after accessing location APIs in the package android.location .
  • 3. DETERMINE THE MOBILE DIRECTION  Android devices have built-in many types of sensors  The Android sensor framework uses a standard 3- axis coordinate  You can access sensors available on the device and acquire raw sensor data by using the Android sensor Framework which is part of the android.hardware package.
  • 4. TYPE_ORIENTATION SENSOR  In our application we need TYPE_ORIENTATION sensor which is a sensor Measures degrees of rotation that a device makes around all three physical axes (x, y, z) to Determine device position.  available in all android platforms (Android1.5 (API Level 3) to Android 4.0 (API Level 14))  determine a device's position relative to the magnetic North Pole.
  • 5. CONT..  The orientation sensor return multi-dimensional arrays SensorEvent.values[0] Azimuth (angle around the z- axis). SensorEvent.values[1] Pitch (angle around the x- axis). SensorEvent.values[2] Roll (angle around the y- axis).
  • 6. CONT..  Value[0] is the angle between magnetic north and the device y axis.
  • 7. NORTH D = 0 WEST D = 270 EAST D = 90 SOUTH D = 180 NENW SESW
  • 8. ANDROID MOBILE LOCATION  Android has two types of location strategies GPS and Android's Network Location Provider.  GPS is most accurate, but it is only works outdoors.  Android's Network Location Provider determines user location using cell tower and Wi-Fi signals, providing location information in a way that works indoors and outdoors, responds faster, and uses less battery power.  The developer can use both GPS and the Network Location Provider, or just one.
  • 9. GPS  Our application need to Determine the longitude and latitude after accessing location APIs in the package android.location
  • 10. CONT..  In order to receive location updates from NETWORK_PROVIDER or GPS_PROVIDER, we must request user permission by declaring either the ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission, respectively, in our Android manifest file.  As we will use GPS_PROVIDER in our application we need ACCESS_FINE_LOCATION permission : <uses-permission android:name="android.permission.ACCESS_FINE _LOCATION " />
  • 11. •the name of the provider • the minimum time interval for notifications in milliseconds • a callback method that the Location Manager calls when the user location changes •the minimum distance interval for notifications, in meters .
  • 12. THE IDEA LIFE CYCLE Many inputs and no results out tracks
  • 13. •Need : 11 longitude 11 latitude Buildings info •Not accurate
  • 15. THE FINAL IDEA  How can I Combine location and Direction to Detect BZU Buildings Using Android Devices.  The idea of detecting the building which the user directed his mobile towards is:  Dividing the map into 25 squares .  Rearrange buildings relative to the user location depending on the fact that (As you go north of the equator the latitude increases and As you go east from the prime meridian the longitude increases)  Compute the priority for the buildings
  • 16. STEP1 25 square = 5*5 matrix READ FROM TXT FILE: ( 6 ) longitudes ( 6 )latitudes Find column , row Square = area[row][column] retrieve all buildings in that square increase decrease E S
  • 17. STEP2 MyLongLong if (Mylong >= Long) { if (MyLat >= Lat) ) relative_Location = 2; // 2 south west else relative_Location = 3 ; //3 north west } Else if (MyLat>= Lat ) { relative_Location = 1; //1 south east else relative_Location = 0 ; //0= north east
  • 18. STEP2 X =|MyLong – Long1| Y =|MyLLat – Lat1| ∂ = tan -1 (x/y) I have degree from sensor AS the user directed his mobile towards SE B = 180 - degree Difference1 = |B - ∂| MyLong Long1 MyLat
  • 19. CONT.. X =|MyLong – Long1| Y =|MyLLat – Lat1| ∂ = tan -1 (x/y) I have degree from sensor AS the user directed his mobile towards SE B = 180 - degree Difference2 = |B - ∂| chose MIN(Diff1 , Diff2)